startRegistration method

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

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.

Always returns a account request ID, which can be used to complete the registration. If the email is already registered, the returned ID will not be valid.

Implementation

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