A file-backed TokenStore. Tokens for all resources are stored as a single
JSON object ({ "<resource>": { ... } }) at path.
Encryption hook: subclass and override serialize/deserialize to encrypt
the JSON blob at rest (e.g. with a key from the OS keychain). The plaintext
implementation writes the file with owner-only (0600) permissions on
POSIX.
A file-backed TokenStore. Tokens for all resources are stored as a single JSON object ({ "<resource>": { ... } }) at path.
Encryption hook: subclass and override serialize/deserialize to encrypt the JSON blob at rest (e.g. with a key from the OS keychain). The plaintext implementation writes the file with owner-only (0600) permissions on POSIX.