Docs

The Backend Session object

The Backend Session object is similar to the Session object as it is an abstraction over an HTTP session and models the period of information exchange between a user and the server. However, the Backend Session object is different as it is used in the Backend API and is not directly accessible from the Frontend API.

Properties

  • Name
    id
    Type
    string
    Description

    A unique identifier for the Session.

  • Name
    clientId
    Type
    string
    Description

    The ID of the client associated with the Session.

  • Name
    userId
    Type
    string
    Description

    The ID of the user associated with the Session.

  • Name
    status
    Type
    string
    Description

    The current state of the Session.

  • Name
    lastActiveAt
    Type
    number
    Description

    The time the session was last active on the Client.

  • Name
    expireAt
    Type
    number
    Description

    The date when the Session will expire.

  • Name
    abandonAt
    Type
    number
    Description

    The date when the Session will be abandoned.

  • Name
    createdAt
    Type
    number
    Description

    Date when the Session was first created.

  • Name
    updatedAt
    Type
    number
    Description

    Date of the last time the Session was updated.

Feedback

What did you think of this content?

Last updated on