IAuthenticationService IAuthenticationService IAuthenticationService Interface

Definition

Used to provide authentication.

public interface IAuthenticationService
type IAuthenticationService = interface
Public Interface IAuthenticationService
Derived

Methods

AuthenticateAsync(HttpContext, String) AuthenticateAsync(HttpContext, String) AuthenticateAsync(HttpContext, String)

Authenticate for the specified authentication scheme.

ChallengeAsync(HttpContext, String, AuthenticationProperties) ChallengeAsync(HttpContext, String, AuthenticationProperties) ChallengeAsync(HttpContext, String, AuthenticationProperties)

Challenge the specified authentication scheme.

ForbidAsync(HttpContext, String, AuthenticationProperties) ForbidAsync(HttpContext, String, AuthenticationProperties) ForbidAsync(HttpContext, String, AuthenticationProperties)

Forbids the specified authentication scheme.

SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties) SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties) SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties)

Sign a principal in for the specified authentication scheme.

SignOutAsync(HttpContext, String, AuthenticationProperties) SignOutAsync(HttpContext, String, AuthenticationProperties) SignOutAsync(HttpContext, String, AuthenticationProperties)

Sign out the specified authentication scheme.

Extension Methods

GetTokenAsync(IAuthenticationService, HttpContext, String) GetTokenAsync(IAuthenticationService, HttpContext, String) GetTokenAsync(IAuthenticationService, HttpContext, String)

Extension method for getting the value of an authentication token.

GetTokenAsync(IAuthenticationService, HttpContext, String, String) GetTokenAsync(IAuthenticationService, HttpContext, String, String) GetTokenAsync(IAuthenticationService, HttpContext, String, String)

Extension method for getting the value of an authentication token.

Applies to