@auth0/auth0-acul-js - v0.1.0-beta.7
    Preparing search index...

    Class MfaVoiceEnrollment

    Class implementing the mfa-voice-enrollment screen functionality.

    Hierarchy

    • BaseContext
      • MfaVoiceEnrollment

    Implements

    Index

    Constructors

    Properties

    screenIdentifier: string = ScreenIds.MFA_VOICE_ENROLLMENT

    Methods

    • Continues with the default action.

      Parameters

      Returns Promise<void>

      import MfaVoiceEnrollment from '@auth0/auth0-acul-js/mfa-voice-enrollment';
      const mfaVoiceEnrollmentManager = new MfaVoiceEnrollment();
      const handleContinueEnrollment = async () => {
      try {
      await mfaVoiceEnrollmentManager.continue({
      phone: '+1234567890',
      // Add any optional CustomOptions here if needed
      });
      console.log('Voice enrollment continued successfully.');
      } catch (error) {
      console.error('Error continuing voice enrollment:', error);
      }
      };
    • Retrieves the array of transaction errors from the context, or an empty array if none exist.

      Returns Classes.Error[]

      An array of error objects from the transaction context.