Свойство | Тип | Описание | |
---|---|---|---|
m_Database | IAuthenticationData | ||
m_authenticateUsers | bool |
Метод | Описание | |
---|---|---|
CheckExists ( UUID principalID, string authType ) : bool |
Checks is a user exists.
|
|
Release ( UUID principalID, string token, string authType ) : bool | ||
Remove ( UUID principalID, string authType ) : bool |
Remove the specified user.
|
|
SetPassword ( UUID principalID, string authType, string password ) : bool |
Sets the password for a user. Password is saved as an md5 hash
|
|
SetPasswordHashed ( UUID principalID, string authType, string passHash ) : bool |
Sets a hashed password for a user (default use).
|
|
SetPlainPassword ( UUID principalID, string authType, string pass ) : bool |
Sets a plain password for a user.
|
|
SetSaltedPassword ( UUID principalID, string authType, string passHash, string saltHash ) : bool |
Sets the salted password for a user.
|
|
Verify ( UUID principalID, string authType, string token, int lifetime ) : bool |
Метод | Описание | |
---|---|---|
GetToken ( UUID principalID, int lifetime ) : string |
Метод | Описание | |
---|---|---|
SaveAuth ( WhiteCore.Framework.Services.AuthData auth, UUID principalID ) : bool |
public CheckExists ( UUID principalID, string authType ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
Результат | bool |
protected GetToken ( UUID principalID, int lifetime ) : string | ||
principalID | UUID | |
lifetime | int | |
Результат | string |
public Release ( UUID principalID, string token, string authType ) : bool | ||
principalID | UUID | |
token | string | |
authType | string | |
Результат | bool |
public Remove ( UUID principalID, string authType ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
Результат | bool |
public SetPassword ( UUID principalID, string authType, string password ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
password | string | Password. |
Результат | bool |
public SetPasswordHashed ( UUID principalID, string authType, string passHash ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
passHash | string | Password hash. |
Результат | bool |
public SetPlainPassword ( UUID principalID, string authType, string pass ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
pass | string | Password. |
Результат | bool |
public SetSaltedPassword ( UUID principalID, string authType, string passHash, string saltHash ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
passHash | string | Password hash. |
saltHash | string | Salt hash. |
Результат | bool |
public Verify ( UUID principalID, string authType, string token, int lifetime ) : bool | ||
principalID | UUID | |
authType | string | |
token | string | |
lifetime | int | |
Результат | bool |
protected IAuthenticationData m_Database | ||
Результат | IAuthenticationData |