wsfed-caep-nodejs
    Preparing search index...

    Interface SessionIndex

    Where the receiver looks up sessions. The default is one process's memory; an application that runs several processes gives every one of them the same index (a database table, Redis), so that an event one process receives ends a session another process created.

    interface SessionIndex {
        add(session: TrackedSession): void | Promise<void>;
        byEmail(email: string): string[] | Promise<string[]>;
        byIdpSession(idpSession: string): string[] | Promise<string[]>;
        byPerson(person: string): string[] | Promise<string[]>;
        remove(localId: string): void | Promise<void>;
    }

    Implemented by

    Index