startRegistration method

Future<void> startRegistration(
  1. Session session, {
  2. required String email,
  3. required String password,
})

Starts the registration for a new user account with an email-based login associated to it.

Upon successful completion of this method, an email will have been sent to email with a verification link, which the user must open to complete the registration.

Implementation

Future<void> startRegistration(
  final Session session, {
  required final String email,
  required final String password,
}) async {
  return AuthEmail.startRegistration(
    session,
    email: email,
    password: password,
  );
}