Optional
staticAuthorityOptions: StaticAuthorityOptionsValidate the cache key against filter before retrieving and parsing cache value
Converts cacheKVStore to InMemoryCache
key value store
Returns whether or not the given credential entity matches the filter
Retrieve AccessTokenEntity from cache
{AccountInfo}
{BaseAuthRequest}
Optional
tokenKeys: TokenKeys{?TokenKeys}
Optional
targetRealm: stringOptional
performanceClient: IPerformanceClient{?IPerformanceClient}
Optional
correlationId: string{?string}
fetch the accessToken credential
lookup key to fetch cache type AccessTokenEntity
Gets all access tokens matching the filter
Gets first tenanted AccountInfo object found based on provided filters
Retrieve account entities matching all provided tenant-agnostic filters; if no filter is set, get all account entities in the cache Not checking for casing as keys are all generated in lower case, remember to convert to lower case if object properties are compared
An object containing Account properties to filter by
Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
Optional
accountFilter: AccountFilter(Optional) filter to narrow down the accounts returned
Array of AccountInfo objects in cache
fetch appMetadata entity from the platform cache
lookup key to fetch cache type AppMetadataEntity
Returns a single matching
get the current cache key-value store
Retrieve IdTokenEntity from cache
{AccountInfo}
Optional
tokenKeys: TokenKeys{?TokenKeys}
Optional
targetRealm: string{?string}
Optional
performanceClient: IPerformanceClient{?IPerformanceClient}
Optional
correlationId: string{?string}
fetch the idToken credential
lookup key to fetch cache type IdTokenEntity
Gets all idTokens matching the given filter
Optional
tokenKeys: TokenKeysgets the current in memory cache for the client
Helper to retrieve the appropriate refresh token from cache
{AccountInfo}
{boolean}
Optional
tokenKeys: TokenKeys{?TokenKeys}
Optional
performanceClient: IPerformanceClient{?IPerformanceClient}
Optional
correlationId: string{?string}
fetch the refreshToken credential
lookup key to fetch cache type RefreshTokenEntity
fetch server telemetry entity from the platform cache
lookup key to fetch cache type ServerTelemetryEntity
fetch throttling entity from the platform cache
lookup key to fetch cache type ThrottlingEntity
Validate the cache key against filter before retrieving and parsing cache value
converts inMemoryCache to CacheKVStore
kvstore map for inmemory
Retrieve AccountEntity from cache
Retrieve AppMetadataEntity from cache
Validate the cache key against filter before retrieving and parsing cache value
saves a cache record
{CacheRecord}
Optional
storeInCache: StoreInCache{?StoreInCache}
Optional
correlationId: string{?string} correlation id
set accessToken credential
cache value to be set of type AccessTokenEntity
set appMetadata entity to the platform cache
cache value to be set of type AppMetadataEntity
sets the current cache (key value store)
set idToken credential
cache value to be set of type IdTokenEntity
sets the current in memory cache for the client
key value map in memory
set refreshToken credential
cache value to be set of type RefreshTokenEntity
set server telemetry entity to the platform cache
lookup key to fetch cache type ServerTelemetryEntity
cache value to be set of type ServerTelemetryEntity
set throttling entity to the platform cache
lookup key to fetch cache type ThrottlingEntity
cache value to be set of type ThrottlingEntity
Static
generateInitialize in memory cache from an exisiting cache vault
blob formatted cache (JSON)
Static
generateretrieves the final JSON
itemised cache read from the JSON
Static
toGenerated using TypeDoc
This class implements Storage for node, reading cache from user specified storage location or an extension library