説明
「ユーザー」
「プロフィール」の「Two-Factor 設定」を使い、アカウントに対して1つまたは複数の2要素認証を有効化し、設定してください:- メールコード
- 時間ベースのワンタイムパスワード (TOTP)
- FIDO Universal 2nd Factor (U2F)
- バックアップコード
- ダミーメソッド (テスト用のみ)
詳細な経緯は、この記事を参照してください。
アクション & フィルター
プラグインで提供するアクションフックとフィルターフックは以下のとおり:
two_factor_providers
フィルターフックは、メールや Time Based One-Time Password などの利用可能な2要素認証プロバイダーを上書きします。配列値は、2要素認証プロバイダーの PHP クラス名です。two_factor_enabled_providers_for_user
フィルターフックは、ユーザーに対して有効化している2要素認証プロバイダーの一覧を上書きします。最初の引数は、有効なプロバイダークラス名の配列であり、2番目の引数はユーザーIDです。two_factor_user_authenticated
アクションフックは、認証処理直後に、ログインしたユーザーを判別するための最初の引数として、ログインしたWP_User
オブジェクトを返します。two_factor_email_token_ttl
filter overrides the time interval in seconds that an email token is considered after generation. Accepts the time in seconds as the first argument and the ID of theWP_User
object being authenticated.two_factor_email_token_length
filter overrides the default 8 character count for email tokens.two_factor_backup_code_length
filter overrides the default 8 character count for backup codes. Providers theWP_User
of the associated user as the second argument.
FAQ
-
How can I send feedback or get help with a bug?
-
The best place to report bugs, feature suggestions, or any other (non-security) feedback is at the Two Factor GitHub issues page. Before submitting a new issue, please search the existing issues to check if someone else has reported the same feedback.
-
Where can I report security bugs?
-
The plugin contributors and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
To report a security issue, please visit the WordPress HackerOne program.
評価
貢献者と開発者
Two-Factor はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。
貢献者変更履歴
リリース履歴を参照してください。