WwwAuthenticateParameters.CreateFromAuthenticationHeaders Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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.