C# Class BrockAllen.MembershipReboot.WebHost.SamAuthenticationService

Inheritance: AuthenticationService
显示文件 Open project: brockallen/BrockAllen.MembershipReboot

Public Methods

Method Description
SamAuthenticationService ( UserAccountService userAccountService ) : System

Protected Methods

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

Method Details

GetCurrentPrincipal() protected method

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

IssueToken() protected method

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

RevokeToken() protected method

protected RevokeToken ( ) : void
return void

SamAuthenticationService() public method

public SamAuthenticationService ( UserAccountService userAccountService ) : System
userAccountService UserAccountService
return System