ClaimsTransformer.TransformAsync(ClaimsTransformationContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual System::Threading::Tasks::Task<System::Security::Claims::ClaimsPrincipal ^> ^ TransformAsync(Microsoft::AspNetCore::Authentication::ClaimsTransformationContext ^ context);
public virtual 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>
override this.TransformAsync : Microsoft.AspNetCore.Authentication.ClaimsTransformationContext -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal>
Public Overridable Function TransformAsync (context As ClaimsTransformationContext) As Task(Of ClaimsPrincipal)
參數
- context
- ClaimsTransformationContext