IClaimsTransformer.TransformAsync(ClaimsTransformationContext) メソッド

定義

指定したプリンシパルを変更するための中央変換ポイントを提供します。

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)

パラメーター

context
ClaimsTransformationContext

ClaimsTransformationContext 変換するプリンシパルと現在の HttpContext を含む。

戻り値

変換されたプリンシパル。

適用対象