ClientApplicationBase.GetAccountsAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Naam | Description |
|---|---|
| GetAccountsAsync() |
Retourneert alle beschikbare accounts in de cache van het gebruikerstoken voor de toepassing. |
| GetAccountsAsync(String) |
Haal de IAccount verzameling op basis van de id op van de accounts die beschikbaar zijn in de tokencache, op basis van de gebruikersstroom. Dit is voor Azure AD B2C-scenario's. |
| GetAccountsAsync(CancellationToken) |
Retourneert alle beschikbare accounts in de cache van het gebruikerstoken voor de toepassing. |
| GetAccountsAsync(String, CancellationToken) |
Haal de IAccount verzameling op basis van de id op van de accounts die beschikbaar zijn in de tokencache, op basis van de gebruikersstroom. Dit is voor Azure AD B2C-scenario's. |
GetAccountsAsync()
Retourneert alle beschikbare accounts in de cache van het gebruikerstoken voor de toepassing.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Identity.Client.IAccount>> GetAccountsAsync();
abstract member GetAccountsAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Identity.Client.IAccount>>
override this.GetAccountsAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Identity.Client.IAccount>>
Public Function GetAccountsAsync () As Task(Of IEnumerable(Of IAccount))
Retouren
Implementeringen
Van toepassing op
GetAccountsAsync(String)
Haal de IAccount verzameling op basis van de id op van de accounts die beschikbaar zijn in de tokencache, op basis van de gebruikersstroom. Dit is voor Azure AD B2C-scenario's.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Identity.Client.IAccount>> GetAccountsAsync(string userFlow);
abstract member GetAccountsAsync : string -> System.Threading.Tasks.Task<seq<Microsoft.Identity.Client.IAccount>>
override this.GetAccountsAsync : string -> System.Threading.Tasks.Task<seq<Microsoft.Identity.Client.IAccount>>
Public Function GetAccountsAsync (userFlow As String) As Task(Of IEnumerable(Of IAccount))
Parameters
- userFlow
- String
De id is de gebruikersstroom waarop de specifieke B2C-instantie/>gericht is.
Retouren
Implementeringen
Van toepassing op
GetAccountsAsync(CancellationToken)
Retourneert alle beschikbare accounts in de cache van het gebruikerstoken voor de toepassing.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Identity.Client.IAccount>> GetAccountsAsync(System.Threading.CancellationToken cancellationToken = default);
member this.GetAccountsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Identity.Client.IAccount>>
Public Function GetAccountsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of IAccount))
Parameters
- cancellationToken
- CancellationToken
Retouren
Van toepassing op
GetAccountsAsync(String, CancellationToken)
Haal de IAccount verzameling op basis van de id op van de accounts die beschikbaar zijn in de tokencache, op basis van de gebruikersstroom. Dit is voor Azure AD B2C-scenario's.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Identity.Client.IAccount>> GetAccountsAsync(string userFlow, System.Threading.CancellationToken cancellationToken = default);
member this.GetAccountsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Identity.Client.IAccount>>
Public Function GetAccountsAsync (userFlow As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of IAccount))
Parameters
- userFlow
- String
De id is de gebruikersstroom waarop de specifieke B2C-instantie/>is gericht.
- cancellationToken
- CancellationToken
Annuleringstoken