Commit Graph

4 Commits

Author SHA1 Message Date
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