-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework JSON Serialization section (#414)
* Rework JSON Serialization section * Switch to new branch, update examples * Add new example, describe signature handling * Clarification proposed by Brian Co-authored-by: Brian Campbell <71398439+bc-pi@users.noreply.github.com> * Add changelog entry * Update draft-ietf-oauth-selective-disclosure-jwt.md * Update draft-ietf-oauth-selective-disclosure-jwt.md * Switch back to master --------- Co-authored-by: Brian Campbell <71398439+bc-pi@users.noreply.github.com>
- Loading branch information
1 parent
3de1005
commit aa212fa
Showing
5 changed files
with
112 additions
and
51 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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
user_claims: | ||
!sd sub: john_doe_42 | ||
!sd given_name: John | ||
!sd family_name: Doe | ||
!sd birthdate: "1940-01-01" | ||
|
||
holder_disclosed_claims: | ||
given_name: true | ||
family_name: true | ||
|
||
key_binding: True | ||
|
||
serialization_format: "json" |
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,38 @@ | ||
user_claims: | ||
!sd sub: john_doe_42 | ||
!sd given_name: John | ||
!sd family_name: Doe | ||
!sd birthdate: "1940-01-01" | ||
|
||
holder_disclosed_claims: | ||
given_name: true | ||
family_name: true | ||
|
||
key_binding: True | ||
|
||
serialization_format: "json" | ||
|
||
settings_override: | ||
key_settings: | ||
key_size: 256 | ||
kty: EC | ||
issuer_keys: | ||
- kty: EC | ||
d: Ur2bNKuBPOrAaxsRnbSH6hIhmNTxSGXshDSUD1a1y7g | ||
crv: P-256 | ||
x: b28d4MwZMjw8-00CG4xfnn9SLMVMM19SlqZpVb_uNtQ | ||
y: Xv5zWwuoaTgdS6hV43yI6gBwTnjukmFQQnJ_kCxzqk8 | ||
kid: issuer-key-1 | ||
- kty: EC | ||
crv: P-256 | ||
d: WsGosxrp0XK7VEviPL9xBm3fBb7Xys2vLhPGhESNoXY | ||
x: bN-hp3IN0GZB3OlaQnHDPhY4nZsZbQyo4wY-y1NWCvA | ||
y: vaSsH5jt9zt3aQvTvrSaFYLyjPG9Ug-2vntoNXlCbVU | ||
kid: issuer-key-2 | ||
|
||
holder_key: | ||
kty: EC | ||
d: 5K5SCos8zf9zRemGGUl6yfok-_NiiryNZsvANWMhF-I | ||
crv: P-256 | ||
x: TCAER19Zvu3OHF4j4W4vfSVoHIP1ILilDls7vCeGemc | ||
y: ZxjiWWbZMQGHVWKVQ4hbSIirsVfuecCE6t4jT9F2HZQ |
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