TESSA Web API
    Preparing search index...

    Interface ISession

    User session.

    interface ISession {
        accessToken: string;
        id: string;
        serverCode: string;
        sessionToken: ISessionToken;
        user: IUser;
        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.

    serverCode: string

    Server code.

    sessionToken: ISessionToken

    Token describing the session.

    user: IUser

    Information about the current user.

    Methods

    • 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