• 关于WordPress
    • 关于WordPress
    • WordPress.org
    • 文档
    • 支持
    • 反馈
  • 登录
  • 注册
跳至内容

WordPress.org

China 简体中文

  • 首页
  • 主题
  • 插件
  • 博客
  • 支持
  • 文档
  • 论坛
  • 获取WordPress
  • 团队
  • 关于

插件

  • 我的收藏
  • Beta测试
  • 开发者
下载

Two-Factor

作者Plugin Contributors
  • 详情
  • 评价
  • 技术支持
  • 开发进展

描述

前往“用户”→“我的个人资料”,到“双重认证选项”下为您的帐户启用一个或多个双重认证方式:

  • 邮箱验证码
  • 基于时间的一次性密码(TOTP)
  • FIDO 通用第二因素(U2F)
  • 备用验证码
  • 虚拟方法(仅用于测试目的)

有关更多历史,请参阅这篇文章。

动作和过滤器

以下列出该插件提供的动作和过滤器挂钩:

  • two_factor_providers 过滤器:将覆盖可用的双重验证提供方式,例如电子邮件和基于时间的一次性密码。数组值为双重认证方式的 PHP 类名。
  • two_factor_enabled_providers_for_user 过滤器:将覆盖提供给用户启用的双重认证方式清单。第一个参数为启用的方式提供类名数组作为值,第二个参数为用户 ID。
  • two_factor_user_authenticated 动作:接收已登录的 WP_User 对象作为第一个参数,用在身份验证工作流之后确定登录的用户。
  • two_factor_token_ttl 过滤器:将覆盖生成电子邮件验证码后的过期时间(以秒为单位)。第一个参数接受以秒为单位的时间,并用于验证正在验证的 WP_User 对象的 ID。

参与其中

开发工作在 GitHub 上进行。加入 #core-passwords 频道在 WordPress Slack (从这里注册)。

以下是如何开始:

$ git clone https://github.com/wordpress/two-factor.git
$ npm install

然后创建包含建议与更改的拉取请求。

屏幕截图

  • “双重认证选项”在“我的个人资料”下。
  • U2F安全密钥在“我的个人资料”下。
  • 登陆 WordPress 时使用邮件发送验证码进行验证。

评价

it is simple and amazing

makecake 2021年4月15日
I did not try any other plugin, I will stick with this one. It is very simple yet great. You can get code to your email address or use the one on the authentication app you use, or do both. very simple and easy to use and great.

Awesome & Easy to Integrate with WP. Thank You

csehabiburr183 2021年3月19日
Really this plugin is Awesome & Easy to Integrate with WP. Thank You

Works like a charm

raisinsvalley 2021年3月15日
I am using it and I can confirm it works in WordPress 5.7. The best free 2FA plugin with support for hardware security keys!

Great plugin

mondelezdesign 2021年3月9日
Very useful!

Functional and efficient plugin, thanks !

Cyrille37 2021年3月7日
Thanks for this plugin, efficient to bring more security to WordPress.

So simple, and so good

marverix 2021年2月27日
Works like a charm out of the box. My Yubikey worked immediately. Zero issues.
阅读所有133条评价

贡献者及开发者

“Two-Factor” 是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • George Stephanis
  • Derek Herman
  • Steven Word
  • Daisuke Takahashi
  • Scott Grant
  • Aaron D. Campbell
  • John Blackbourn
  • Steve Grunwell
  • Stephen Edgar
  • Kaspars
  • Ali H. Arshad
  • Arslan Ahmed

“Two-Factor”插件已被翻译至25种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Two-Factor”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

查看发布历史记录。

元信息

  • 版本:0.7.0
  • 最后更新:8月前
  • 有效安装数量:30,000+
  • WordPress版本: 4.3或更高
  • 最高兼容版本:5.5.4
  • PHP版本: 5.6或更高
  • 语言:

    Albanian、Arabic、Chinese (China)、Chinese (Hong Kong)、Chinese (Taiwan)、Czech、Danish、Dutch、English (Canada)、English (UK)、English (US)、Finnish、French (France)、Galician、German、Italian、Japanese、Norwegian (Bokmål)、Polish、Russian、Spanish (Mexico)、Spanish (Spain)、Spanish (Venezuela)、Swedish、Urdu和Vietnamese.

    翻译成您的语言

  • 标签:
    authenticationlogintotptwo factortwo step
  • 高级视图

评级

查看所有评价
  • 5星 120
  • 4星 8
  • 3星 1
  • 2星 2
  • 1星 2
登录以提交评价。

贡献者

  • George Stephanis
  • Derek Herman
  • Steven Word
  • Daisuke Takahashi
  • Scott Grant
  • Aaron D. Campbell
  • John Blackbourn
  • Steve Grunwell
  • Stephen Edgar
  • Kaspars
  • Ali H. Arshad
  • Arslan Ahmed

技术支持

最近两个月解决的问题:

总计 2,已解决 0

查看支持论坛

  • 关于WordPress
  • 博客
  • 主机
  • 捐助
  • 支持
  • 开发者
  • 参与
  • 学习
  • 展示站点
  • 插件
  • 主题
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt Mullenweg
  • 隐私
  • Public Code
  • @WordPress
  • WordPress

代码如诗