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);

Hierarchy

  • Config

Methods

Constructors

Properties

Methods

  • Method

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

    Returns

    • Returns a success or failure message object

    Parameters

    Returns Promise<void>

Constructors

Properties

options: ConfigOptions