IClaimsTransformer.TransformAsync(ClaimsTransformationContext) Metodo

Definizione

Fornisce un punto di trasformazione centrale per modificare l'entità specificata.

public:
 System::Threading::Tasks::Task<System::Security::Claims::ClaimsPrincipal ^> ^ TransformAsync(Microsoft::AspNetCore::Authentication::ClaimsTransformationContext ^ context);
public System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal> TransformAsync (Microsoft.AspNetCore.Authentication.ClaimsTransformationContext context);
abstract member TransformAsync : Microsoft.AspNetCore.Authentication.ClaimsTransformationContext -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal>
Public Function TransformAsync (context As ClaimsTransformationContext) As Task(Of ClaimsPrincipal)

Parametri

context
ClaimsTransformationContext

ClaimsTransformationContext contenente l'entità da trasformare e l'oggetto HttpContext corrente.

Restituisce

Entità trasformata.

Si applica a