ClaimsTransformationHandler Class

Handler that applies ClaimsTransformation to authentication

Namespace
Microsoft.AspNetCore.Authentication
Assemblies
  • Microsoft.AspNetCore.Authentication

Syntax

public class ClaimsTransformationHandler : IAuthenticationHandler
class Microsoft.AspNetCore.Authentication.ClaimsTransformationHandler

Constructors

ClaimsTransformationHandler(Microsoft.AspNetCore.Authentication.IClaimsTransformer, Microsoft.AspNetCore.Http.HttpContext)
public ClaimsTransformationHandler(IClaimsTransformer transform, HttpContext httpContext)

Methods

AuthenticateAsync(Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext)
Return type:System.Threading.Tasks.Task
public Task AuthenticateAsync(AuthenticateContext context)
ChallengeAsync(Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext)
Return type:System.Threading.Tasks.Task
public Task ChallengeAsync(ChallengeContext context)
GetDescriptions(Microsoft.AspNetCore.Http.Features.Authentication.DescribeSchemesContext)
public void GetDescriptions(DescribeSchemesContext context)
RegisterAuthenticationHandler(Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature)
public void RegisterAuthenticationHandler(IHttpAuthenticationFeature auth)
SignInAsync(Microsoft.AspNetCore.Http.Features.Authentication.SignInContext)
Return type:System.Threading.Tasks.Task
public Task SignInAsync(SignInContext context)
SignOutAsync(Microsoft.AspNetCore.Http.Features.Authentication.SignOutContext)
Return type:System.Threading.Tasks.Task
public Task SignOutAsync(SignOutContext context)
UnregisterAuthenticationHandler(Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature)
public void UnregisterAuthenticationHandler(IHttpAuthenticationFeature auth)

Properties

Microsoft.AspNetCore.Authentication.ClaimsTransformationHandler.PriorHandler
Return type:Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler
public IAuthenticationHandler PriorHandler { get; set; }