UserTokenClientWrapper.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.
public static System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.TokenResponse> GetUserTokenAsync(Microsoft.Agents.Builder.ITurnContext context, string connectionName, string magicCode, System.Threading.CancellationToken cancellationToken);
static member GetUserTokenAsync : Microsoft.Agents.Builder.ITurnContext * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.TokenResponse>
Public Shared Function GetUserTokenAsync (context As ITurnContext, connectionName As String, magicCode As String, cancellationToken As CancellationToken) As Task(Of TokenResponse)
Parameters
- context
- ITurnContext
- connectionName
- String
- magicCode
- String
- cancellationToken
- CancellationToken