-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added option for modifying JWT header (#5)
* Added option for modifying JWT header Signed-off-by: Daniel Fett <[email protected]> * Make exception for JSON serialization; add test case Signed-off-by: Daniel Fett <[email protected]> * Revert "Make exception for JSON serialization; add test case" This reverts commit 06ca411. Signed-off-by: Daniel Fett <[email protected]> --------- Signed-off-by: Daniel Fett <[email protected]> Co-authored-by: Daniel Fett <[email protected]>
- Loading branch information
1 parent
0d857bf
commit 23f9d1d
Showing
7 changed files
with
71 additions
and
8 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
user_claims: | ||
!sd sub: john_doe_42 | ||
!sd given_name: John | ||
!sd family_name: Doe | ||
!sd email: [email protected] | ||
!sd phone_number: +1-202-555-0101 | ||
!sd address: | ||
street_address: 123 Main St | ||
locality: Anytown | ||
region: Anystate | ||
country: US | ||
!sd birthdate: "1940-01-01" | ||
|
||
holder_disclosed_claims: | ||
given_name: true | ||
family_name: true | ||
address: true | ||
|
||
extra_header_parameters: | ||
kid: 42 | ||
|
||
expect_verified_user_claims: | ||
given_name: John | ||
family_name: Doe | ||
address: | ||
street_address: 123 Main St | ||
locality: Anytown | ||
region: Anystate | ||
country: US | ||
|
||
key_binding: True | ||
|
||
serialization_format: compact |