C# 클래스 BrockAllen.MembershipReboot.Test.Authentication.TestAuthenticationService

상속: AuthenticationService
파일 보기 프로젝트 열기: brockallen/BrockAllen.MembershipReboot 1 사용 예제들

공개 메소드들

메소드 설명
TestAuthenticationService ( UserAccountService svc ) : System

보호된 메소드들

메소드 설명
GetCurrentPrincipal ( ) : ClaimsPrincipal
IssueToken ( System principal, System.TimeSpan tokenLifetime = null, bool persistentCookie = null ) : void
RevokeToken ( ) : void

메소드 상세

GetCurrentPrincipal() 보호된 메소드

protected GetCurrentPrincipal ( ) : ClaimsPrincipal
리턴 System.Security.Claims.ClaimsPrincipal

IssueToken() 보호된 메소드

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

RevokeToken() 보호된 메소드

protected RevokeToken ( ) : void
리턴 void

TestAuthenticationService() 공개 메소드

public TestAuthenticationService ( UserAccountService svc ) : System
svc UserAccountService
리턴 System