Compartir a través de


ClaimsTransformationAppBuilderExtensions.UseClaimsTransformation Método

Definición

Sobrecargas

UseClaimsTransformation(IApplicationBuilder)

Agrega el ClaimsTransformationMiddleware middleware al especificado IApplicationBuilder, que permite funcionalidades de transformación de notificaciones.

UseClaimsTransformation(IApplicationBuilder, ClaimsTransformationOptions)

Agrega el ClaimsTransformationMiddleware middleware al especificado IApplicationBuilder, que permite funcionalidades de transformación de notificaciones.

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

Agrega el ClaimsTransformationMiddleware middleware al especificado IApplicationBuilder, que permite funcionalidades de transformación de notificaciones.

UseClaimsTransformation(IApplicationBuilder)

Agrega el ClaimsTransformationMiddleware middleware al especificado IApplicationBuilder, que permite funcionalidades de transformación de notificaciones.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseClaimsTransformation(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
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

Parámetros

app
IApplicationBuilder

IApplicationBuilder al que se va a agregar el middleware.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a

UseClaimsTransformation(IApplicationBuilder, ClaimsTransformationOptions)

Agrega el ClaimsTransformationMiddleware middleware al especificado IApplicationBuilder, que permite funcionalidades de transformación de notificaciones.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseClaimsTransformation(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::ClaimsTransformationOptions ^ options);
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

Parámetros

app
IApplicationBuilder

IApplicationBuilder al que se va a agregar el middleware.

options
ClaimsTransformationOptions

con ClaimsTransformationOptions el que se va a configurar el middleware.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a

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

Agrega el ClaimsTransformationMiddleware middleware al especificado IApplicationBuilder, que permite funcionalidades de transformación de notificaciones.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseClaimsTransformation(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Func<Microsoft::AspNetCore::Authentication::ClaimsTransformationContext ^, System::Threading::Tasks::Task<System::Security::Claims::ClaimsPrincipal ^> ^> ^ transform);
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

Parámetros

app
IApplicationBuilder

IApplicationBuilder al que se va a agregar el middleware.

transform
Func<ClaimsTransformationContext,Task<ClaimsPrincipal>>

Función que transforma de forma asincrónica una a ClaimsPrincipal otra.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a