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

    Interface SignupMembers

    interface SignupMembers {
        branding: Screens.BrandingMembers;
        client: Screens.ClientMembers;
        organization: Screens.OrganizationMembers;
        prompt: Screens.PromptMembers;
        screen: Screens.ScreenMembersOnSignup;
        tenant: Screens.TenantMembers;
        transaction: Screens.TransactionMembersOnSignup;
        untrustedData: Screens.UntrustedDataMembers;
        user: Screens.UserMembers;
        changeLanguage(options: Screens.LanguageChangeOptions): Promise<void>;
        federatedSignup(
            payload: Screens.FederatedSignupPayloadOptions,
        ): Promise<void>;
        getErrors(): Screens.Error[];
        getSignupIdentifiers(): Screens.Identifier[] | null;
        pickCountryCode(payload?: Screens.CustomOptions): Promise<void>;
        signup(payload: Screens.SignupPayloadOptions): Promise<void>;
        validatePassword(password: string): Screens.PasswordValidationResult;
        validateUsername(username: string): Screens.UsernameValidationResult;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    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