Share via


Extensions.GetUserTokenAsync Method

Definition

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

Returns

Applies to