Idioma

WwwAuthenticateParameters.CreateFromAuthenticationResponseAsync Método

Definição

Sobrecargas

Nome Descrição
CreateFromAuthenticationResponseAsync(String, CancellationToken)

Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.

CreateFromAuthenticationResponseAsync(String, HttpClient, CancellationToken)

Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.

CreateFromAuthenticationResponseAsync(String, String, CancellationToken)

Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.

CreateFromAuthenticationResponseAsync(String, String, HttpClient, CancellationToken)

Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.

CreateFromAuthenticationResponseAsync(String, CancellationToken)

Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.

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 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.

Aplica-se a

CreateFromAuthenticationResponseAsync(String, HttpClient, CancellationToken)

Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.

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 do recurso.

httpClient
HttpClient

Instância de HttpClient fazer o pedido.

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.

Aplica-se a

CreateFromAuthenticationResponseAsync(String, String, CancellationToken)

Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.

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 do recurso.

scheme
String

Esquema de autenticação.

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.

Aplica-se a

CreateFromAuthenticationResponseAsync(String, String, HttpClient, CancellationToken)

Crie os parâmetros de autenticação tentando chamar o recurso como não autenticado e analisando a resposta.

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 do recurso.

scheme
String

Esquema de autenticação.

httpClient
HttpClient

Instância de HttpClient fazer o pedido.

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.

Aplica-se a