Commit Graph

22 Commits

Author SHA1 Message Date
Barnaby Walters
7a62d38333 Minor changes for PHP 7.3 compatibility 2021-06-24 13:29:39 +02:00
Barnaby Walters
d6594beebe Fixed issue preventing auth form scopes from being stored
I forgot that PHP’s POST body parsing strips the required trailing [] from
names.
2021-06-18 16:44:10 +02:00
Barnaby Walters
353f15b7b1 Regenerated documentation 2021-06-18 16:12:05 +02:00
Barnaby Walters
01a15f0b46 Made SingleUserAuth callback set a cookie
So that auth data is preserved across multiple requests.
2021-06-18 16:11:49 +02:00
Barnaby Walters
a2d8223650 Documented config parameter 2021-06-18 00:48:05 +02:00
Barnaby Walters
1af270b42f Implemented, tested non-PKCE flow. Fixes #1 2021-06-18 00:39:21 +02:00
Barnaby Walters
ce541c3607 Added test for missing parameters, now also validating code_challenge_method 2021-06-16 23:41:51 +02:00
Barnaby Walters
6b3c56fb6e Fixed more static issues 2021-06-15 01:14:27 +02:00
Barnaby Walters
37ae81ed5c Fixed nyholm requirement 2021-06-14 23:53:15 +02:00
Barnaby Walters
998c246d2d Regenerated coverage 2021-06-13 15:55:36 +02:00
Barnaby Walters
5ee97182bc Regenerated coverage to work with GH pages: 2021-06-13 15:47:54 +02:00
Barnaby Walters
31bc355fcf Re-ran coverage 2021-06-13 15:37:41 +02:00
Barnaby Walters
36d56807fe Regenerated docs 2021-06-13 15:35:36 +02:00
Barnaby Walters
2255202803 Added test coverage data to docs folder so it shows up in GH pages 2021-06-13 15:35:07 +02:00
Barnaby Walters
74a5797c30 Added pseudocode example 2021-06-13 14:40:53 +02:00
Barnaby Walters
61aa7f55f9 Refactored TokenStorageInterface for an improved flow
* Now passing an auth code data validation callback to the exchange method
* Removed Token, it’s no longer necessary
* Simplified interface where possible
* All tests passing
* Updated docblocks
2021-06-13 14:34:37 +02:00
Barnaby Walters
645ab833c5 Fixed reference: 2021-06-13 12:49:23 +02:00
Barnaby Walters
b53d5fc1da Syntax-highlighted doc examples 2021-06-13 00:30:44 +02:00
Barnaby Walters
7f1cb9e8b2 Improved naming of authentication callback config key 2021-06-13 00:19:16 +02:00
Barnaby Walters
62d02dacc0 Added a bunch of extra documentation 2021-06-13 00:01:32 +02:00
Barnaby Walters
1a33705de5 Regenerated docs 2021-06-12 23:11:33 +02:00
Barnaby Walters
02a2773c60 Added phpdoc config, generated documentation 2021-06-12 23:04:51 +02:00