Lenguaje

OAuthClient.GetSignInResourceWithHttpMessagesAsync Método

Definición

Obtén el recurso de inicio de sesión con mensaje 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

Desafío del código.

emulatorUrl
String

URL del emulador.

finalRedirect
String

Redirección final.

customHeaders
Dictionary<String,List<String>>

Cabeceras que se añadirán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Task<Microsoft.Rest.HttpOperationResponse<SignInResource>>

Un objeto de respuesta que contiene el cuerpo de respuesta y los encabezados de respuesta.

Excepciones

Microsoft.Rest.HttpOperationException

Se desactivó cuando la operación devolvió un código de estado inválido.

Microsoft.Rest.SerializationException

Lo lanzamos cuando no se puede desserializar la respuesta.

Microsoft.Rest.ValidationException

Se lanza cuando un valor de entrada no coincide con el tipo de dato esperado, rango o patrón.

Se lanza cuando un parámetro requerido es nulo.

Se aplica a