Język

AuthenticationHeaderParser.ParseAuthenticationHeaders Metoda

Definicja

Tworzy przeanalizowany zestaw parametrów z podanego HttpResponseHeaderselementu .

public static Microsoft.Identity.Client.AuthenticationHeaderParser ParseAuthenticationHeaders(System.Net.Http.Headers.HttpResponseHeaders httpResponseHeaders);
static member ParseAuthenticationHeaders : System.Net.Http.Headers.HttpResponseHeaders -> Microsoft.Identity.Client.AuthenticationHeaderParser
Public Shared Function ParseAuthenticationHeaders (httpResponseHeaders As HttpResponseHeaders) As AuthenticationHeaderParser

Parametry

httpResponseHeaders
HttpResponseHeaders

Nagłówki odpowiedzi HTTP.

Zwraca

Przypadek AuthenticationHeaderParser.

Uwagi

W przypadku znanych wartości, takich jak nonce używane do weryfikacji posiadania, analizator najpierw sprawdzi go w WWW-Authenticate nagłówkach Jeśli nie może go znaleźć, następnie sprawdzi Authentication-Info parametry dla wartości.

Dotyczy