IUserTokenClient.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 System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.SignInResource> GetSignInResourceAsync(string connectionName, Microsoft.Agents.Core.Models.IActivity activity, string finalRedirect, System.Threading.CancellationToken cancellationToken);
abstract member GetSignInResourceAsync : string * Microsoft.Agents.Core.Models.IActivity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.SignInResource>
Public Function GetSignInResourceAsync (connectionName As String, activity As IActivity, 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.