On POST requests, runs an initializer and/or performs a registration step, both optional.

Hierarchy

Constructors

Properties

initializer?: Initializer
logger: Logger = ...
registrationManager?: RegistrationManager

Methods

  • Register a user based on the given input. Errors if no registration manager is defined.

    Parameters

    • json: Dict<any>

    Returns Promise<Record<string, any>>