Microsoft.Identity.Client.Cache.ITokenCacheAccessor
interface ITokenCacheAccessor
List<MsalAccessTokenCacheItem> GetAllAccessTokens(string optionalPartitionKey = null, ILoggerAdapter requestlogger = null)
Returns all access tokens from the underlying cache collection.
If optionalPartitionKey is specified, returns access tokens from that partition only.
List<MsalAccountCacheItem> GetAllAccounts(string optionalPartitionKey = null, ILoggerAdapter requestlogger = null)
Returns all accounts from the underlying cache collection.
If optionalPartitionKey is specified, returns accounts from that partition only.
List<MsalIdTokenCacheItem> GetAllIdTokens(string optionalPartitionKey = null, ILoggerAdapter requestlogger = null)
Returns all ID tokens from the underlying cache collection.
If optionalPartitionKey is specified, returns ID tokens from that partition only.
List<MsalRefreshTokenCacheItem> GetAllRefreshTokens(string optionalPartitionKey = null, ILoggerAdapter requestlogger = null)
Returns all refresh tokens from the underlying cache collection.
If optionalPartitionKey is specified, returns refresh tokens from that partition only.
bool HasAccessOrRefreshTokens()