Freigeben über


UserTokenClientWrapper.GetTokenOrSignInResourceAsync Method

Definition

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

Returns

Applies to