C# Class Universe.Services.DataService.LocalAuthConnector

Inheritance: IAuthenticationData
Exibir arquivo Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
CheckToken ( UUID principalID, string token, int lifetime ) : bool
Delete ( UUID principalID, string authType ) : bool
Dispose ( ) : void
Get ( UUID principalID, string authType ) : AuthData
Initialize ( IGenericData genericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
SetDataItem ( UUID principalID, string item, string value ) : bool
SetToken ( UUID principalID, string token, int lifetime ) : bool
Store ( AuthData data ) : bool

Private Methods

Method Description
DoExpire ( ) : void

Method Details

CheckToken() public method

public CheckToken ( UUID principalID, string token, int lifetime ) : bool
principalID UUID
token string
lifetime int
return bool

Delete() public method

public Delete ( UUID principalID, string authType ) : bool
principalID UUID
authType string
return bool

Dispose() public method

public Dispose ( ) : void
return void

Get() public method

public Get ( UUID principalID, string authType ) : AuthData
principalID UUID
authType string
return Universe.Framework.Services.AuthData

Initialize() public method

public Initialize ( IGenericData genericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
genericData IGenericData
source IConfigSource
simBase IRegistryCore
defaultConnectionString string
return void

SetDataItem() public method

public SetDataItem ( UUID principalID, string item, string value ) : bool
principalID UUID
item string
value string
return bool

SetToken() public method

public SetToken ( UUID principalID, string token, int lifetime ) : bool
principalID UUID
token string
lifetime int
return bool

Store() public method

public Store ( AuthData data ) : bool
data Universe.Framework.Services.AuthData
return bool