Idioma

BotSignIn.GetSignInUrlWithHttpMessagesAsync Método

Definição

Recebe URL de início de sessão com mensagem 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>>
override this.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))

Parâmetros

state
String

Estado.

codeChallenge
String

Desafio de código.

emulatorUrl
String

URL do emulador.

finalRedirect
String

Redirecionamento final.

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados ao pedido.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Task<Microsoft.Rest.HttpOperationResponse<String>>

Um objeto de resposta contendo o corpo de resposta e os cabeçalhos de resposta.

Implementações

Exceções

Microsoft.Rest.HttpOperationException

Foi lançado quando a operação devolveu um código de estado inválido.

Microsoft.Rest.SerializationException

Lançado quando não é possível desserializar a resposta.

Microsoft.Rest.ValidationException

Lançado quando um valor de entrada não corresponde ao tipo de dado esperado, intervalo ou padrão do campo de dados.

Lançado quando um parâmetro exigido é nulo.

Aplica-se a