Hierarchy

  • DashboardClient

Constructors

Properties

_sessionToken: EmailTokenDTO
_url: string
_workspaceId: string
_defaultUrl: string = '/api'

Methods

  • Authenticate a session using an email message sent to the email address with a secret code number.

    This call will not save the token automatically. See .loginUsingEmail() for that functionality.

    Parameters

    • email: string

      The email address to use for validation

    • langString: string = undefined

      The language for the email message

    Returns Promise<EmailTokenDTO>

  • Fetch list of users from the backend for this workspace

    Parameters

    • workspaceId: string
    • userIdList: string[] = []

    Returns Promise<readonly User[]>

  • Authenticate a session using an email message sent to the email address with a secret code number.

    See also .verifySessionWithCode()

    Parameters

    • email: string

    Returns Promise<void>

Generated using TypeDoc