WwwAuthenticateParameters.CreateFromResourceResponseAsync 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 |
|---|---|
| CreateFromResourceResponseAsync(HttpClient, String, CancellationToken) |
Obsoletos.
Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta. |
| CreateFromResourceResponseAsync(String) |
Obsoletos.
Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta. |
| CreateFromResourceResponseAsync(String, CancellationToken) |
Obsoletos.
Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta. |
CreateFromResourceResponseAsync(HttpClient, String, CancellationToken)
Precaución
This api is now obsolete and has been replaced with replaced with CreateFromAuthenticationResponseAsync(HttpResponseHeaders, string)
Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.
[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
Instancia de HttpClient con la que se va a realizar la solicitud.
- resourceUri
- String
URI del recurso.
- cancellationToken
- CancellationToken
Token de cancelación para cancelar la operación.
Devoluciones
WWW-Authenticate Parámetros extraídos de la respuesta a la llamada no autenticada.
- Atributos
Se aplica a
CreateFromResourceResponseAsync(String)
Precaución
This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)
Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.
[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 del recurso.
Devoluciones
WWW-Authenticate Parámetros extraídos de la respuesta a la llamada no autenticada.
- Atributos
Se aplica a
CreateFromResourceResponseAsync(String, CancellationToken)
Precaución
This api is now obsolete and has been replaced with CreateFromAuthenticationResponseAsync(...)
Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.
[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 del recurso.
- cancellationToken
- CancellationToken
Token de cancelación para cancelar la operación.
Devoluciones
WWW-Authenticate Parámetros extraídos de la respuesta a la llamada no autenticada.
- Atributos