diff --git a/lib/modules/auth/index.js b/lib/modules/auth/index.js index c1d57768..6e028eb3 100644 --- a/lib/modules/auth/index.js +++ b/lib/modules/auth/index.js @@ -391,6 +391,21 @@ export default class Auth extends ModuleBase { ); } + /** + * Sends a sign-in email link to the user with the specified email + * @param {string} email The email account to sign in with. + * @param actionCodeSettings + */ + sendSignInLinkToEmail( + email: string, + actionCodeSettings?: ActionCodeSettings + ): Promise { + return getNativeModule(this).sendSignInLinkToEmail( + email, + actionCodeSettings + ); + } + /** * Completes the password reset process, given a confirmation code and new password. *