使用无密码验证删除用户帐户?

问题描述 投票:0回答:1

我已经为我的react-native应用程序从firebase实现了无密码的SignUp / SignIn,但是我不明白如果需要使用密码重新验证Delete Account方法或需要最近的SignIn刷新令牌来删除它,该如何工作?

简而言之,当我使用无密码身份验证时应如何使用reauthenticateWithCredential()

javascript firebase react-native firebase-authentication react-native-firebase
1个回答
1
投票

var credential = firebase.auth.EmailAuthProvider.credentialWithLink(email, window.location.href);

© www.soinside.com 2019 - 2024. All rights reserved.