enrollEmail method
Initiates email enrollment with the specified email address.
Returns an EnrollmentChallenge containing the enrollment id and
authSession needed to complete verification via verifyOtp.
Requires an access token with the create:me:authentication_methods
scope and audience https://{domain}/me/.
Usage example
final challenge = await myAccount.enrollEmail(
email: 'user@example.com',
);
Implementation
Future<EnrollmentChallenge> enrollEmail({required String email}) =>
Auth0FlutterWebPlatform.instance.enrollEmail(_accessToken, email);