A session authenticated for a user with Satori server.

Hierarchy

  • Session

Implements

Constructors

Properties

created_at: number

The UNIX timestamp when this session was created.

expires_at?: number

The UNIX timestamp when this session will expire.

refresh_expires_at?: number

The UNIX timestamp when the refresh token will expire.

refresh_token: string

Refresh token that can be used for session token renewal.

token: string

The authorization token used to construct this session.

user_id?: string

The ID of the user who owns this session.

vars?: object

Any custom properties associated with this session.

Methods

  • Parameters

    • token: string
    • refreshToken: string

    Returns void

Generated using TypeDoc