WwwAuthenticateParameters.CreateFromAuthenticationHeaders Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| CreateFromAuthenticationHeaders(HttpResponseHeaders) |
Creare WWW-Authenticate parametri da HttpResponseHeaders per ogni schema di autenticazione. |
| CreateFromAuthenticationHeaders(HttpResponseHeaders, String) |
Creare WWW-Authenticate parametri da HttpResponseHeaders. |
CreateFromAuthenticationHeaders(HttpResponseHeaders)
Creare WWW-Authenticate parametri da HttpResponseHeaders per ogni schema di autenticazione.
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)
Parametri
- httpResponseHeaders
- HttpResponseHeaders
HttpResponseHeaders.
Valori restituiti
Parametri richiesti dall'API Web.
Commenti
Attualmente supporta solo lo schema Bearer
Si applica a
CreateFromAuthenticationHeaders(HttpResponseHeaders, String)
Creare WWW-Authenticate parametri da 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
Parametri
- httpResponseHeaders
- HttpResponseHeaders
HttpResponseHeaders.
- scheme
- String
Schema di autenticazione.
Valori restituiti
Parametri richiesti dall'API Web.