[js][auth] add sendSignInLinkToEmail method
This commit is contained in:
parent
de33d97be9
commit
56ffaac06b
@ -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.
|
* Completes the password reset process, given a confirmation code and new password.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user