问题描述
我对离子性很陌生,会反应。我正在尝试构建一个使用电话号码来验证用户身份的应用程序。我是否可以遵循任何特定的博客或代码库,以便轻松构建此组件?
这是我要构建的示例屏幕。
解决方法
首先,您应该对身份验证工作流程的工作原理有所了解。然后确定要用于MFA的方法。
您的应用没有服务器吗?
如果是,则可以检查由AWS和Google Cloud等优秀提供商提供的无服务器实施MFA方法。
如果您的应用确实有服务器,则可以处理它。
我还发现了以下对您有用的链接。
https://scotch.io/tutorials/multifactor-authentication-in-your-react-apps
https://developer.okta.com/blog/2018/03/16/build-react-native-authentication-oauth-2
https://medium.com/react-native-training/react-native-authentication-in-depth-8d8c2e4ad81b