InMemoryCredentialService
A CredentialService that keeps credentials in memory per app, user and credential key, so every session of a user shares them. It keeps each credential as saved, client secret included, and loses them all when the process exits.
Functions
Link copied to clipboard
Returns the credential stored under authConfig's AuthConfig.credentialKey for context, or null if there is none.
Link copied to clipboard
Stores authConfig's AuthConfig.exchangedAuthCredential under its AuthConfig.credentialKey for context. If that credential is null, a later loadCredential returns null.