Share via


BotSignInExtensions.GetSignInResourceAsync Method

Definition

Get sign-in resource with HTTP message.

public static System.Threading.Tasks.Task<Microsoft.Bot.Schema.SignInResource> GetSignInResourceAsync (this Microsoft.Bot.Connector.OAuthClient operations, string state, string codeChallenge = default, string emulatorUrl = default, string finalRedirect = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSignInResourceAsync : Microsoft.Bot.Connector.OAuthClient * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.SignInResource>
<Extension()>
Public Function GetSignInResourceAsync (operations As OAuthClient, state As String, Optional codeChallenge As String = Nothing, Optional emulatorUrl As String = Nothing, Optional finalRedirect As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SignInResource)

Parameters

operations
OAuthClient

The operations group for this extension method.

state
String

State.

codeChallenge
String

Code challenge.

emulatorUrl
String

Emulator URL.

finalRedirect
String

Final redirect.

cancellationToken
CancellationToken

The cancellation token.

Returns

The SignInResource.

Applies to