Inheritance
System.Object
AppUser
Namespace:InfinniPlatform.Auth
Assembly:InfinniPlatform.Auth.dll
public class AppUser : Document
Constructors
|
Improve this Doc
View Source
Declaration
Properties
|
Improve this Doc
View Source
Declaration
public int AccessFailedCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public List<AppUserClaim> Claims { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string Email { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public bool EmailConfirmed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public string Id { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public bool LockoutEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public DateTime? LockoutEndDateUtc { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|
|
Improve this Doc
View Source
Declaration
public List<AppUserLogin> Logins { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string NormalizedEmail { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string NormalizedUserName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string PasswordHash { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string PhoneNumber { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public bool PhoneNumberConfirmed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public List<string> Roles { get; set; }
Property Value
Type |
Description |
List<System.String> |
|
|
Improve this Doc
View Source
Declaration
public string SecurityStamp { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public List<AppUserToken> Tokens { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool TwoFactorEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public string UserName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Declaration
public void AddClaim(Claim claim)
Parameters
Type |
Name |
Description |
Claim |
claim |
|
|
Improve this Doc
View Source
Declaration
public void AddLogin(UserLoginInfo login)
Parameters
Type |
Name |
Description |
UserLoginInfo |
login |
|
|
Improve this Doc
View Source
Declaration
public void AddRole(string role)
Parameters
Type |
Name |
Description |
System.String |
role |
|
|
Improve this Doc
View Source
Declaration
public string GetTokenValue(string loginProider, string name)
Parameters
Type |
Name |
Description |
System.String |
loginProider |
|
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public bool HasPassword()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public void RemoveClaim(Claim claim)
Parameters
Type |
Name |
Description |
Claim |
claim |
|
|
Improve this Doc
View Source
Declaration
public void RemoveLogin(string loginProvider, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
loginProvider |
|
System.String |
providerKey |
|
|
Improve this Doc
View Source
Declaration
public void RemoveRole(string role)
Parameters
Type |
Name |
Description |
System.String |
role |
|
|
Improve this Doc
View Source
Declaration
public void RemoveToken(string loginProvider, string name)
Parameters
Type |
Name |
Description |
System.String |
loginProvider |
|
System.String |
name |
|
|
Improve this Doc
View Source
Declaration
public void ReplaceClaim(Claim existingClaim, Claim newClaim)
Parameters
Type |
Name |
Description |
Claim |
existingClaim |
|
Claim |
newClaim |
|
|
Improve this Doc
View Source
Declaration
public void SetToken(string loginProider, string name, string value)
Parameters
Type |
Name |
Description |
System.String |
loginProider |
|
System.String |
name |
|
System.String |
value |
|
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Extension Methods