@auth0/auth0-acul-js - v1.10.0
    Preparing search index...

    Interface SignupMembers

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Optional on the interface so existing implementors of BaseMembers (e.g. test mocks) keep compiling. Always populated at runtime by the BaseContext constructor.

    experiment?: Screens.ExperimentMembers | null

    The active Experiment Center experiment for the current screen, or null when none is active (or the screen has not opted in via context_configuration).

    Optional on the interface so existing implementors of BaseMembers (e.g. test mocks) keep compiling. Always populated at runtime by the BaseContext constructor.

    Methods

    • Utility Feature

      Returns a list of enabled identifiers (e.g. email, phone, username) based on the current transaction state.

      Identifiers may be required or optional depending on the connection strategy and configuration provided during the authentication or signup flow.

      Returns Screens.Identifier[] | null

      An array of enabled Identifier objects, or null if the transaction is not initialized.

      const identifiers = authClient.getSignupIdentifiers();
      if (identifiers) {
      identifiers.forEach(({ type, required }) => {
      console.log(`${type} is ${required ? 'required' : 'optional'}`);
      });
      }

      Identifier