The Session class defines the current user session. It stores a reference to the current authenticated user, and provides methods to log in/out.

Hierarchy

  • Session

Constructors

Properties

Methods

Constructors

Properties

csrfToken: string

The CSRF token.

user: null | User

The current authenticated user.

Methods

Generated using TypeDoc v0.24.8