Méthode | 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.
|
Méthode | 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 | |
Résultat | bool |
public CheckAndClearVerificationToken ( int id, |
||
id | int | |
token | ||
newPassword | string | |
Résultat | VerifyResult |
public CheckAndClearVerificationToken ( int id, |
||
id | int | |
token | ||
string | ||
newPassword | string | |
Résultat | VerifyResult |
public CheckVerificationToken ( int id, |
||
id | int | |
token | ||
Résultat | VerifyResult |
public CheckVerificationToken ( int id, |
||
id | int | |
token | ||
string | ||
Résultat | VerifyResult |
public LoadUserData ( string email ) : |
||
string | ||
Résultat |
public Login ( string email, string password ) : LoginResult | ||
string | ||
password | string | |
Résultat | LoginResult |
public Login ( string email, string password, int &id ) : LoginResult | ||
string | ||
password | string | |
id | int | |
Résultat | LoginResult |
public Register ( string email, string password, |
||
string | ||
password | string | |
token | ||
Résultat | RegisterResult |
public Register ( string email, string password, |
||
string | ||
password | string | |
token | ||
id | int | |
Résultat | RegisterResult |
public ResetVerificationToken ( string email, |
||
string | ||
token | ||
Résultat | VerifyResult |
public ResetVerificationToken ( string email, |
||
string | ||
token | ||
id | int | |
Résultat | VerifyResult |
public SetBlocked ( int id, bool blocked ) : void | ||
id | int | |
blocked | bool | |
Résultat | void |
public UserManager ( Func |
||
connectionFactory | Func |
|
hasher | IPasswordHasher | |
Résultat | System |
public UserManager ( IConnectionFactory connectionFactory, IPasswordHasher hasher = null ) : System | ||
connectionFactory | IConnectionFactory | |
hasher | IPasswordHasher | |
Résultat | 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. |
Résultat | System |