IOAuthApi.GetUserTokenAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetUserTokenAsync(String, String, CancellationToken) |
Obsoletos.
|
GetUserTokenAsync(String, String, String, CancellationToken) |
Obsoletos.
|
GetUserTokenAsync(String, String, CancellationToken)
Precaución
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>
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
Devoluciones
- Atributos
Se aplica a
GetUserTokenAsync(String, String, String, CancellationToken)
Precaución
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>
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
Devoluciones
- Atributos