@auth0/nextjs-auth0 - v4.17.0
    Preparing search index...

    Interface DiscoveryCacheOptions

    Configuration for the OIDC discovery metadata cache. Applies in both static and resolver modes.

    const auth0 = new Auth0Client({
    domain: myDomainResolver,
    discoveryCache: {
    ttl: 300, // 5-minute TTL
    maxEntries: 50, // Cache up to 50 issuers
    }
    });
    interface DiscoveryCacheOptions {
        maxEntries?: number;
        ttl?: number;
    }
    Index

    Properties

    Properties

    maxEntries?: number

    Maximum number of cached issuers. Default: 100. LRU eviction.

    ttl?: number

    Time-to-live for cached discovery metadata in seconds. Default: 600 (10 minutes).