Compartilhar via


IOAuthApiEx.GetUserTokenAsync Método

Definição

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)

Parâmetros

channelId
String
userId
String
connectionName
String
magicCode
String
cancellationToken
CancellationToken

Retornos

Aplica-se a