Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public GetAwaitingRegistrations ( ) : IEnumerable |
||
Результат | IEnumerable |
public Login ( string username, string password ) : LoginResult | ||
username | string | |
password | string | |
Результат | LoginResult |
public Register ( string username, string password ) : RegisterResult | ||
username | string | |
password | string | |
Результат | RegisterResult |
public RejectRegistration ( string username ) : void | ||
username | string | |
Результат | void |
public UserExists ( string username ) : bool | ||
username | string | |
Результат | bool |