Partager via


IOAuthApiEx.GetUserTokenAsync Méthode

Définition

public System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse> GetUserTokenAsync (string channelId, string userId, string connectionName, string magicCode = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUserTokenAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
Public Function GetUserTokenAsync (channelId As String, userId As String, connectionName As String, Optional magicCode As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TokenResponse)

Paramètres

channelId
String
userId
String
connectionName
String
magicCode
String
cancellationToken
CancellationToken

Retours

S’applique à