enrollPush method
Initiates push notification enrollment.
Returns an EnrollmentChallenge containing the barcodeUri to scan with
the Guardian app, along with id and authSession needed to complete the
enrollment via confirmEnrollment.
Requires an access token with the create:me:authentication_methods
scope and audience https://{domain}/me/.
Usage example
final challenge = await myAccount.enrollPush();
Implementation
Future<EnrollmentChallenge> enrollPush() =>
Auth0FlutterWebPlatform.instance.enrollPush(_accessToken);