Share via


UserTokenClient.GetSignInResourceAsync Method

Definition

Get the raw signin link to be sent to the user for signin for a connection name.

public abstract System.Threading.Tasks.Task<Microsoft.Bot.Schema.SignInResource> GetSignInResourceAsync (string connectionName, Microsoft.Bot.Schema.Activity activity, string finalRedirect, System.Threading.CancellationToken cancellationToken);
abstract member GetSignInResourceAsync : string * Microsoft.Bot.Schema.Activity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.SignInResource>
Public MustOverride Function GetSignInResourceAsync (connectionName As String, activity As Activity, finalRedirect As String, cancellationToken As CancellationToken) As Task(Of SignInResource)

Parameters

connectionName
String

Name of the auth connection to use.

activity
Activity

The Activity from which to derive the token exchange state.

finalRedirect
String

The final URL that the OAuth flow will redirect to.

cancellationToken
CancellationToken

Cancellation token.

Returns

A Task<TResult> representing the result of the asynchronous operation.

Applies to