IOAuthApi.GetUserTokenAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GetUserTokenAsync(String, String, CancellationToken) |
Obsolète.
|
GetUserTokenAsync(String, String, String, CancellationToken) |
Obsolète.
|
GetUserTokenAsync(String, String, CancellationToken)
Attention
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)
Paramètres
- userId
- String
- connectionName
- String
- cancellationToken
- CancellationToken
Retours
- Attributs
S’applique à
GetUserTokenAsync(String, String, String, CancellationToken)
Attention
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)
Paramètres
- userId
- String
- connectionName
- String
- magicCode
- String
- cancellationToken
- CancellationToken
Retours
- Attributs