OAuthApi.GetUserTokenAsync Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
GetUserTokenAsync(String, String, CancellationToken)
Atenção
Use IOAuthApiEx.GetUserTokenAsync
[System.Obsolete("Use IOAuthApiEx.GetUserTokenAsync")]
public System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse> GetUserTokenAsync (string userId, string connectionName, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Use IOAuthApiEx.GetUserTokenAsync")>]
abstract member GetUserTokenAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
override this.GetUserTokenAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
Public Function GetUserTokenAsync (userId As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TokenResponse)
Parâmetros
- userId
- String
- connectionName
- String
- cancellationToken
- CancellationToken
Devoluções
Implementações
- Atributos
Aplica-se a
GetUserTokenAsync(String, String, String, CancellationToken)
Atenção
Use IOAuthApiEx.GetUserTokenAsync
[System.Obsolete("Use IOAuthApiEx.GetUserTokenAsync")]
public System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse> GetUserTokenAsync (string userId, string connectionName, string magicCode, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Use IOAuthApiEx.GetUserTokenAsync")>]
abstract member GetUserTokenAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
override this.GetUserTokenAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
Public Function GetUserTokenAsync (userId As String, connectionName As String, magicCode As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TokenResponse)
Parâmetros
- userId
- String
- connectionName
- String
- magicCode
- String
- cancellationToken
- CancellationToken
Devoluções
Implementações
- Atributos
Aplica-se a
GetUserTokenAsync(String, String, String, String, CancellationToken)
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>
override this.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