Meshpocalypse Semantic
    Preparing search index...

    Class JsonFileKeyPersistenceAdapter

    Filesystem-based KeyPersistenceAdapter for Node.js deployments.

    Writes are atomic: data is written to <filePath>.tmp then renamed to <filePath> to avoid leaving a corrupt file on crash or power loss.

    const adapter = new JsonFileKeyPersistenceAdapter({ filePath: '/data/jwt-keys.json' });
    const provider = new IdentityProvider({ keyPersistenceAdapter: adapter });

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods