sendSignInLinkToEmail method

Future sendSignInLinkToEmail(
  1. String email, [
  2. ActionCodeSettings? actionCodeSettings
])

Sends a sign-in email link to the user with the specified email.

The sign-in operation has to always be completed in the app unlike other out of band email actions (password reset and email verifications). This is because, at the end of the flow, the user is expected to be signed in and their Auth state persisted within the app.

To complete sign in with the email link, call Auth.signInWithEmailLink with the email address and the email link supplied in the email sent to the user.

Implementation

Future sendSignInLinkToEmail(String email,
        [ActionCodeSettings? actionCodeSettings]) =>
    handleThenable(jsObject.sendSignInLinkToEmail(email, actionCodeSettings));