Class Session

Hierarchy

Index

Constructors

constructor

  • Parameters

    Returns Session

Properties

Optional account

account: Account

Optional expireAt

expireAt: Date

token

token: string

ttl

ttl: number

Static TTL_MARGIN

TTL_MARGIN: number = 3000

Methods

Optional refresh

  • refresh(): void
  • Returns void

Optional toStoredSession

Optional verify

  • verify(): boolean
  • Returns boolean

Static fromStoredSession