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

    Interface SessionDataStore

    interface SessionDataStore {
        delete(id: string): Promise<void>;
        deleteByLogoutToken(logoutToken: LogoutToken): Promise<void>;
        get(id: string): Promise<null | SessionData>;
        set(id: string, session: SessionData): Promise<void>;
    }
    Index

    Methods

    • Destroys the session with the given session ID.

      Parameters

      • id: string

      Returns Promise<void>

    • Deletes the session with the given logout token which may contain a session ID or a user ID, or both.

      Parameters

      Returns Promise<void>