mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-10-20 10:46:00 +00:00
18 lines
685 B
Markdown
18 lines
685 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 provided `GoogleQRCodeProvider` (default), `QRServerProvider` or `QRicketProvider` but you can also provide your own QR-code provider.
|
|
|
|
|
|
## Usage
|
|
|
|
*TODO* For now: see demo.php
|
|
|
|
## License
|
|
|
|
Licensed under MIT license. See LICENSE file for details.
|