Commit Graph

21 Commits

Author SHA1 Message Date
Nicolas CARPi aeb4b00c60 first batch 2022-12-07 22:28:52 +01:00
RobThree 7477d5d656 * Replace google image charts with image-charts.com 2019-03-19 22:51:19 +01:00
RobThree e4ec94e14d * Drop PHP 5.3 again
* Add phpunit.xml
2018-06-05 23:02:37 +02:00
RobThree 93fc6355d4 * Dropped ConvertUnixTimeDotComTimeProvider
* Added NTPTimeProvider
* Added out argument on verifyCode() method that returns the matched timeslice (if any) when a valid code was entered
2018-06-05 22:17:49 +02:00
RobThree 9735116635 * Implemented ITimeProviders 2017-02-17 14:53:55 +01:00
RobThree 178c60d947 * Redo #15 which somehow didn't merge... 2017-02-17 12:15:17 +01:00
RobThree c94fcd83d8 * Added new (PHP7+) CSRNGProvider (uses random_bytes)
* Added a bunch basic of unittests for the RNG's
* QRicketProvider and QRServerProvider now throw on invalid MIME-types
* TwoFactorAuth now first tries to use CSRNGProvider before any of the other RNG providers
2015-12-02 16:38:20 +01:00
RobThree 1db877ac79 * Added unittests + travis-ci yml 2015-03-20 13:07:52 +01:00
RobThree c81807cf63 * RAAAH! 2015-03-19 16:05:29 +01:00
RobThree 1478e1ae9a * Re-include image 2015-03-19 16:04:26 +01:00
RobThree 0656c21c04 * WTF 2015-03-19 16:03:56 +01:00
RobThree e3ca31dbc6 * Moving more stuff around 2015-03-19 16:00:58 +01:00
RobThree 553b725ab7 * Move stuff around 2015-03-19 15:05:51 +01:00
RobThree 39f3557f2d * Fixed composer.json typo
* Added composer.json to project
2015-03-17 14:41:16 +01:00
RobThree 8428b2d25a * Added isCryptographicallySecure to IRNGProvider interface
* Exceptions thrown by TwoFactorAuth are now of type TwoFactorAuthException
* createSecret now has extra argument $requirecryptosecure which is used to force cryptographically secure secrets
* HashRNGProvider now returns string instead of "byte array"
* HashRNGProvider is now initialized with two random values (for the heck of it...)
2015-03-17 12:19:38 +01:00
RobThree b738f2ced5 * Add support for custom RNG providers
* Custom exception types for QR providers and RNG providers
2015-03-17 11:24:53 +01:00
RobThree 004739be32 * Using namespace(s): https://www.reddit.com/r/programming/comments/2gwqcr/multifactor_authentication_or_twofactor_auth_for/ckr9e1g
* Added simple "PSR-4" autoloader
* Classes and interfaces to separate files
* Updated README for namespaces
2014-09-24 23:33:15 +02:00
RobThree 7eafedf9ee * Added meme. Because. 2014-09-20 00:52:24 +02:00
RobThree b01715cafa * Added logo / icon 2014-09-19 10:02:07 +02:00
RobThree 56dcfc48e2 * Renamed index.php to demo.php 2014-09-19 01:02:16 +02:00
RobThree c2dae86d9a * Initial commit 2014-09-19 01:00:59 +02:00