C# Class ClearCanvas.Web.Enterprise.Authentication.SessionCache

Internal session cache. Used to force logout of the sessions upon expiration.
Inheritance: IDisposable
Afficher le fichier Open project: jasper-yeh/ClearCanvas

Méthodes publiques

Méthode Description
AddSession ( string id, ClearCanvas.Web.Enterprise.Authentication.SessionInfo session ) : void
Dispose ( ) : void
Find ( string id ) : ClearCanvas.Web.Enterprise.Authentication.SessionInfo
RemoveSession ( string id ) : void
Renew ( string tokenId, System.DateTime time ) : SessionToken

Private Methods

Méthode Description
CleanupSession ( ClearCanvas.Web.Enterprise.Authentication.SessionInfo session ) : void
OnSessionRemoved ( ClearCanvas.Web.Enterprise.Authentication.SessionInfo session ) : void
OnTimer ( object state ) : void
SessionCache ( ) : System

Method Details

AddSession() public méthode

public AddSession ( string id, ClearCanvas.Web.Enterprise.Authentication.SessionInfo session ) : void
id string
session ClearCanvas.Web.Enterprise.Authentication.SessionInfo
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Find() public méthode

public Find ( string id ) : ClearCanvas.Web.Enterprise.Authentication.SessionInfo
id string
Résultat ClearCanvas.Web.Enterprise.Authentication.SessionInfo

RemoveSession() public méthode

public RemoveSession ( string id ) : void
id string
Résultat void

Renew() public méthode

public Renew ( string tokenId, System.DateTime time ) : SessionToken
tokenId string
time System.DateTime
Résultat SessionToken