Język

WwwAuthenticateParameters.CreateFromAuthenticationHeaders Metoda

Definicja

Przeciążenia

Nazwisko Opis
CreateFromAuthenticationHeaders(HttpResponseHeaders)

Utwórz parametry WWW-Authenticate na podstawie parametrów HttpResponseHeaders dla każdego schematu uwierzytelniania.

CreateFromAuthenticationHeaders(HttpResponseHeaders, String)

Utwórz parametry WWW-Authenticate na podstawie wartości HttpResponseHeaders.

CreateFromAuthenticationHeaders(HttpResponseHeaders)

Utwórz parametry WWW-Authenticate na podstawie parametrów HttpResponseHeaders dla każdego schematu uwierzytelniania.

public static System.Collections.Generic.IReadOnlyList<Microsoft.Identity.Client.WwwAuthenticateParameters> CreateFromAuthenticationHeaders(System.Net.Http.Headers.HttpResponseHeaders httpResponseHeaders);
static member CreateFromAuthenticationHeaders : System.Net.Http.Headers.HttpResponseHeaders -> System.Collections.Generic.IReadOnlyList<Microsoft.Identity.Client.WwwAuthenticateParameters>
Public Shared Function CreateFromAuthenticationHeaders (httpResponseHeaders As HttpResponseHeaders) As IReadOnlyList(Of WwwAuthenticateParameters)

Parametry

httpResponseHeaders
HttpResponseHeaders

HttpResponseHeaders.

Zwraca

Parametry żądane przez internetowy interfejs API.

Uwagi

Obecnie obsługuje on tylko schemat elementu nośnego

Dotyczy

CreateFromAuthenticationHeaders(HttpResponseHeaders, String)

Utwórz parametry WWW-Authenticate na podstawie wartości HttpResponseHeaders.

public static Microsoft.Identity.Client.WwwAuthenticateParameters CreateFromAuthenticationHeaders(System.Net.Http.Headers.HttpResponseHeaders httpResponseHeaders, string scheme);
static member CreateFromAuthenticationHeaders : System.Net.Http.Headers.HttpResponseHeaders * string -> Microsoft.Identity.Client.WwwAuthenticateParameters
Public Shared Function CreateFromAuthenticationHeaders (httpResponseHeaders As HttpResponseHeaders, scheme As String) As WwwAuthenticateParameters

Parametry

httpResponseHeaders
HttpResponseHeaders

HttpResponseHeaders.

scheme
String

Schemat uwierzytelniania.

Zwraca

Parametry żądane przez internetowy interfejs API.

Dotyczy