Help:Two-factor authentication/zh

双因素认证（TFA）系统要求用户在登录他们的账户前进行一项额外的验证. 提供此功能的MediaWiki扩展是OATHAuth.

您可访问元维基上的Help:双重认证页面了解更多信息.

启用
您需要 用户权限以启用双因素认证. 如您有权限启用双因素认证，您可以在您的参数设置页面看到一个启用的链接. 您也可以直接访问Special:OATH以启用. Clicking on the link will display a QR code and a text code. Most smartphone apps will use the camera to scan the QR code, and automatically add the entry for the account to the list.

Scratch codes
The special page will also list ten emergency "scratch codes" that can be used if you lose your phone. However, each code can only be used one time.

Clients
First, you'll need a client application to store the TFA token and generate codes. Typically these are smartphone apps, but desktop clients are also available:


 * FreeOTP (free and open source, maintained by Red Hat) – Android and iOS
 * oathtool (command line)
 * Example of command line:  (the program returns 6 figures)

It is important to remember that you will need this device with you whenever you need to login.