Commit Graph

173 Commits

Author SHA1 Message Date
RobThree fca87f2d09 * Fix a bug that caused timeslices to be returned instead of the intended timeslice
* Upped version
1.6.4
2018-06-06 02:32:07 +02:00
Rob Janssen 72572c5c3a * Removed hhvm badge 2018-06-06 01:59:46 +02:00
RobThree a813bf7ede * Upped version to 1.6.3 2018-06-06 01:58:26 +02:00
Rob Janssen 39db2654a6 Update README.md 1.6.3 2018-06-06 01:56:01 +02:00
RobThree 4ac2670429 * Try older PHP versions for the last time 2018-06-06 01:50:29 +02:00
RobThree 5de91c2837 * Ignore deprecation message for mcrypt_create_iv for PHP7.1+ 2018-06-06 01:49:21 +02:00
RobThree 0ac68f6b86 * Fix PHP7.2 issue with HashRNGProvider
* Fix PHP7.1+ issue with MCryptRNGProvider
2018-06-06 01:47:03 +02:00
RobThree fac4ebd44b * Remove time.google.com to see if that will make travis build again 2018-06-06 01:38:51 +02:00
RobThree ad8b7ab3e8 * Trying some build configurations 2018-06-06 01:35:56 +02:00
RobThree d7e8ad8e23 * Trying some build configurations 2018-06-06 01:32:25 +02:00
RobThree b8befc5aff * Put back conditional phpunit running 2018-06-06 01:15:37 +02:00
RobThree 37fbb99ac5 * Run phpunit for all versions 2018-06-06 00:58:30 +02:00
RobThree ea9b87fe32 * Changed time.windows.com to time.google.com (doesn't affect anything except that it should stop travis from failing) 2018-06-06 00:53:02 +02:00
RobThree 4f2364fef4 * Add whitelist to phpunit.xml 2018-06-05 23:05:08 +02:00
RobThree e4ec94e14d * Drop PHP 5.3 again
* Add phpunit.xml
2018-06-05 23:02:37 +02:00
RobThree de210192a7 * Put back PHP 5.3 support 2018-06-05 22:46:16 +02:00
RobThree f25b910be9 * Put back phpunit in travis.yml 2018-06-05 22:42:00 +02:00
RobThree b591c879a1 * Put back dist: trusty in travis.yml 2018-06-05 22:39:47 +02:00
RobThree 4408ce7884 * Dropped support for PHP 5.3
* Added support for PHP 7.2
2018-06-05 22:36:40 +02:00
RobThree 83ad9fb4e4 * Updated composer.json 1.6.2 2018-06-05 22:20:08 +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
Rob Janssen a77e7d8223 Update README.md 1.6.1 2017-11-06 18:55:56 +01:00
RobThree 673223a2fc * Upped version 2017-11-06 18:54:34 +01:00
RobThree d450ba432d * Attempt 2 to fix Travis 2017-11-06 18:50:34 +01:00
RobThree d22329375f * Attempt to fix Travis build 2017-11-06 18:48:32 +01:00
RobThree b1ecc9afbc * Fix some caching issues 2017-11-06 18:37:49 +01:00
Rob Janssen c9bfe0519a Undo previous commit 2017-02-18 15:43:20 +01:00
Rob Janssen 404f147aa7 Add PHP 7.1 and nightly 2017-02-18 15:37:04 +01:00
Rob Janssen 18888f83ee Delete applicationhost.config 2017-02-17 18:00:58 +01:00
RobThree 3d04717346 * Add .vs folder to .gitignore 2017-02-17 18:00:19 +01:00
RobThree 5093ab230c * Fix TwoFactorAuth class actually uses the TimeProvider
* Update README and DEMO to advise using 160+ bits secret
1.6.0
2017-02-17 16:24:54 +01:00
RobThree f90bc37319 * You can now specify the expected time format returned by a 3rd party to the HttpTimeProvider. 2017-02-17 15:21:31 +01:00
RobThree 0ebe1d69a6 * Less opinionated SSL defaults 2017-02-17 15:14:58 +01:00
RobThree 78a2d6e514 * Default stream options can now be overridden by specifying them in the constructor
* Removed some deprecated/stale code
2017-02-17 15:12:34 +01:00
RobThree 582a26749a * Fix another PHP5.3 array issue 2017-02-17 15:02:02 +01:00
RobThree c114772d01 * Fix PHP 5.3 array syntax in unittests 2017-02-17 14:59:44 +01: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
Rob Janssen b3bb9685ea Merge pull request #14 from martijncalker/fix-example-readme
Fix php examples in readme
2017-01-03 10:42:48 +01:00
Martijn van Calker d03e976891 Fix php example in readme 2017-01-03 09:48:55 +01:00
Rob Janssen 0b5d455b27 Update composer.json 1.5.2 2016-10-30 22:47:00 +01:00
Rob Janssen aac54360a9 Merge pull request #10 from anvyst/master
switching to PSR-4 autoloading standard
2016-10-30 22:40:45 +01:00
Andrey Vystavkin a73f119a58 removed .editconfig from repo and phpcs 2016-10-30 16:38:10 +02:00
Andrey Vystavkin 8a726eda5d switching to PSR-4 autoloading standard 2016-10-30 16:20:47 +02:00
Rob Janssen fa781c14e3 Update composer.json 1.5.1 2016-06-24 17:52:02 +02:00
Rob Janssen ab6b059df5 Merge pull request #7 from JonathanTru/master
changed getQRText() from private to public
2016-06-24 17:50:15 +02:00
Jonathan Trummer aec91881bf changed getQRText() from private to public
Changed access modifier for the function getQRText() from private to
public.
This allows for generating the QR Code in different ways (eg pass the
data from getQRText() to the client and have a Javascript Library render
the QR Code)
2016-06-24 17:34:39 +02:00
Rob Janssen cdb98dc598 Update composer.json 1.5 2016-06-20 23:15:37 +02:00
RobThree 3484cdd992 * Removed CURLOPT_FOLLOWLOCATION and CURLOPT_MAXREDIRS (see #5) 2016-06-20 23:14:36 +02:00
Rob Janssen 7d7b4ddcba Merge pull request #2 from andrej-griniuk/patch-1
Added the link to the integration with CakePHP
2016-02-16 10:37:40 +01:00