ClaimsTransformationAppBuilderExtensions.UseClaimsTransformation ClaimsTransformationAppBuilderExtensions.UseClaimsTransformation ClaimsTransformationAppBuilderExtensions.UseClaimsTransformation Method

Definition

Overloads

UseClaimsTransformation(IApplicationBuilder) UseClaimsTransformation(IApplicationBuilder) UseClaimsTransformation(IApplicationBuilder)

Adds the ClaimsTransformationMiddleware middleware to the specified IApplicationBuilder, which enables claims transformation capabilities.

UseClaimsTransformation(IApplicationBuilder, ClaimsTransformationOptions) UseClaimsTransformation(IApplicationBuilder, ClaimsTransformationOptions) UseClaimsTransformation(IApplicationBuilder, ClaimsTransformationOptions)

Adds the ClaimsTransformationMiddleware middleware to the specified IApplicationBuilder, which enables claims transformation capabilities.

UseClaimsTransformation(IApplicationBuilder, Func<ClaimsTransformationContext,Task<ClaimsPrincipal>>) UseClaimsTransformation(IApplicationBuilder, Func<ClaimsTransformationContext,Task<ClaimsPrincipal>>) UseClaimsTransformation(IApplicationBuilder, Func<ClaimsTransformationContext,Task<ClaimsPrincipal>>)

Adds the ClaimsTransformationMiddleware middleware to the specified IApplicationBuilder, which enables claims transformation capabilities.

UseClaimsTransformation(IApplicationBuilder) UseClaimsTransformation(IApplicationBuilder) UseClaimsTransformation(IApplicationBuilder)

Adds the ClaimsTransformationMiddleware middleware to the specified IApplicationBuilder, which enables claims transformation capabilities.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseClaimsTransformation (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseClaimsTransformation : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseClaimsTransformation (app As IApplicationBuilder) As IApplicationBuilder

Parameters

Returns

A reference to this instance after the operation has completed.

UseClaimsTransformation(IApplicationBuilder, ClaimsTransformationOptions) UseClaimsTransformation(IApplicationBuilder, ClaimsTransformationOptions) UseClaimsTransformation(IApplicationBuilder, ClaimsTransformationOptions)

Adds the ClaimsTransformationMiddleware middleware to the specified IApplicationBuilder, which enables claims transformation capabilities.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseClaimsTransformation (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.ClaimsTransformationOptions options);
static member UseClaimsTransformation : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.ClaimsTransformationOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseClaimsTransformation (app As IApplicationBuilder, options As ClaimsTransformationOptions) As IApplicationBuilder

Parameters

Returns

A reference to this instance after the operation has completed.

UseClaimsTransformation(IApplicationBuilder, Func<ClaimsTransformationContext,Task<ClaimsPrincipal>>) UseClaimsTransformation(IApplicationBuilder, Func<ClaimsTransformationContext,Task<ClaimsPrincipal>>) UseClaimsTransformation(IApplicationBuilder, Func<ClaimsTransformationContext,Task<ClaimsPrincipal>>)

Adds the ClaimsTransformationMiddleware middleware to the specified IApplicationBuilder, which enables claims transformation capabilities.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseClaimsTransformation (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Func<Microsoft.AspNetCore.Authentication.ClaimsTransformationContext,System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal>> transform);
static member UseClaimsTransformation : Microsoft.AspNetCore.Builder.IApplicationBuilder * Func<Microsoft.AspNetCore.Authentication.ClaimsTransformationContext, System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal>> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseClaimsTransformation (app As IApplicationBuilder, transform As Func(Of ClaimsTransformationContext, Task(Of ClaimsPrincipal))) As IApplicationBuilder

Parameters

transform
Func<ClaimsTransformationContext,Task<ClaimsPrincipal>>

A function that asynchronously transforms one ClaimsPrincipal to another.

Returns

A reference to this instance after the operation has completed.

Applies to