WwwAuthenticateParameters.CreateFromResourceResponseAsync 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 |
|---|---|
| CreateFromResourceResponseAsync(HttpClient, String, CancellationToken) |
Obsoleto.
Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta. |
| CreateFromResourceResponseAsync(String) |
Obsoleto.
Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta. |
| CreateFromResourceResponseAsync(String, CancellationToken) |
Obsoleto.
Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta. |
CreateFromResourceResponseAsync(HttpClient, String, CancellationToken)
Atenção
This api is now obsolete and has been replaced with replaced with CreateFromAuthenticationResponseAsync(HttpResponseHeaders, string)
Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.
[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)
Parâmetros
- httpClient
- HttpClient
Instância de HttpClient fazer o pedido.
- resourceUri
- String
URI do recurso.
- cancellationToken
- CancellationToken
O token de cancelamento para cancelar a operação.
Devoluções
WWW-Authenticate Parâmetros extraídos da resposta à chamada não autenticada.
- Atributos
Aplica-se a
CreateFromResourceResponseAsync(String)
Atenção
This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)
Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.
[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)
Parâmetros
- resourceUri
- String
URI do recurso.
Devoluções
WWW-Authenticate Parâmetros extraídos da resposta à chamada não autenticada.
- Atributos
Aplica-se a
CreateFromResourceResponseAsync(String, CancellationToken)
Atenção
This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)
Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.
[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)
Parâmetros
- resourceUri
- String
URI do recurso.
- cancellationToken
- CancellationToken
O token de cancelamento para cancelar a operação.
Devoluções
WWW-Authenticate Parâmetros extraídos da resposta à chamada não autenticada.
- Atributos