Partilhar via


BotSignIn.GetSignInUrlWithHttpMessagesAsync Método

Definição

Obtém o URL de início de sessão com a 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 que contém o corpo da resposta e os cabeçalhos de resposta.

Implementações

Exceções

Microsoft.Rest.HttpOperationException

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

Microsoft.Rest.SerializationException

Emitido quando não é possível anular a serialização da resposta.

Microsoft.Rest.ValidationException

Emitido quando um valor de entrada não corresponde ao tipo de dados, intervalo ou padrão esperados do campo de dados.

Emitido quando um parâmetro necessário é nulo.

Aplica-se a