mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-05-12 08:53:16 +08:00
[js][auth] add sendSignInLinkToEmail method
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user