@auth0/auth0-acul-react - v1.1.0
    Preparing search index...

    Function useLoginIdentifiers

    • Returns a list of active identifier types (such as 'email', 'phone', or 'username') currently in use in the authentication flow or login process.

      Returns IdentifierType[]

      An array of IdentifierType representing active identifiers.

      • login
      • login-id
      • reset-password-request
      import { useLoginIdentifiers } from '@auth0/auth0-acul-react/login';

      const loginIdentifiers = useLoginIdentifiers();
      const hasEmail = loginIdentifiers.includes('email');
      const hasPhone = loginIdentifiers.includes('phone');
      const hasUsername = loginIdentifiers.includes('username');

      // loginIdentifiers could be:
      // ['email', 'username']