C# 클래스 Gablarski.LocalServer.UserProvider

상속: IUserProvider
파일 보기 프로젝트 열기: ermau/Gablarski

공개 메소드들

메소드 설명
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

메소드 상세

AddBan() 공개 메소드

public AddBan ( BanInfo ban ) : void
ban BanInfo
리턴 void

ApproveRegistration() 공개 메소드

public ApproveRegistration ( string username ) : void
username string
리턴 void

GetAwaitingRegistrations() 공개 메소드

public GetAwaitingRegistrations ( ) : IEnumerable
리턴 IEnumerable

GetBans() 공개 메소드

public GetBans ( ) : IEnumerable
리턴 IEnumerable

GetUsers() 공개 메소드

public GetUsers ( ) : IEnumerable
리턴 IEnumerable

Login() 공개 메소드

public Login ( string username, string password ) : LoginResult
username string
password string
리턴 LoginResult

Register() 공개 메소드

public Register ( string username, string password ) : RegisterResult
username string
password string
리턴 RegisterResult

RejectRegistration() 공개 메소드

public RejectRegistration ( string username ) : void
username string
리턴 void

RemoveBan() 공개 메소드

public RemoveBan ( BanInfo ban ) : void
ban BanInfo
리턴 void

UserExists() 공개 메소드

public UserExists ( string username ) : bool
username string
리턴 bool