BotSignInExtensions.GetSignInUrlAsync 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 sign-in URL.
public static System.Threading.Tasks.Task<string> GetSignInUrlAsync (this Microsoft.Bot.Connector.IBotSignIn operations, string state, string codeChallenge = default, string emulatorUrl = default, string finalRedirect = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSignInUrlAsync : Microsoft.Bot.Connector.IBotSignIn * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function GetSignInUrlAsync (operations As IBotSignIn, 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 String)
Parameters
- operations
- IBotSignIn
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 sign-in URL.