sendSignInLinkToEmail method

  1. @override
Future<void> sendSignInLinkToEmail(
  1. String email, [
  2. ActionCodeSettings? actionCodeSettings
])

Sends a sign in with email link to provided email address.

To complete the password reset, call confirmPasswordReset with the code supplied in the email sent to the user, along with the new password specified by the user.

A FirebaseAuthException maybe thrown with the following error code:

  • invalid-email:
  • Thrown if the email address is not valid.
  • user-not-found:
  • Thrown if there is no user corresponding to the email address.

Implementation

@override
Future<void> sendSignInLinkToEmail(
  String email, [
  ActionCodeSettings? actionCodeSettings,
]) async {
  return guardAuthExceptions(
    () => delegate.sendSignInLinkToEmail(
      email,
      convertPlatformActionCodeSettings(
        actionCodeSettings,
      ),
    ),
  );
}