Idioma

OAuthClient.GetSignInResourceWithHttpMessagesAsync Método

Definição

Obtenha recurso de login com 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

Task<Microsoft.Rest.HttpOperationResponse<SignInResource>>

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

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.

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

Aplica-se a