Client for Auth0 MyAccount API operations.

Provides methods for managing the current user's account:

  • Connected accounts (link/unlink external identity providers)
  • MFA factors
  • Authentication methods (passkeys, phone, email, TOTP) - list, get, update, delete
  • Authentication method enrollment (challenge and verify)

Constructors

Methods

  • Delete an authentication method by ID.

    Parameters

    • id: string

      The ID of the authentication method to delete

    Returns Promise<void>

    A promise that resolves when the authentication method has been deleted

  • Get the status of all factors for the current user.

    Returns Promise<Factor[]>

    A promise that resolves to an array of factors with their enabled/disabled status