Options
All
  • Public
  • Public/Protected
  • All
Menu

This class implements Storage for node, reading cache from user specified storage location or an extension library

Hierarchy

Index

Constructors

constructor

Methods

cacheToInMemoryCache

clear

  • clear(): Promise<void>

containsKey

  • containsKey(key: string): boolean

emitChange

  • emitChange(): void

generateAuthorityMetadataCacheKey

  • generateAuthorityMetadataCacheKey(authority: string): string

getAccessTokenCredential

getAccount

getAccountsFilteredBy

  • getAccountsFilteredBy(accountFilter?: AccountFilter): Record<string, AccountEntity>

getAllAccounts

getAppMetadata

getAppMetadataFilteredBy

  • getAppMetadataFilteredBy(filter: AppMetadataFilter): Record<string, AppMetadataEntity>

getAuthorityMetadata

getAuthorityMetadataByAlias

getAuthorityMetadataKeys

  • getAuthorityMetadataKeys(): string[]

getCache

getCredentialsFilteredBy

  • getCredentialsFilteredBy(filter: CredentialFilter): CredentialCache

getIdTokenCredential

getInMemoryCache

getItem

getKeys

  • getKeys(): string[]

getRefreshTokenCredential

getServerTelemetry

getThrottlingCache

inMemoryCacheToCache

isAppMetadataFOCI

  • isAppMetadataFOCI(environment: string, clientId: string): boolean

readAccessTokenFromCache

readAccountFromCache

readAppMetadataFromCache

readCacheRecord

readIdTokenFromCache

readRefreshTokenFromCache

registerChangeEmitter

  • registerChangeEmitter(func: () => void): void

removeAccount

  • removeAccount(accountKey: string): Promise<boolean>

removeAccountContext

removeAllAccounts

  • removeAllAccounts(): Promise<boolean>

removeAppMetadata

  • removeAppMetadata(): boolean

removeCredential

removeItem

  • removeItem(key: string): boolean

saveCacheRecord

  • saveCacheRecord(cacheRecord: CacheRecord): Promise<void>

setAccessTokenCredential

setAccount

setAppMetadata

setAuthorityMetadata

setCache

setIdTokenCredential

setInMemoryCache

setItem

setRefreshTokenCredential

setServerTelemetry

setThrottlingCache

  • setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity): void

Static generateInMemoryCache

Static generateJsonCache

Static toObject

  • toObject<T>(obj: T, json: object): T

Generated using TypeDoc