mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-18 15:55:39 +00:00
afb4d28076
* Removed nonsense from demo.php and improved text/wording a little
17 lines
627 B
Markdown
17 lines
627 B
Markdown
# TwoFactorAuth class for PHP
|
|
|
|
PHP class for two-factor authentication using [TOTP](http://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm) and [QR-codes](http://en.wikipedia.org/wiki/QR_code). Inspired, based and mostly an improvement on '[GoogleAuthenticator](https://github.com/PHPGangsta/GoogleAuthenticator)'.
|
|
|
|
## Requirements
|
|
|
|
* Tested on PHP 5.3 and 5.4
|
|
* [cURL](http://php.net/manual/en/book.curl.php) 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. |