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