Class SessionService

Hierarchy

Index

Constructors

constructor

Accessors

headers

  • get headers(): {}
  • Returns {}

    • [key: string]: any

sessionTtl

  • get sessionTtl(): number
  • Returns number

Methods

createSession

  • createSession(ttl?: number, fcmToken?: string): Promise<Session>
  • Parameters

    • Optional ttl: number
    • Optional fcmToken: string

    Returns Promise<Session>

destroy

  • destroy(): void

init

refreshSession

  • refreshSession(): Promise<void>
  • Returns Promise<void>

verifySession

  • verifySession(): Promise<void>
  • Returns Promise<void>