Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WwwAuthenticateParameters.GetClaimChallengeFromResponseHeaders Method

Definition

Namespace:
Microsoft.Identity.Client
Assembly:
Microsoft.Identity.Client.dll
Package:
Microsoft.Identity.Client v4.84.2

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the claim challenge from HTTP header. Used, for example, for Conditional Access (CA).

public static string GetClaimChallengeFromResponseHeaders(System.Net.Http.Headers.HttpResponseHeaders httpResponseHeaders, string scheme = "Bearer");
static member GetClaimChallengeFromResponseHeaders : System.Net.Http.Headers.HttpResponseHeaders * string -> string
Public Shared Function GetClaimChallengeFromResponseHeaders (httpResponseHeaders As HttpResponseHeaders, Optional scheme As String = "Bearer") As String

Parameters

httpResponseHeaders
HttpResponseHeaders

The HTTP response headers.

scheme
String

Authentication scheme. Default is Bearer.

Returns

The claims challenge

Applies to


Feedback

Was this page helpful?