Method | Description | |
---|---|---|
ChangePassword ( int id, string oldPassword, string newPassword ) : bool | ||
CheckAndClearVerificationToken ( int id, |
||
CheckAndClearVerificationToken ( int id, |
||
CheckVerificationToken ( int id, |
||
CheckVerificationToken ( int id, |
||
LoadUserData ( int id ) : |
||
LoadUserData ( string email ) : |
||
Login ( string email, string password ) : LoginResult | ||
Login ( string email, string password, int &id ) : LoginResult | ||
Register ( string email, string password, |
||
Register ( string email, string password, |
||
ResetVerificationToken ( string email, |
||
ResetVerificationToken ( string email, |
||
SetBlocked ( int id, bool blocked ) : void | ||
UserManager ( Func |
||
UserManager ( IConnectionFactory connectionFactory, IPasswordHasher hasher = null ) : System | ||
UserManager ( string providerName, string connectionString, IPasswordHasher hasher = null ) : System |
Initializes a new instance of the UserManager class with a database provider invariant name, a connection string and a password hasher.
|
Method | Description | |
---|---|---|
AreNotNullAndEqual ( byte a, byte b ) : bool | ||
CreateUserData ( dynamic data ) : |
||
ValidateAndNormalizeEmail ( string &email ) : bool | ||
ValidatePassword ( string password ) : bool | ||
ValidateUserInfo ( dynamic userInfo, string password, int &id ) : LoginResult | ||
VerifyToken ( dynamic data, |
public ChangePassword ( int id, string oldPassword, string newPassword ) : bool | ||
id | int | |
oldPassword | string | |
newPassword | string | |
return | bool |
public CheckAndClearVerificationToken ( int id, |
||
id | int | |
token | ||
newPassword | string | |
return | VerifyResult |
public CheckAndClearVerificationToken ( int id, |
||
id | int | |
token | ||
string | ||
newPassword | string | |
return | VerifyResult |
public CheckVerificationToken ( int id, |
||
id | int | |
token | ||
return | VerifyResult |
public CheckVerificationToken ( int id, |
||
id | int | |
token | ||
string | ||
return | VerifyResult |
public LoadUserData ( string email ) : |
||
string | ||
return |
public Login ( string email, string password ) : LoginResult | ||
string | ||
password | string | |
return | LoginResult |
public Login ( string email, string password, int &id ) : LoginResult | ||
string | ||
password | string | |
id | int | |
return | LoginResult |
public Register ( string email, string password, |
||
string | ||
password | string | |
token | ||
return | RegisterResult |
public Register ( string email, string password, |
||
string | ||
password | string | |
token | ||
id | int | |
return | RegisterResult |
public ResetVerificationToken ( string email, |
||
string | ||
token | ||
return | VerifyResult |
public ResetVerificationToken ( string email, |
||
string | ||
token | ||
id | int | |
return | VerifyResult |
public SetBlocked ( int id, bool blocked ) : void | ||
id | int | |
blocked | bool | |
return | void |
public UserManager ( Func |
||
connectionFactory | Func |
|
hasher | IPasswordHasher | |
return | System |
public UserManager ( IConnectionFactory connectionFactory, IPasswordHasher hasher = null ) : System | ||
connectionFactory | IConnectionFactory | |
hasher | IPasswordHasher | |
return | System |
public UserManager ( string providerName, string connectionString, IPasswordHasher hasher = null ) : System | ||
providerName | string | Invariant name of a provider. Used to get a used to get |
connectionString | string | Connection string to connect to the database. |
hasher | IPasswordHasher | Password hashing strategy. |
return | System |