有人知道 Symfony 3 构建应用程序的双因素身份验证 API 吗?

Is anyone aware of two-factor authentication APIs for Symfony 3 built applications?

有人知道 Symfony 3 的双因素身份验证实现吗? 我查看了来自 Google-Authenticators 或 Authy 的一些软令牌、Yubico 或 sms 验证的硬令牌,但如果它们与 Symfony 3 兼容,则很难找到答案...... 请提供任何指导?

Symfony 有现成的捆绑包:

此处为 Twilio 开发人员布道师。

快速 Google 让我进入这个库 Authy with Symfony 2/3(虽然它看起来只有一次提交)。

A​​uthy 最终是一个 REST API,您可以使用 Authy library for PHP. And while it's not Symfony, there is a tutorial showing how you'd implement two factor authentication using Authy and Laravel 从您的控制器调用它,这可能会有所帮助。

希望对您有所帮助!