WwwAuthenticateParameters.CreateFromAuthenticationHeaders Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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.