C# Class Dovetail.SDK.Bootstrap.Clarify.ClarifySessionCache

Inheritance: IClarifySessionCache
ファイルを表示 Open project: DovetailSoftware/dovetail-bootstrap Class Usage Examples

Public Methods

Method Description
ClarifySessionCache ( IClarifyApplication clarifyApplication, ILogger logger, IUserClarifySessionConfigurator sessionConfigurator, Func sessionEndObserver, Func sessionStartObserver, Dovetail.SDK.Bootstrap.Clarify.DovetailDatabaseSettings settings ) : System
CreateSession ( string username, bool isConfigured = true, bool isObserved = true ) : IClarifySession
EjectSession ( string username, bool isObserved = true ) : bool
GetApplicationSession ( bool isConfigured = true ) : IClarifySession
GetSession ( string username ) : IClarifySession
RefreshSession ( string username ) : void
addSessionToCache ( string username, IClarifySession session ) : void
clear ( ) : void

Private Methods

Method Description
ClarifySessionCache ( ) : System
getSession ( string username, bool isConfigured = true, bool isObserved = true ) : IClarifySession
visitSession ( ClarifySession session, bool isConfigured = true, bool isObserved = true ) : void
wrapSession ( ClarifySession session ) : IClarifySession

Method Details

ClarifySessionCache() public method

public ClarifySessionCache ( IClarifyApplication clarifyApplication, ILogger logger, IUserClarifySessionConfigurator sessionConfigurator, Func sessionEndObserver, Func sessionStartObserver, Dovetail.SDK.Bootstrap.Clarify.DovetailDatabaseSettings settings ) : System
clarifyApplication IClarifyApplication
logger ILogger
sessionConfigurator IUserClarifySessionConfigurator
sessionEndObserver Func
sessionStartObserver Func
settings Dovetail.SDK.Bootstrap.Clarify.DovetailDatabaseSettings
return System

CreateSession() public method

public CreateSession ( string username, bool isConfigured = true, bool isObserved = true ) : IClarifySession
username string
isConfigured bool
isObserved bool
return IClarifySession

EjectSession() public method

public EjectSession ( string username, bool isObserved = true ) : bool
username string
isObserved bool
return bool

GetApplicationSession() public method

public GetApplicationSession ( bool isConfigured = true ) : IClarifySession
isConfigured bool
return IClarifySession

GetSession() public method

public GetSession ( string username ) : IClarifySession
username string
return IClarifySession

RefreshSession() public method

public RefreshSession ( string username ) : void
username string
return void

addSessionToCache() public method

public addSessionToCache ( string username, IClarifySession session ) : void
username string
session IClarifySession
return void

clear() public method

public clear ( ) : void
return void