TESSA Web API
    Preparing search index...

    Interface ISessionContainer

    Provides session information.

    interface ISessionContainer {
        accessToken: string;
        id: string;
        isInitialized: boolean;
        serverCode: string;
        session: ISession;
        sessionToken: ISessionToken;
        user: IUser;
        initialize(session: ISession): Promise<void>;
        tryGetAccessToken(): null | string;
        tryGetSessionToken(): null | ISessionToken;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    accessToken: string

    Token describing the session access data.

    id: string

    Session ID.

    isInitialized: boolean

    Session has been initialized.

    serverCode: string

    Server code.

    session: ISession

    Opened session.

    sessionToken: ISessionToken

    Token describing the session.

    user: IUser

    Information about the current user.

    Methods

    • Performs session initialization.

      Parameters

      • session: ISession

        The session to initialize.

      Returns Promise<void>

    • Token describing the session access data, or `null' if the session is not associated with the token.

      Returns null | string

    • Token describing the session, or `null' if the session is not associated with the token.

      Returns null | ISessionToken