C# Class Gablarski.Server.GuestUserProvider

Inheritance: IUserProvider
Datei anzeigen Open project: ermau/Gablarski Class Usage Examples

Public Methods

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

Private Methods

Method Description
OnBansChanged ( ) : void

Method Details

AddBan() public method

public AddBan ( BanInfo ban ) : void
ban BanInfo
return void

ApproveRegistration() public method

public ApproveRegistration ( string username ) : void
username string
return void

GetAwaitingRegistrations() public method

public GetAwaitingRegistrations ( ) : IEnumerable
return IEnumerable

GetBans() public method

public GetBans ( ) : IEnumerable
return IEnumerable

GetUsers() public method

public GetUsers ( ) : IEnumerable
return IEnumerable

Login() public method

public Login ( string username, string password ) : LoginResult
username string
password string
return LoginResult

Register() public method

public Register ( string username, string password ) : RegisterResult
username string
password string
return RegisterResult

RejectRegistration() public method

public RejectRegistration ( string username ) : void
username string
return void

RemoveBan() public method

public RemoveBan ( BanInfo ban ) : void
ban BanInfo
return void

UserExists() public method

public UserExists ( string username ) : bool
username string
return bool