mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-18 02:33:05 +00:00
20 lines
989 B
Markdown
20 lines
989 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.
|
|
|
|
[Logo / icon](http://www.iconmay.com/Simple/Travel_and_Tourism_Part_2/luggage_lock_safety_baggage_keys_cylinder_lock_hotel_travel_tourism_luggage_lock_icon_465) under CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
|