Commit Graph

16 Commits

Author SHA1 Message Date
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
369514589f Added woodpecker config
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-04-21 01:46:52 +02:00
b0566e3148 Fixed case in test filenames 2023-04-10 00:55:15 +02:00
c5dd773026 Added docblocks 2023-04-10 00:53:51 +02:00
5c422226fd Fixed test @covers annotations 2023-04-10 00:43:42 +02:00
e30ded1e66 Added changelog 2023-04-09 16:04:34 +02:00
822b796d40 phpstan fixes 2023-04-09 14:12:48 +02:00
b9c690cb6e Fixed readme 2023-04-09 02:46:48 +02:00
fabf160346 Useless merge 2023-04-09 02:44:23 +02:00
953e831d84 Fixed capitalization, tests 2023-04-09 02:40:21 +02:00
5a4a2845e4 Update 'README.md'
Fixed code blocks
2022-12-29 01:18:13 +00:00
6b1d3178cf More tests for JwtValidator 2021-02-17 22:22:15 +01:00
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
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
88b6247e63 Added tests and fixed func name in PropertyBag 2021-02-11 13:25:28 +01:00
3899d191a4 Initial commit 2021-02-11 13:22:51 +01:00