Method | 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 |
Method | 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 | |
return | void |
public GetAwaitingRegistrations ( ) : IEnumerable |
||
return | IEnumerable |
public Login ( string username, string password ) : LoginResult | ||
username | string | |
password | string | |
return | LoginResult |
public Register ( string username, string password ) : RegisterResult | ||
username | string | |
password | string | |
return | RegisterResult |
public RejectRegistration ( string username ) : void | ||
username | string | |
return | void |