Extension:EmailAuth
Appearance
混同しないでください: Extension:Email Authorization.
![]() リリースの状態: 安定 |
|
---|---|
![]() |
|
実装 | 利用者識別 |
説明 | メールによる二要素認証 |
作者 | Tgrトーク |
最新バージョン | 0.1.0 |
互換性の方針 | MediaWiki とともにリリースされるスナップショット。 master には後方互換性がありません。 |
MediaWiki | 1.27+ |
ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
ダウンロード | |
|
|
translatewiki.net で翻訳を利用できる場合は、EmailAuth 拡張機能の翻訳にご協力ください | |
Vagrant role | emailauth |
問題点 | 未解決のタスク · バグを報告 |
The EmailAuth extension allows secondary authentication via email. While this is less secure than other two-factor methods such as Extension:OATHAuth , it does not have to be set up by the user, it only requires an email address. This makes it useful for stopping password guessing attacks or securing suspicious logins.
The EmailAuthRequireToken hook is used to decide when the second factor is required. Without adding a handler for that hook e.g. in site configuration, the extension will not do anything.
-
The verification form shown during login
-
The verification email
Installation
- ダウンロードして、ファイルを
extensions/
フォルダー内のEmailAuth
という名前のディレクトリ内に配置します。
開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EmailAuth
- 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'EmailAuth' );
- Add a hook handler for the EmailAuthRequireToken hook.
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
Configuration variables
$wgEmailAuthUnmaskedDomains
- Email domains that are not masked during their display in EmailAuth UI components. (All other domains will be replaced with
***.***
.) Defaults togmail.com
,googlemail.com
,hotmail.com
,yahoo.com
. MW 1.45+
See also
- Help:Extension:EmailAuth
- EmailAuthHooks in WikimediaEvents, for Wikimedia's version of the EmailAuthRequireToken hook.
- wikitech:EmailAuth (Wikimedia operations docs)
- Extension:LoginNotify , an extension that provides a "known device" flag that can be used in the EmailAuthRequireToken hook.
![]() | この拡張機能は 1 つ以上のウィキメディアのプロジェクトで使用されています。 これはおそらく、この拡張機能が安定していて高いトラフィックのウェブサイトでも十分に動作することを意味します。 この拡張機能がインストールされている場所を確認するには、ウィキメディアの設定ファイル CommonSettings.php および InitialiseSettings.php 内で、この拡張機能の名前を探してください。 特定のウィキにインストールされている拡張機能の完全な一覧は、そのウィキの Special:Version ページにあります。 |