Meshpocalypse Semantic
    Preparing search index...

    Interface KeyPersistenceAdapter

    Injectable adapter that persists JWT signing keys across process restarts.

    Implementations may target the filesystem, a KV store, Redis, etc. The default behaviour (no adapter) is purely in-memory — keys are lost on restart.

    const adapter = new JsonFileKeyPersistenceAdapter({ filePath: '/data/keys.json' });
    const provider = new IdentityProvider({ keyPersistenceAdapter: adapter });
    interface KeyPersistenceAdapter {
        load(): Promise<KeySet | null>;
        save(keySet: KeySet): Promise<void>;
    }

    Implemented by

    Index

    Methods

    Methods