express-openid-connect
    Preparing search index...

    Interface SessionStorePayload<Data>

    interface SessionStorePayload<Data = Session> {
        cookie: { expires: number; maxAge: number };
        data: Data;
        header: { exp: number; iat: number; uat: number };
    }

    Type Parameters

    Index

    Properties

    Properties

    cookie: { expires: number; maxAge: number }

    This makes it compatible with some express-session stores that use this to set their ttl.

    data: Data

    The session data.

    header: { exp: number; iat: number; uat: number }

    Type declaration

    • exp: number

      timestamp (in secs) when the session expires.

    • iat: number

      timestamp (in secs) when the session was created.

    • uat: number

      timestamp (in secs) when the session was last touched.