Język

WwwAuthenticateParameters.CreateFromAuthenticationResponseAsync Metoda

Definicja

Przeciążenia

Nazwisko Opis
CreateFromAuthenticationResponseAsync(String, CancellationToken)

Utwórz parametry uwierzytelniania, próbując wywołać zasób nieuwierzytelniony i analizując odpowiedź.

CreateFromAuthenticationResponseAsync(String, HttpClient, CancellationToken)

Utwórz parametry uwierzytelniania, próbując wywołać zasób nieuwierzytelniony i analizując odpowiedź.

CreateFromAuthenticationResponseAsync(String, String, CancellationToken)

Utwórz parametry uwierzytelniania, próbując wywołać zasób nieuwierzytelniony i analizując odpowiedź.

CreateFromAuthenticationResponseAsync(String, String, HttpClient, CancellationToken)

Utwórz parametry uwierzytelniania, próbując wywołać zasób nieuwierzytelniony i analizując odpowiedź.

CreateFromAuthenticationResponseAsync(String, CancellationToken)

Utwórz parametry uwierzytelniania, próbując wywołać zasób nieuwierzytelniony i analizując odpowiedź.

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

Parametry

resourceUri
String

Identyfikator URI zasobu.

cancellationToken
CancellationToken

Token anulowania do anulowania operacji.

Zwraca

WWW-Authenticate Parametry wyodrębnione z odpowiedzi na nieuwierzytelnione wywołanie.

Dotyczy

CreateFromAuthenticationResponseAsync(String, HttpClient, CancellationToken)

Utwórz parametry uwierzytelniania, próbując wywołać zasób nieuwierzytelniony i analizując odpowiedź.

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

Parametry

resourceUri
String

Identyfikator URI zasobu.

httpClient
HttpClient

Wystąpienie polecenia , za pomocą którego HttpClient należy wysłać żądanie.

cancellationToken
CancellationToken

Token anulowania do anulowania operacji.

Zwraca

WWW-Authenticate Parametry wyodrębnione z odpowiedzi na nieuwierzytelnione wywołanie.

Dotyczy

CreateFromAuthenticationResponseAsync(String, String, CancellationToken)

Utwórz parametry uwierzytelniania, próbując wywołać zasób nieuwierzytelniony i analizując odpowiedź.

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)

Parametry

resourceUri
String

Identyfikator URI zasobu.

scheme
String

Schemat uwierzytelniania.

cancellationToken
CancellationToken

Token anulowania do anulowania operacji.

Zwraca

WWW-Authenticate Parametry wyodrębnione z odpowiedzi na nieuwierzytelnione wywołanie.

Dotyczy

CreateFromAuthenticationResponseAsync(String, String, HttpClient, CancellationToken)

Utwórz parametry uwierzytelniania, próbując wywołać zasób nieuwierzytelniony i analizując odpowiedź.

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)

Parametry

resourceUri
String

Identyfikator URI zasobu.

scheme
String

Schemat uwierzytelniania.

httpClient
HttpClient

Wystąpienie polecenia , za pomocą którego HttpClient należy wysłać żądanie.

cancellationToken
CancellationToken

Token anulowania do anulowania operacji.

Zwraca

WWW-Authenticate Parametry wyodrębnione z odpowiedzi na nieuwierzytelnione wywołanie.

Dotyczy