M$ AspNet.WebApi 2.2
Testé avec mono current sous Debian Sid: l'import AspNet.WebApi 2.2
This commit is contained in:
parent
d40679cdf4
commit
1f64b48966
97 changed files with 7890 additions and 9323 deletions
43
web/Models/Identity/AccountViewModels.cs
Normal file
43
web/Models/Identity/AccountViewModels.cs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Models.Identity
|
||||
{
|
||||
// Models returned by AccountController actions.
|
||||
|
||||
public class ExternalLoginViewModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Url { get; set; }
|
||||
|
||||
public string State { get; set; }
|
||||
}
|
||||
|
||||
public class ManageInfoViewModel
|
||||
{
|
||||
public string LocalLoginProvider { get; set; }
|
||||
|
||||
public string Email { get; set; }
|
||||
|
||||
public IEnumerable<UserLoginInfoViewModel> Logins { get; set; }
|
||||
|
||||
public IEnumerable<ExternalLoginViewModel> ExternalLoginProviders { get; set; }
|
||||
}
|
||||
|
||||
public class UserInfoViewModel
|
||||
{
|
||||
public string Email { get; set; }
|
||||
|
||||
public bool HasRegistered { get; set; }
|
||||
|
||||
public string LoginProvider { get; set; }
|
||||
}
|
||||
|
||||
public class UserLoginInfoViewModel
|
||||
{
|
||||
public string LoginProvider { get; set; }
|
||||
|
||||
public string ProviderKey { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue