Свойство | Type | Description | |
---|---|---|---|
m_Database | IAuthenticationData | ||
m_authenticateUsers | bool |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
GetToken ( UUID principalID, int lifetime ) : string |
Méthode | Description | |
---|---|---|
SaveAuth ( WhiteCore.Framework.Services.AuthData auth, UUID principalID ) : bool |
public CheckExists ( UUID principalID, string authType ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
Résultat | bool |
protected GetToken ( UUID principalID, int lifetime ) : string | ||
principalID | UUID | |
lifetime | int | |
Résultat | string |
public Release ( UUID principalID, string token, string authType ) : bool | ||
principalID | UUID | |
token | string | |
authType | string | |
Résultat | bool |
public Remove ( UUID principalID, string authType ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
Résultat | bool |
public SetPassword ( UUID principalID, string authType, string password ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
password | string | Password. |
Résultat | bool |
public SetPasswordHashed ( UUID principalID, string authType, string passHash ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
passHash | string | Password hash. |
Résultat | bool |
public SetPlainPassword ( UUID principalID, string authType, string pass ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
pass | string | Password. |
Résultat | 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. |
Résultat | bool |
public Verify ( UUID principalID, string authType, string token, int lifetime ) : bool | ||
principalID | UUID | |
authType | string | |
token | string | |
lifetime | int | |
Résultat | bool |
protected IAuthenticationData m_Database | ||
Résultat | IAuthenticationData |