Description

Helper class for handling authentication processes using Firemitt.

This class provides a static method to facilitate authentication by configuring and communicating with a Firemitt window. It uses the ConfigHelper to initialize configuration and the EventHelper to manage event communications.

Constructors

Methods

Constructors

Methods

  • Parameters

    • options: TFiremittOptions

      The options required to configure and initiate the Firemitt authentication process.

    Returns Promise<string>

    A promise that resolves with the authentication token on success, or rejects with an error on failure.

    Description

    Initiates authentication using Firemitt options.

    This static method opens a new window with the Firemitt URL and sets up event listeners to handle the authentication process. It listens for authentication success or failure events and resolves or rejects the promise accordingly.

    Static

Generated using TypeDoc