C# Class AppHarbor.Web.Security.CookieAuthenticator

Inheritance: IAuthenticator
Mostra file Open project: purplebricks/AppHarbor.Web.Security Class Usage Examples

Public Methods

Method Description
CookieAuthenticator ( ) : System
CookieAuthenticator ( ICookieAuthenticationConfiguration configuration, System.Web.HttpContextBase context ) : System
GetTagData ( ) : byte[]
SetCookie ( string username, bool persistent = false, string roles = null, byte tag = null, System.DateTime explicitExpiry = null ) : void
SignOut ( ) : void

Private Methods

Method Description
SetExpireTimeTrackingCookie ( System.DateTime expireDateTime ) : void

Method Details

CookieAuthenticator() public method

public CookieAuthenticator ( ) : System
return System

CookieAuthenticator() public method

public CookieAuthenticator ( ICookieAuthenticationConfiguration configuration, System.Web.HttpContextBase context ) : System
configuration ICookieAuthenticationConfiguration
context System.Web.HttpContextBase
return System

GetTagData() public method

public GetTagData ( ) : byte[]
return byte[]

SetCookie() public method

public SetCookie ( string username, bool persistent = false, string roles = null, byte tag = null, System.DateTime explicitExpiry = null ) : void
username string
persistent bool
roles string
tag byte
explicitExpiry System.DateTime
return void

SignOut() public method

public SignOut ( ) : void
return void