Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Authentication

Hierarchy

  • Authentication

Index

Constructors

Properties

currentOrganization: undefined | string
currentUser: undefined | User
defaultDeviceId: undefined | string
isShareToken: boolean = false
refreshToken: undefined | string
token: undefined | string
waitingForAuth: ((result: boolean) => void)[] = []

Methods

  • getCurrentUser(): undefined | User
  • isAuthenticated(): boolean
  • listenForRefresh(): Promise<void>
  • loginWithToken(token: string, refreshToken?: string): Promise<void>
  • waitTilAuthenticated(): Promise<boolean>

Generated using TypeDoc