Two things:
* User views its devices, from a /manage index link * Yavsc.Server resurection
This commit is contained in:
10
Yavsc.Server/ViewModels/Auth/AuthorisationView.cs
Normal file
10
Yavsc.Server/ViewModels/Auth/AuthorisationView.cs
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
namespace Yavsc.Models.Auth
|
||||
{
|
||||
public class AuthorisationView {
|
||||
public Scope[] Scopes { get; set; }
|
||||
public string Message { get; set; }
|
||||
|
||||
}
|
||||
}
|
10
Yavsc.Server/ViewModels/Auth/ClaimTypes.cs
Normal file
10
Yavsc.Server/ViewModels/Auth/ClaimTypes.cs
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
|
||||
namespace Yavsc {
|
||||
public static class YavscClaimTypes {
|
||||
|
||||
public const string GoogleUserId = "GoogleUserId";
|
||||
}
|
||||
|
||||
}
|
11
Yavsc.Server/ViewModels/Auth/ViewFileContext.cs
Normal file
11
Yavsc.Server/ViewModels/Auth/ViewFileContext.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using Microsoft.AspNet.FileProviders;
|
||||
|
||||
namespace Yavsc.ViewModels.Auth
|
||||
{
|
||||
public class ViewFileContext
|
||||
{
|
||||
public string UserName { get; set; }
|
||||
public IFileInfo File { get; set; }
|
||||
public string Path { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user