Subscribes to an event type.
The event type
The function to subscribe to events of this type
Unsubscribes all listener functions to a single event type or all event types.
The event type, or all event types if not specified
Reserved for future use. Returns the current instance of FRUI for chaining.
Publishes an event.
The event object to publish
Completes an authentication tree and returns the success or failure response.
Default configuration overrides
Unsubscribes from an event type.
The event type
The function to unsubscribe from events of this type
Orchestrates the flow through an authentication tree using
FRAuth
, generating a handler for each step using the default or provided handler factory.Example:
const ui = new forgerock.FRUI(); const result = await ui.getSession();