Lingua

WwwAuthenticateParameters.CreateFromAuthenticationResponseAsync Metodo

Definizione

Overload

Nome Descrizione
CreateFromAuthenticationResponseAsync(String, CancellationToken)

Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.

CreateFromAuthenticationResponseAsync(String, HttpClient, CancellationToken)

Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.

CreateFromAuthenticationResponseAsync(String, String, CancellationToken)

Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.

CreateFromAuthenticationResponseAsync(String, String, HttpClient, CancellationToken)

Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.

CreateFromAuthenticationResponseAsync(String, CancellationToken)

Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.

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

Parametri

resourceUri
String

URI della risorsa.

cancellationToken
CancellationToken

Token di annullamento da annullare.

Valori restituiti

WWW-Authenticate Parametri estratti dalla risposta alla chiamata non autenticata.

Si applica a

CreateFromAuthenticationResponseAsync(String, HttpClient, CancellationToken)

Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.

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

Parametri

resourceUri
String

URI della risorsa.

httpClient
HttpClient

Istanza di HttpClient con cui effettuare la richiesta.

cancellationToken
CancellationToken

Token di annullamento da annullare.

Valori restituiti

WWW-Authenticate Parametri estratti dalla risposta alla chiamata non autenticata.

Si applica a

CreateFromAuthenticationResponseAsync(String, String, CancellationToken)

Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.

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)

Parametri

resourceUri
String

URI della risorsa.

scheme
String

Schema di autenticazione.

cancellationToken
CancellationToken

Token di annullamento da annullare.

Valori restituiti

WWW-Authenticate Parametri estratti dalla risposta alla chiamata non autenticata.

Si applica a

CreateFromAuthenticationResponseAsync(String, String, HttpClient, CancellationToken)

Creare i parametri di autenticazione tentando di chiamare la risorsa non autenticata e analizzando la risposta.

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)

Parametri

resourceUri
String

URI della risorsa.

scheme
String

Schema di autenticazione.

httpClient
HttpClient

Istanza di HttpClient con cui effettuare la richiesta.

cancellationToken
CancellationToken

Token di annullamento da annullare.

Valori restituiti

WWW-Authenticate Parametri estratti dalla risposta alla chiamata non autenticata.

Si applica a