Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Config

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

Index

Methods

Methods

Static get

Static set