Idioma

WwwAuthenticateParameters.CreateFromAuthenticationHeaders Método

Definição

Sobrecargas

Nome Descrição
CreateFromAuthenticationHeaders(HttpResponseHeaders)

Crie WWW-Authenticate parâmetros a partir dos HttpResponseHeaders para cada esquema de autenticação.

CreateFromAuthenticationHeaders(HttpResponseHeaders, String)

Crie WWW-Authenticate parâmetros a partir dos HttpResponseHeaders.

CreateFromAuthenticationHeaders(HttpResponseHeaders)

Crie WWW-Authenticate parâmetros a partir dos HttpResponseHeaders para cada esquema de autenticação.

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.

Devoluções

Os parâmetros solicitados pela API web.

Observações

Atualmente, só suporta o esquema do Portador

Aplica-se a

CreateFromAuthenticationHeaders(HttpResponseHeaders, String)

Crie WWW-Authenticate parâmetros a partir dos 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 autenticação.

Devoluções

Os parâmetros solicitados pela API web.

Aplica-se a