animedex.auth.inmemory_store
In-memory implementation of TokenStore.
Used in two places: by unit tests (so credential paths are
exercisable without OS-level state), and by callers running in a
headless CI environment where the real keyring has no backend
(plans/02 §7 rules out plain-text disk fallbacks; this in-memory
store is the documented escape hatch for ephemeral processes).
InMemoryTokenStore
- class animedex.auth.inmemory_store.InMemoryTokenStore(initial: Mapping[str, str] | None = None)[source]
Bases:
objectA
TokenStorethat lives in process memory.