linkEmailPassword abstract method
Link anonymous account to email/password credentials
Converts an anonymous user to a permanent account while preserving the UID. After linking, the user can sign in with email/password on other devices.
Returns AuthServiceLinkFailure.emailAlreadyInUse if email is already registered. Returns AuthServiceLinkFailure.weakPassword if password is less than 6 characters.
Implementation
Future<Either<AuthServiceLinkFailure, Unit>> linkEmailPassword(
String email,
String password,
);