C# Class BrockAllen.MembershipReboot.Owin.OwinAuthenticationService

Inheritance: AuthenticationService
ファイルを表示 Open project: brockallen/BrockAllen.MembershipReboot Class Usage Examples

Public Methods

Method Description
OwinAuthenticationService ( UserAccountService svc, object>.IDictionary env ) : Microsoft.Owin
OwinAuthenticationService ( string authenticationType, UserAccountService svc, object>.IDictionary env ) : Microsoft.Owin
OwinAuthenticationService ( string authenticationType, UserAccountService svc, object>.IDictionary env, System.Security.Claims.ClaimsAuthenticationManager transformer ) : Microsoft.Owin

Protected Methods

Method Description
GetCurrentPrincipal ( ) : ClaimsPrincipal
IssueToken ( System principal, System.TimeSpan tokenLifetime = null, bool persistentCookie = null ) : void
RevokeToken ( ) : void

Private Methods

Method Description
IssueCookie ( IEnumerable enumerable, string authType, System.TimeSpan tokenLifetime, bool persistentCookie ) : void

Method Details

GetCurrentPrincipal() protected method

protected GetCurrentPrincipal ( ) : ClaimsPrincipal
return System.Security.Claims.ClaimsPrincipal

IssueToken() protected method

protected IssueToken ( System principal, System.TimeSpan tokenLifetime = null, bool persistentCookie = null ) : void
principal System
tokenLifetime System.TimeSpan
persistentCookie bool
return void

OwinAuthenticationService() public method

public OwinAuthenticationService ( UserAccountService svc, object>.IDictionary env ) : Microsoft.Owin
svc UserAccountService
env object>.IDictionary
return Microsoft.Owin

OwinAuthenticationService() public method

public OwinAuthenticationService ( string authenticationType, UserAccountService svc, object>.IDictionary env ) : Microsoft.Owin
authenticationType string
svc UserAccountService
env object>.IDictionary
return Microsoft.Owin

OwinAuthenticationService() public method

public OwinAuthenticationService ( string authenticationType, UserAccountService svc, object>.IDictionary env, System.Security.Claims.ClaimsAuthenticationManager transformer ) : Microsoft.Owin
authenticationType string
svc UserAccountService
env object>.IDictionary
transformer System.Security.Claims.ClaimsAuthenticationManager
return Microsoft.Owin

RevokeToken() protected method

protected RevokeToken ( ) : void
return void