Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TokenCachePersistenceOptions

Package version

Parameters that enable token cache persistence in the Identity credentials.

Hierarchy

  • TokenCachePersistenceOptions

Index

Properties

Optional allowUnencryptedStorage

allowUnencryptedStorage: undefined | false | true

If set to true, the cache will be stored without encryption if no OS level user encryption is available. When set to false, the PersistentTokenCache will throw an error if no OS level user encryption is available.

enabled

enabled: boolean

If set to true, persistent token caching will be enabled for this credential instance.

Optional name

name: undefined | string

Unique identifier for the persistent token cache.

Based on this identifier, the persistence file will be located in any of the following places:

  • Darwin: '/Users/user/.IdentityService/'
  • Windows 8: 'C:\Users\user\AppData\Local\.IdentityService\'
  • Windows XP: 'C:\Documents and Settings\user\Application Data\Local\.IdentityService\'
  • Linux: '/home/user/.IdentityService/'

Generated using TypeDoc