Sprache

OAuthClient.GetSignInResourceWithHttpMessagesAsync Methode

Definition

Erhalten Sie die Anmelde-Ressource mit HTTP-Nachricht.

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))

Parameter

state
String

Status

codeChallenge
String

Codeabfrage.

emulatorUrl
String

Emulator-URL.

finalRedirect
String

Letzte Weiterleitung.

customHeaders
Dictionary<String,List<String>>

Header, die auf Anfrage hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Task<Microsoft.Rest.HttpOperationResponse<SignInResource>>

Ein Antwortobjekt, das den Antwortkörper und Antwortheader enthält.

Ausnahmen

Microsoft.Rest.HttpOperationException

Geworfen, wenn die Operation einen ungültigen Statuscode zurückgab.

Microsoft.Rest.SerializationException

Geworfen, wenn man die Reaktion nicht entwerten kann.

Microsoft.Rest.ValidationException

Wird geworfen, wenn ein Eingabewert nicht mit dem erwarteten Datentyp, Bereich oder Muster übereinstimmt.

Wird geworfen, wenn ein erforderlicher Parameter null ist.

Gilt für: