你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IClaimsChallengeProcessor.OnClaimsChallenageAsync Method

Definition

Handle the clamin challenge

public System.Threading.Tasks.ValueTask<bool> OnClaimsChallenageAsync (System.Net.Http.HttpRequestMessage request, string claimsChallenge, System.Threading.CancellationToken cancellationToken);
abstract member OnClaimsChallenageAsync : System.Net.Http.HttpRequestMessage * string * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
Public Function OnClaimsChallenageAsync (request As HttpRequestMessage, claimsChallenge As String, cancellationToken As CancellationToken) As ValueTask(Of Boolean)

Parameters

request
HttpRequestMessage

The origin request that responds with a claim challenge

claimsChallenge
String

Claims challenge string

cancellationToken
CancellationToken

Cancelation token

Returns

Successful or not

Applies to