mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-24 14:06:33 +00:00
70c3a190b7ed56a65562d3abc09c7c4766f19b0f
* Use array_flip instead of for-loop * Also tested on PHP 5.3 * Demo page is now some 'actual' HTML and text cleaned up a little
TwoFactorAuth class for PHP
PHP class for two-factor authorization using TOTP and QR-codes. Inspired, based and mostly an improvement on 'GoogleAuthenticator'.
Requirements
- Tested on PHP 5.3 and 5.4
- cURL when using the default
GoogleQRCodeProviderbut you can provide your own QR-code provider.
Usage
TODO For now: see demo.php
License
Licensed under MIT license. See LICENSE file for details.
Description
Languages
PHP
100%