UserTokenClient.GetSignInResourceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.