User session.

interface ISession {
    accessToken: string;
    applicationId: string;
    id: string;
    serverCode: string;
    sessionToken: ISessionToken;
    user: IUser;
    tryGetAccessToken(): null | string;
    tryGetSessionToken(): null | ISessionToken;
}

Hierarchy (View Summary, Expand)

Implemented by

Properties

accessToken: string

Token describing the session access data.

applicationId: string

ID of the application that opened the session.

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

MMNEPVFCICPMFPCPTTAAATR