OAuthClient.GetSignInResourceWithHttpMessagesAsync Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtenha o recurso de início de sessão com a mensagem HTTP.
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.SignInResource>> GetSignInResourceWithHttpMessagesAsync(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);
member this.GetSignInResourceWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.SignInResource>>
Public Function GetSignInResourceWithHttpMessagesAsync (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 SignInResource))
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
Um objeto de resposta que contém o corpo da resposta e os cabeçalhos de resposta.
Exceções
Gerado quando a operação devolveu um código de estado inválido.
Emitida quando não é possível anular a serialização da resposta.
Emitida quando um valor de entrada não corresponde ao tipo de dados, intervalo ou padrão esperado.
Acionado quando um parâmetro necessário é nulo.