WwwAuthenticateParameters.CreateFromResourceResponseAsync 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 |
|---|---|
| CreateFromResourceResponseAsync(HttpClient, String, CancellationToken) |
Obsoleti.
Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta. |
| CreateFromResourceResponseAsync(String) |
Obsoleti.
Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta. |
| CreateFromResourceResponseAsync(String, CancellationToken) |
Obsoleti.
Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta. |
CreateFromResourceResponseAsync(HttpClient, String, CancellationToken)
Attenzione
This api is now obsolete and has been replaced with replaced with CreateFromAuthenticationResponseAsync(HttpResponseHeaders, string)
Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.
[System.Obsolete("This api is now obsolete and has been replaced with replaced with CreateFromAuthenticationResponseAsync(HttpResponseHeaders, string)")]
public static System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters> CreateFromResourceResponseAsync(System.Net.Http.HttpClient httpClient, string resourceUri, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This api is now obsolete and has been replaced with replaced with CreateFromAuthenticationResponseAsync(HttpResponseHeaders, string)")>]
static member CreateFromResourceResponseAsync : System.Net.Http.HttpClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters>
Public Shared Function CreateFromResourceResponseAsync (httpClient As HttpClient, resourceUri As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WwwAuthenticateParameters)
Parametri
- httpClient
- HttpClient
Istanza di HttpClient con cui effettuare la richiesta.
- resourceUri
- String
URI della risorsa.
- cancellationToken
- CancellationToken
Token di annullamento da annullare.
Valori restituiti
WWW-Authenticate Parametri estratti dalla risposta alla chiamata non autenticata.
- Attributi
Si applica a
CreateFromResourceResponseAsync(String)
Attenzione
This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)
Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.
[System.Obsolete("This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)")]
public static System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters> CreateFromResourceResponseAsync(string resourceUri);
[<System.Obsolete("This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)")>]
static member CreateFromResourceResponseAsync : string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters>
Public Shared Function CreateFromResourceResponseAsync (resourceUri As String) As Task(Of WwwAuthenticateParameters)
Parametri
- resourceUri
- String
URI della risorsa.
Valori restituiti
WWW-Authenticate Parametri estratti dalla risposta alla chiamata non autenticata.
- Attributi
Si applica a
CreateFromResourceResponseAsync(String, CancellationToken)
Attenzione
This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)
Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.
[System.Obsolete("This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)")]
public static System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters> CreateFromResourceResponseAsync(string resourceUri, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)")>]
static member CreateFromResourceResponseAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters>
Public Shared Function CreateFromResourceResponseAsync (resourceUri As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WwwAuthenticateParameters)
Parametri
- resourceUri
- String
URI della risorsa.
- cancellationToken
- CancellationToken
Token di annullamento da annullare.
Valori restituiti
WWW-Authenticate Parametri estratti dalla risposta alla chiamata non autenticata.
- Attributi