-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* config attribute for DPoP * implement DPoP (part 1: retrieve DPoP token); TODO: retrieve and validate DPoP proof * implement DPoP (part 2: retrieve and validate DPoP proof) * JWT tests for DPoP * default error handler for DPoP JWT; integration test for DPoP JWT * normalize URLs prior to htu claim check * extracted getParserForExpectedClaims() * extracted validateProofHeader() * extracted validateProofClaims() * extracted validateHtuClaim() * extracted validateIatClaim() * extracted validateAthClaim() * extracted validateCnfClaim() * extracted getReqHtu() and getPcHtu() * extracted getJwkAndPubKey() * extracted getRSAPubKey() and getECDSAPubKey() * extracted getN(), getE(), getCurve(), getX() and getY() * extracted getProof() * use text from rfc9449 * simplified requiredMembers map * rearranged more functions * made TokenSource interface with different implementations depending on type * fixed staticcheck issue * created ProofClaims implementing jwt.ClaimsValidator interface * moved DPoP-related stuff to separate file * refactored htu check, re-added comment about nonce check * dpop beta feature --------- Co-authored-by: Johannes Koch <[email protected]> Co-authored-by: Marcel Ludwig <[email protected]>
- Loading branch information
1 parent
1f75816
commit 554c769
Showing
11 changed files
with
1,485 additions
and
87 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.