OAuthApi.GetUserTokenAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetUserTokenAsync(String, String, CancellationToken) |
古い.
|
GetUserTokenAsync(String, String, String, CancellationToken) |
古い.
|
GetUserTokenAsync(String, String, String, String, CancellationToken) |
GetUserTokenAsync(String, String, CancellationToken)
注意事項
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)
パラメーター
- userId
- String
- connectionName
- String
- cancellationToken
- CancellationToken
戻り値
実装
- 属性
適用対象
GetUserTokenAsync(String, String, String, CancellationToken)
注意事項
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)
パラメーター
- userId
- String
- connectionName
- String
- magicCode
- String
- cancellationToken
- CancellationToken
戻り値
実装
- 属性
適用対象
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)
パラメーター
- channelId
- String
- userId
- String
- connectionName
- String
- magicCode
- String
- cancellationToken
- CancellationToken