Extensions.GetUserTokenAsync 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.
Overloads
GetUserTokenAsync(IDialogContext, String) | |
GetUserTokenAsync(IDialogContext, String, String) |
GetUserTokenAsync(IDialogContext, String)
- Source:
- EndConversation.cs
public static System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse> GetUserTokenAsync (this Microsoft.Bot.Builder.Dialogs.IDialogContext context, string connectionName);
static member GetUserTokenAsync : Microsoft.Bot.Builder.Dialogs.IDialogContext * string -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
<Extension()>
Public Function GetUserTokenAsync (context As IDialogContext, connectionName As String) As Task(Of TokenResponse)
Parameters
- context
- IDialogContext
- connectionName
- String
Returns
Applies to
GetUserTokenAsync(IDialogContext, String, String)
- Source:
- EndConversation.cs
public static System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse> GetUserTokenAsync (this Microsoft.Bot.Builder.Dialogs.IDialogContext context, string connectionName, string magicCode);
static member GetUserTokenAsync : Microsoft.Bot.Builder.Dialogs.IDialogContext * string * string -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
<Extension()>
Public Function GetUserTokenAsync (context As IDialogContext, connectionName As String, magicCode As String) As Task(Of TokenResponse)
Parameters
- context
- IDialogContext
- connectionName
- String
- magicCode
- String