enrollEmail method

Future<MfaEnrollmentChallenge> enrollEmail({
  1. required String email,
})

Enrolls a new email factor for the given email address.

Returns an MfaEnrollmentChallenge containing the oobCode used to complete verification via verifyOob once the user receives the code.

Implementation

Future<MfaEnrollmentChallenge> enrollEmail({required final String email}) =>
    Auth0FlutterWebPlatform.instance.mfaEnrollEmail(_mfaToken, email);