Method | Description | |
---|---|---|
GetUserID ( string loginToken ) : Guid? | ||
JsonUserService ( string rootPath ) : System | ||
TryLogin ( string email, string password, string &loginToken ) : bool | ||
TryRegister ( string email, string password, string &loginToken ) : bool |
尝试注册一个用户
|
|
TryResetPassword ( string loginToken, string oldPassword, string newPassword ) : bool |
尝试重设用户密码
|
Method | Description | |
---|---|---|
CreateLoginToken ( System.Guid userID, string email ) : string | ||
EncryptPassword ( string password ) : string | ||
GetFilepath ( string email ) : string | ||
LoadLoginData ( string loginToken ) : Newtonsoft.Json.Linq.JObject | ||
LoadUserData ( string email ) : dynamic |
public GetUserID ( string loginToken ) : Guid? | ||
loginToken | string | |
return | Guid? |
public JsonUserService ( string rootPath ) : System | ||
rootPath | string | |
return | System |
public TryLogin ( string email, string password, string &loginToken ) : bool | ||
string | ||
password | string | |
loginToken | string | |
return | bool |
public TryRegister ( string email, string password, string &loginToken ) : bool | ||
string | 邮箱 | |
password | string | 密码 |
loginToken | string | |
return | bool |
public TryResetPassword ( string loginToken, string oldPassword, string newPassword ) : bool | ||
loginToken | string | |
oldPassword | string | |
newPassword | string | |
return | bool |