Język

IBotSignIn.GetSignInUrlWithHttpMessagesAsync Metoda

Definicja

Pobierz URL logowania za pomocą wiadomości HTTP.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<string>> GetSignInUrlWithHttpMessagesAsync(string state, string codeChallenge = default, string emulatorUrl = default, string finalRedirect = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSignInUrlWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<string>>
Public Function GetSignInUrlWithHttpMessagesAsync (state As String, Optional codeChallenge As String = Nothing, Optional emulatorUrl As String = Nothing, Optional finalRedirect As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of String))

Parametry

state
String

Stan.

codeChallenge
String

Wyzwanie kodu.

emulatorUrl
String

URL emulatora.

finalRedirect
String

Ostatnie przekierowanie.

customHeaders
Dictionary<String,List<String>>

Nagłówki, które zostaną dodane do żądania.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Task<Microsoft.Rest.HttpOperationResponse<String>>

Zadanie reprezentujące pracę w kolejce do wykonania.

Wyjątki

Microsoft.Rest.HttpOperationException

Zrzucano, gdy operacja zwracała nieprawidłowy kod statusu.

Microsoft.Rest.SerializationException

Zrzucony, gdy nie mogę odtworzyć odpowiedzi.

Microsoft.Rest.ValidationException

Rzucane, gdy wymagany parametr jest null.

Dotyczy