signInWithEmailLink method
Signs in using an email address and email sign-in link.
Fails with an error if the email address is invalid or OTP in email link expires.
Confirm the link is a sign-in email link before calling this method, using isSignInWithEmailLink.
A FirebaseAuthException maybe thrown with the following error code:
- expired-action-code:
- Thrown if OTP in email link expires.
- invalid-email:
- Thrown if the email address is not valid.
- user-disabled:
- Thrown if the user corresponding to the given email has been disabled.
Implementation
///
/// A [FirebaseAuthException] maybe thrown with the following error code:
/// - **expired-action-code**:
/// - Thrown if OTP in email link expires.
/// - **invalid-email**:
/// - Thrown if the email address is not valid.
/// - **user-disabled**:
/// - Thrown if the user corresponding to the given email has been disabled.
Future<UserCredentialPlatform> signInWithEmailLink(
String email,
String emailLink,
) async {
throw UnimplementedError('signInWithEmailLink() is not implemented');
}