C# Class BrockAllen.MembershipReboot.Test.Authentication.TestAuthenticationService

Inheritance: AuthenticationService
Afficher le fichier Open project: brockallen/BrockAllen.MembershipReboot Class Usage Examples

Méthodes publiques

Méthode Description
TestAuthenticationService ( UserAccountService svc ) : System

Méthodes protégées

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

Method Details

GetCurrentPrincipal() protected méthode

protected GetCurrentPrincipal ( ) : ClaimsPrincipal
Résultat System.Security.Claims.ClaimsPrincipal

IssueToken() protected méthode

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

RevokeToken() protected méthode

protected RevokeToken ( ) : void
Résultat void

TestAuthenticationService() public méthode

public TestAuthenticationService ( UserAccountService svc ) : System
svc UserAccountService
Résultat System