WwwAuthenticateParameters.GetClaimChallengeFromResponseHeaders Method

Definition

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