novx
    Preparing search index...

    Interface Session<U, T>

    A Session captures the data of a logged in user and cooresponding technical information in the form of a ticket ( e.g. tokens, expire date, ... )

    U the user type

    T the ticket type

    interface Session<U = any, T = any> {
        expiry?: number;
        locale?: string;
        sessionLocals: Record<string, any>;
        ticket: T;
        user: U;
    }

    Type Parameters

    • U = any
    • T = any
    Index

    Properties

    expiry?: number
    locale?: string
    sessionLocals: Record<string, any>
    ticket: T
    user: U