Méthode | Description | |
---|---|---|
AccountService ( IRepository repository ) : System | ||
Authenticate ( string username, string password ) : bool | ||
Create ( string email, string password ) : |
||
GenerateSalt ( int bufferSize = 40 ) : string | ||
GenerateSaltedPassword ( string password, string salt ) : string |
public AccountService ( IRepository repository ) : System | ||
repository | IRepository | |
Résultat | System |
public Authenticate ( string username, string password ) : bool | ||
username | string | |
password | string | |
Résultat | bool |
public Create ( string email, string password ) : |
||
string | ||
password | string | |
Résultat |
public GenerateSalt ( int bufferSize = 40 ) : string | ||
bufferSize | int | |
Résultat | string |
public GenerateSaltedPassword ( string password, string salt ) : string | ||
password | string | |
salt | string | |
Résultat | string |