[js][auth] add sendSignInLinkToEmail method

This commit is contained in:
Salakar 2018-05-12 23:21:39 +01:00
parent de33d97be9
commit 56ffaac06b
1 changed files with 15 additions and 0 deletions

View File

@ -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<void> {
return getNativeModule(this).sendSignInLinkToEmail(
email,
actionCodeSettings
);
}
/**
* Completes the password reset process, given a confirmation code and new password.
*