C# Class OpenSim.Data.SQLite.SQLiteAuthenticationData

Inheritance: OpenSim.Data.SQLite.SQLiteFramework, IAuthenticationData
显示文件 Open project: N3X15/VoxelSim

Protected Properties

Property Type Description
m_Connection SqliteConnection

Public Methods

Method Description
CheckToken ( UUID principalID, string token, int lifetime ) : bool
Get ( UUID principalID ) : AuthenticationData
SQLiteAuthenticationData ( string connectionString, string realm ) : System
SetDataItem ( UUID principalID, string item, string value ) : bool
SetToken ( UUID principalID, string token, int lifetime ) : bool
Store ( AuthenticationData 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

Get() public method

public Get ( UUID principalID ) : AuthenticationData
principalID UUID
return AuthenticationData

SQLiteAuthenticationData() public method

public SQLiteAuthenticationData ( string connectionString, string realm ) : System
connectionString string
realm string
return System

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 ( AuthenticationData data ) : bool
data AuthenticationData
return bool

Property Details

m_Connection protected_oe static_oe property

protected static SqliteConnection m_Connection
return SqliteConnection