메소드 | 설명 | |
---|---|---|
AddUser ( string username, string password ) : bool | ||
GetUserFromApiKey ( string apiKey ) : IUserIdentity | ||
GetUserId ( string username ) : int | ||
LoginUser ( string username, string password ) : string | ||
RemoveApiKey ( string apiKey ) : void | ||
RemoveUser ( int userid ) : bool | ||
SetFullName ( int userid, string fullname ) : bool | ||
SetPassword ( int userid, string password ) : bool |
메소드 | 설명 | |
---|---|---|
UserDatabase ( ) : System |
public static AddUser ( string username, string password ) : bool | ||
username | string | |
password | string | |
리턴 | bool |
public static GetUserFromApiKey ( string apiKey ) : IUserIdentity | ||
apiKey | string | |
리턴 | IUserIdentity |
public static LoginUser ( string username, string password ) : string | ||
username | string | |
password | string | |
리턴 | string |
public static SetFullName ( int userid, string fullname ) : bool | ||
userid | int | |
fullname | string | |
리턴 | bool |
public static SetPassword ( int userid, string password ) : bool | ||
userid | int | |
password | string | |
리턴 | bool |