Language

ClientApplicationBase.GetAccountAsync メソッド

定義

オーバーロード

Name 説明
GetAccountAsync(String)

トークン キャッシュで使用可能なアカウントの識別子によって IAccount を取得します。

GetAccountAsync(String, CancellationToken)

トークン キャッシュで使用可能なアカウントの識別子によって IAccount を取得します。

GetAccountAsync(String)

トークン キャッシュで使用可能なアカウントの識別子によって IAccount を取得します。

public System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount> GetAccountAsync(string accountId);
abstract member GetAccountAsync : string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount>
override this.GetAccountAsync : string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount>
Public Function GetAccountAsync (accountId As String) As Task(Of IAccount)

パラメーター

accountId
String

アカウント識別子。 識別子は通常、AccountIdのIdentifier プロパティの値です。 通常、HomeAccountId プロパティを使用して、IAccountからアカウント ID を取得します>

返品

実装

適用対象

GetAccountAsync(String, CancellationToken)

トークン キャッシュで使用可能なアカウントの識別子によって IAccount を取得します。

public System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount> GetAccountAsync(string accountId, System.Threading.CancellationToken cancellationToken = default);
member this.GetAccountAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount>
Public Function GetAccountAsync (accountId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IAccount)

パラメーター

accountId
String

アカウント識別子。 識別子は通常、AccountIdのIdentifier プロパティの値です。 通常、HomeAccountId プロパティを使用して、IAccountからアカウント ID を取得します>

cancellationToken
CancellationToken

キャンセル トークン

返品

適用対象