Two things:
* User views its devices, from a /manage index link * Yavsc.Server resurection
This commit is contained in:
parent
a825fa48c8
commit
b962d58ded
201 changed files with 3756 additions and 502 deletions
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; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue