Barnaby Walters
e3c3d124bb
Added auth request parameter validation, tests. Started work on exchange methods
2021-06-10 17:49:27 +02:00
Barnaby Walters
bfadaf2fb2
Updated Server and tests to work with new TokenStorageInterface
2021-06-10 14:11:58 +02:00
Barnaby Walters
ed5f43a5e4
Started reworking TokenStorage
2021-06-09 21:56:16 +02:00
Barnaby Walters
c106e1568c
Removed some unused use statements, un-required psr/http-client
2021-06-09 01:14:23 +02:00
Barnaby Walters
c8979a4857
Excluded templates from test coverage, now up to 89%
2021-06-09 00:26:27 +02:00
Barnaby Walters
c4b1409f13
Cleaned up some unused use statements, added code coverage script. 79% covered already
2021-06-09 00:21:33 +02:00
Barnaby Walters
6d5e93b07c
Refactored Exception Handling, mostly tested authorization request handler
...
* Internal error conditions now raise IndieAuthException
* Bubbled unknown exceptions converted to generic IndieAuthException
* Exceptions passed to overridable handler, turned into response
* Wrote many more tests, fixed a variety of problems
2021-06-09 00:06:35 +02:00
Barnaby Walters
61bc3d7418
Wrote some more Server tests
2021-06-08 00:58:19 +02:00
Barnaby Walters
b2c4f8eee5
Created default authorization and authentication callbacks
...
* Created corresponding templates
* Changed how Server configuration works
* Ensured that rauthorization approval requests verify their indieauth parameters
* Wrote first passing test for Server, fixed a variety of small errors along the way
2021-06-07 20:32:02 +02:00
Barnaby Walters
4d3a025296
Expanded default authorization view callback, default form template
2021-06-07 01:39:33 +02:00
Barnaby Walters
7442da1ae9
Started putting default templates together
2021-06-06 17:47:06 +02:00
Barnaby Walters
ddcaf4b64d
Started writing tests
...
* Tested the more important functions
* Tested the Double-Submit CSRF Middleware
2021-06-06 17:03:13 +02:00
Barnaby Walters
b111c619d4
Restructured src to use PSR-4 autoloading, moved many functions to functions.php
2021-06-06 15:13:13 +02:00