Class ConfigAbstract

Utility for merging configuration defaults with one-off options.

Example:

// Establish configuration defaults
Config.set({
clientId: 'myApp',
serverConfig: { baseUrl: 'https://openam-domain.com/am' },
tree: 'UsernamePassword'
});

// Specify overrides as needed
const configOverrides = { tree: 'PasswordlessWebAuthn' };
const step = await FRAuth.next(undefined, configOverrides

Constructors

Properties

options: ConfigOptions

Methods

  • Parameters

    Returns Promise<void>

    • Returns a success or failure message object

    setAsync - Asynchronously calls the WellKnown endpoint to collect the APIs for OAuth