feat: Implement claim validation
Implements initial validations of token claims. The included validations are: * validation of token issuer * validation of token audience * validation that a subject is set * validation that a token is not expired
This commit is contained in:
parent
ae409995ca
commit
dd527ecdf1
2 changed files with 109 additions and 7 deletions
|
|
@ -4,8 +4,8 @@ version = "0.1.0"
|
|||
authors = ["Vincent Ambo <vincent@aprila.no>"]
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.9"
|
||||
openssl = "0.10"
|
||||
serde = "1.0"
|
||||
serde_json = "1.0"
|
||||
serde_derive = "1.0"
|
||||
base64 = "0.9"
|
||||
serde_json = "1.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue