Chris
f83998e6c7
Additional checks for validity and in validator
...
* Properly check nbf and exp claims in token to determine simple
validity.
* Properly check nbf and exp claims in validator and throw exceptions
if expired/not yet valid.
2024-03-11 23:34:19 +01:00
Chris
369514589f
Added woodpecker config
ci/woodpecker/push/woodpecker Pipeline failed
Details
2023-04-21 01:46:52 +02:00
Chris
b0566e3148
Fixed case in test filenames
2023-04-10 00:55:15 +02:00
Chris
c5dd773026
Added docblocks
2023-04-10 00:53:51 +02:00
Chris
5c422226fd
Fixed test @covers annotations
2023-04-10 00:43:42 +02:00
Chris
e30ded1e66
Added changelog
2023-04-09 16:04:34 +02:00
Chris
822b796d40
phpstan fixes
2023-04-09 14:12:48 +02:00
Chris
b9c690cb6e
Fixed readme
2023-04-09 02:46:48 +02:00
Chris
fabf160346
Useless merge
2023-04-09 02:44:23 +02:00
Chris
953e831d84
Fixed capitalization, tests
2023-04-09 02:40:21 +02:00
Chris
5a4a2845e4
Update 'README.md'
...
Fixed code blocks
2022-12-29 01:18:13 +00:00
Chris
6b1d3178cf
More tests for JwtValidator
2021-02-17 22:22:15 +01:00
Chris
7753853e58
Added support for validating token issuer and audience
...
* Use requireIssuer() and requireAudience() on the JwtValidator to make sure
that the token is for what you expect it to be for.
* A setAll() method has been added to property bag, applying but not overriding
values.
* Added tests for JwtValidator.
2021-02-16 18:25:29 +01:00
Chris
9d85e2ccef
Fixed claim check in JwtValidator
...
* Removed the addRequiredClaimWithValue() method, as checking
the value should be up to the implementation.
2021-02-11 13:32:10 +01:00
Chris
88b6247e63
Added tests and fixed func name in PropertyBag
2021-02-11 13:25:28 +01:00
Chris
3899d191a4
Initial commit
2021-02-11 13:22:51 +01:00