Lenguaje

WwwAuthenticateParameters.CreateFromAuthenticationHeaders Método

Definición

Sobrecargas

Nombre Description
CreateFromAuthenticationHeaders(HttpResponseHeaders)

Cree WWW-Authenticate parámetros a partir de HttpResponseHeaders para cada esquema de autenticación.

CreateFromAuthenticationHeaders(HttpResponseHeaders, String)

Cree WWW-Authenticate parámetros a partir de HttpResponseHeaders.

CreateFromAuthenticationHeaders(HttpResponseHeaders)

Cree WWW-Authenticate parámetros a partir de HttpResponseHeaders para cada esquema de autenticación.

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)

Parámetros

httpResponseHeaders
HttpResponseHeaders

HttpResponseHeaders.

Devoluciones

Parámetros solicitados por la API web.

Comentarios

Actualmente solo admite el esquema de portador

Se aplica a

CreateFromAuthenticationHeaders(HttpResponseHeaders, String)

Cree WWW-Authenticate parámetros a partir de 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

Parámetros

httpResponseHeaders
HttpResponseHeaders

HttpResponseHeaders.

scheme
String

Esquema de autenticación.

Devoluciones

Parámetros solicitados por la API web.

Se aplica a