Properties

account: AccountApi
apiClient: ApiClient
chat: ChatApi
projects: ProjectsApi
stats: StatsApi

Accessors

Methods

  • When using cookie authentication, client has no way to detect if the user is authenticated or not. This method can be used to check if the user is authenticated and populate the currentAccount.

    Returns Promise<boolean>

  • When using token authentication, this method can be used to set the tokens. This is useful when the tokens are stored in a secure location and you want to resume the session.

    Parameters

    Returns Promise<void>