C# Class Universe.Services.AuthenticationServiceBase

Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
m_Database IAuthenticationData
m_authenticateUsers bool

Méthodes publiques

Méthode Description
CheckExists ( UUID principalID, string authType ) : bool
Release ( UUID principalID, string token, string authType ) : bool
Remove ( UUID principalID, string authType ) : bool
SetPassword ( UUID principalID, string authType, string password ) : bool
SetPasswordHashed ( UUID principalID, string authType, string Hashedpassword ) : bool
SetPlainPassword ( UUID principalID, string authType, string pass ) : bool
SetSaltedPassword ( UUID principalID, string authType, string salt, string pass ) : bool
Verify ( UUID principalID, string authType, string token, int lifetime ) : bool

Méthodes protégées

Méthode Description
GetToken ( UUID principalID, int lifetime ) : string

Private Methods

Méthode Description
SaveAuth ( AuthData auth, UUID principalID ) : bool

Method Details

CheckExists() public méthode

public CheckExists ( UUID principalID, string authType ) : bool
principalID UUID
authType string
Résultat bool

GetToken() protected méthode

protected GetToken ( UUID principalID, int lifetime ) : string
principalID UUID
lifetime int
Résultat string

Release() public méthode

public Release ( UUID principalID, string token, string authType ) : bool
principalID UUID
token string
authType string
Résultat bool

Remove() public méthode

public Remove ( UUID principalID, string authType ) : bool
principalID UUID
authType string
Résultat bool

SetPassword() public méthode

public SetPassword ( UUID principalID, string authType, string password ) : bool
principalID UUID
authType string
password string
Résultat bool

SetPasswordHashed() public méthode

public SetPasswordHashed ( UUID principalID, string authType, string Hashedpassword ) : bool
principalID UUID
authType string
Hashedpassword string
Résultat bool

SetPlainPassword() public méthode

public SetPlainPassword ( UUID principalID, string authType, string pass ) : bool
principalID UUID
authType string
pass string
Résultat bool

SetSaltedPassword() public méthode

public SetSaltedPassword ( UUID principalID, string authType, string salt, string pass ) : bool
principalID UUID
authType string
salt string
pass string
Résultat bool

Verify() public méthode

public Verify ( UUID principalID, string authType, string token, int lifetime ) : bool
principalID UUID
authType string
token string
lifetime int
Résultat bool

Property Details

m_Database protected_oe property

protected IAuthenticationData m_Database
Résultat IAuthenticationData

m_authenticateUsers protected_oe property

protected bool m_authenticateUsers
Résultat bool