Property | Type | Description | |
---|---|---|---|
m_Database | IAuthenticationData | ||
m_authenticateUsers | bool |
Method | 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 |
Method | Description | |
---|---|---|
GetToken ( UUID principalID, int lifetime ) : string |
Method | 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. |
return | bool |
protected GetToken ( UUID principalID, int lifetime ) : string | ||
principalID | UUID | |
lifetime | int | |
return | string |
public Release ( UUID principalID, string token, string authType ) : bool | ||
principalID | UUID | |
token | string | |
authType | string | |
return | bool |
public Remove ( UUID principalID, string authType ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
return | bool |
public SetPassword ( UUID principalID, string authType, string password ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
password | string | Password. |
return | bool |
public SetPasswordHashed ( UUID principalID, string authType, string passHash ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
passHash | string | Password hash. |
return | bool |
public SetPlainPassword ( UUID principalID, string authType, string pass ) : bool | ||
principalID | UUID | Principal identifier. |
authType | string | Auth type. |
pass | string | Password. |
return | 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. |
return | bool |
public Verify ( UUID principalID, string authType, string token, int lifetime ) : bool | ||
principalID | UUID | |
authType | string | |
token | string | |
lifetime | int | |
return | bool |
protected IAuthenticationData m_Database | ||
return | IAuthenticationData |