Méthode | Description | |
---|---|---|
AddBan ( BanInfo ban ) : void | ||
ApproveRegistration ( string username ) : void | ||
GetAwaitingRegistrations ( ) : IEnumerable |
||
GetBans ( ) : IEnumerable |
||
GetUsers ( ) : IEnumerable |
||
Login ( string username, string password ) : LoginResult | ||
Register ( string username, string password ) : RegisterResult | ||
RejectRegistration ( string username ) : void | ||
RemoveBan ( BanInfo ban ) : void | ||
UserExists ( string username ) : bool |
Méthode | Description | |
---|---|---|
CreateUser ( ISession session, string username, string hashedPassword ) : void | ||
HashPassword ( string password ) : string | ||
UserExists ( ISession session, string username ) : bool |
public ApproveRegistration ( string username ) : void | ||
username | string | |
Résultat | void |
public GetAwaitingRegistrations ( ) : IEnumerable |
||
Résultat | IEnumerable |
public Login ( string username, string password ) : LoginResult | ||
username | string | |
password | string | |
Résultat | LoginResult |
public Register ( string username, string password ) : RegisterResult | ||
username | string | |
password | string | |
Résultat | RegisterResult |
public RejectRegistration ( string username ) : void | ||
username | string | |
Résultat | void |
public UserExists ( string username ) : bool | ||
username | string | |
Résultat | bool |