OAuthClientOld.GetSignInLinkAsync(String, String, CancellationToken) 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<string> GetSignInLinkAsync (string state, string finalRedirect = default, System.Threading.CancellationToken cancellationToken = default);
member this.GetSignInLinkAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetSignInLinkAsync (state As String, Optional finalRedirect As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- state
- String
A serialized and encoded parameter of a TokenExchangeState parameter.
- finalRedirect
- String
The endpoint URL for the final page of a successful login attempt.
- cancellationToken
- CancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
A task that represents the work queued to execute.
Remarks
If the task completes successfully and the call to the OAuth client is successful, the result contains the signin link.