Session

The Session object represents that a user has signed in to a client.

Attributes

Name

Description

id

string

A unique identifier for the session.

user

User

The user associated with the session.

status

enum

  • active – the session is active

  • ended – the user signed out and the session remains in the client object

  • removed – the user signed out and the session was removed from the client object

  • revoked – the application ended this session with the backend API and it was and removed from the client object

lastActiveAt

timestamp

The time this session was last active on the client.