RobThree 70c3a190b7 * Actually use $qrcodeprovider parameter from constructor
* 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
2014-09-19 01:24:52 +02:00
2014-09-18 22:05:29 +02:00
2014-09-18 22:05:29 +02:00
2014-09-19 01:00:59 +02:00

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 GoogleQRCodeProvider but 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.

S
Languages
PHP 100%