메소드 | 설명 | |
---|---|---|
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 | |
리턴 | System |
public Authenticate ( string username, string password ) : bool | ||
username | string | |
password | string | |
리턴 | bool |
public Create ( string email, string password ) : |
||
string | ||
password | string | |
리턴 |
public GenerateSaltedPassword ( string password, string salt ) : string | ||
password | string | |
salt | string | |
리턴 | string |