Microsoft.Identity.Client.ClientApplicationBase
public abstract class ClientApplicationBase : ApplicationBase, IClientApplicationBase, IApplicationBase
Details on the configuration of the ClientApplication for debugging purposes.
public AcquireTokenSilentParameterBuilder AcquireTokenSilent(IEnumerable<string> scopes, IAccount account)
public AcquireTokenSilentParameterBuilder AcquireTokenSilent(IEnumerable<string> scopes, string loginHint)
public Task<IAccount> GetAccountAsync(string accountId, CancellationToken cancellationToken = default)
Get the IAccount by its identifier among the accounts available in the token cache.
Returns all the available IAccountaccounts in the user token cache for the application.
public Task<IEnumerable<IAccount>> GetAccountsAsync(string userFlow, CancellationToken cancellationToken = default)
Get the IAccount collection by its identifier among the accounts available in the token cache,
based on the user flow. This is for Azure AD B2C scenarios.
Removes all tokens in the cache for the specified account.
Removes all tokens in the cache for the specified account.