Lenguaje

WwwAuthenticateParameters.CreateFromAuthenticationResponseAsync Método

Definición

Sobrecargas

Nombre Description
CreateFromAuthenticationResponseAsync(String, CancellationToken)

Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.

CreateFromAuthenticationResponseAsync(String, HttpClient, CancellationToken)

Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.

CreateFromAuthenticationResponseAsync(String, String, CancellationToken)

Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.

CreateFromAuthenticationResponseAsync(String, String, HttpClient, CancellationToken)

Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.

CreateFromAuthenticationResponseAsync(String, CancellationToken)

Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.

public static System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Identity.Client.WwwAuthenticateParameters>> CreateFromAuthenticationResponseAsync(string resourceUri, System.Threading.CancellationToken cancellationToken = default);
static member CreateFromAuthenticationResponseAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Identity.Client.WwwAuthenticateParameters>>
Public Shared Function CreateFromAuthenticationResponseAsync (resourceUri As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(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.

Se aplica a

CreateFromAuthenticationResponseAsync(String, HttpClient, CancellationToken)

Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.

public static System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Identity.Client.WwwAuthenticateParameters>> CreateFromAuthenticationResponseAsync(string resourceUri, System.Net.Http.HttpClient httpClient, System.Threading.CancellationToken cancellationToken = default);
static member CreateFromAuthenticationResponseAsync : string * System.Net.Http.HttpClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Identity.Client.WwwAuthenticateParameters>>
Public Shared Function CreateFromAuthenticationResponseAsync (resourceUri As String, httpClient As HttpClient, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of WwwAuthenticateParameters))

Parámetros

resourceUri
String

URI del recurso.

httpClient
HttpClient

Instancia de HttpClient con la que se va a realizar la solicitud.

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.

Se aplica a

CreateFromAuthenticationResponseAsync(String, String, CancellationToken)

Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.

public static System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters> CreateFromAuthenticationResponseAsync(string resourceUri, string scheme, System.Threading.CancellationToken cancellationToken = default);
static member CreateFromAuthenticationResponseAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters>
Public Shared Function CreateFromAuthenticationResponseAsync (resourceUri As String, scheme As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WwwAuthenticateParameters)

Parámetros

resourceUri
String

URI del recurso.

scheme
String

Esquema de autenticación.

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.

Se aplica a

CreateFromAuthenticationResponseAsync(String, String, HttpClient, CancellationToken)

Cree los parámetros de autenticación intentando llamar al recurso sin autenticar y analizando la respuesta.

public static System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters> CreateFromAuthenticationResponseAsync(string resourceUri, string scheme, System.Net.Http.HttpClient httpClient, System.Threading.CancellationToken cancellationToken = default);
static member CreateFromAuthenticationResponseAsync : string * string * System.Net.Http.HttpClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.WwwAuthenticateParameters>
Public Shared Function CreateFromAuthenticationResponseAsync (resourceUri As String, scheme As String, httpClient As HttpClient, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WwwAuthenticateParameters)

Parámetros

resourceUri
String

URI del recurso.

scheme
String

Esquema de autenticación.

httpClient
HttpClient

Instancia de HttpClient con la que se va a realizar la solicitud.

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.

Se aplica a