@me2em/core
    Preparing search index...

    Interface SessionOptions

    Options for creating a new Session.

    interface SessionOptions {
        audience: string;
        scopes: string[];
        ttl: number;
        sessionId?: string;
    }
    Index
    audience: string

    The intended audience (recipient) of this session.

    scopes: string[]

    Permission scopes granted in this session (e.g., ['read', 'write']).

    ttl: number

    Time-to-live in seconds.

    sessionId?: string

    Optional unique session identifier, used for revocation. If not provided, a random UUID is generated.