StaticauthInitiates authentication using Firemitt options.
Depending on the mode field in options, this either opens a popup window (default)
or embeds Fireguard inside an iframe. In popup mode, it must be called synchronously from a
user gesture (e.g. a click handler), otherwise the browser blocks the popup.
Starting a new session cancels the previous one, which then rejects with
"A new authentication session was started.".
The options required to configure and initiate the Firemitt authentication process.
A promise that resolves with the authentication token on success, or rejects with an error on failure
(PopupBlockedError, AuthFailedError, or an Error when the window is closed or the session is replaced).
Helper class for handling authentication processes using Firemitt.
Provides static methods to initiate authentication via a popup window or an embedded iframe. Uses
ConfigHelperto initialize and validate configuration, and runs a cross-window handshake with the Fireguard auth page for each session.