Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define claims display description and claims path query #276

Merged
merged 27 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e47e3cf
Define claims display description and claims path query
danielfett Feb 20, 2024
2c25819
Fix claims parameter descriptions
danielfett Feb 20, 2024
bf614fc
Fix reference
danielfett Feb 20, 2024
ae77d25
Note on order of elements
danielfett Feb 20, 2024
5bb289f
Attempt to fix rendering
danielfett Feb 20, 2024
46f739f
Adapt examples
danielfett Feb 20, 2024
ba188d7
Update openid-4-verifiable-credential-issuance-1_0.md
danielfett Feb 23, 2024
3182f88
Merge main
danielfett Sep 12, 2024
1d04182
Fixes after merging main
danielfett Sep 12, 2024
b983e2b
Fix url/uri
danielfett Sep 12, 2024
8e37c65
Clarify processing rules
danielfett Sep 12, 2024
504514b
Merge branch 'main' into danielfett/fix-claims-in-issuer-metadata
danielfett Nov 19, 2024
8858254
Update openid-4-verifiable-credential-issuance-1_0.md
danielfett Nov 19, 2024
9c5961c
Merge branch 'main' into danielfett/fix-claims-in-issuer-metadata
danielfett Nov 22, 2024
4809b10
Start addressing todos before merging
danielfett Nov 26, 2024
1ca0100
Fix examples
danielfett Nov 26, 2024
e681e15
Fix rendering
danielfett Nov 26, 2024
2a6dcff
Move credentialSubject out of credential_definition and renamed it to…
danielfett Nov 27, 2024
7a254f8
Apply suggestions from WG review
Sakurann Nov 28, 2024
277e708
Fix mistake in examples
danielfett Dec 2, 2024
c47ad07
Apply suggestions from code review
danielfett Dec 10, 2024
04bd2d0
Use path for claims path pointer in mdoc
Dec 12, 2024
ecb1ee5
Minor fix
Dec 12, 2024
81f54c5
Merge branch 'main' into danielfett/fix-claims-in-issuer-metadata
Dec 12, 2024
cb81527
Remove value_type
danielfett Dec 12, 2024
b03a75b
fix example
Sakurann Dec 17, 2024
b656098
change wording
danielfett Dec 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions examples/authorization_details_jwt_vc_json.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
{
"type": "openid_credential",
"credential_configuration_id": "UniversityDegreeCredential",
"credential_definition": {
"credentialSubject": {
"given_name": {},
"family_name": {},
"degree": {}
}
}
"claims": [
{"path": ["credentialSubject", "given_name"]},
{"path": ["credentialSubject", "family_name"]},
{"path": ["credentialSubject", "degree"]}
]
}
]
12 changes: 5 additions & 7 deletions examples/authorization_details_ldp_vc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
{
"type": "openid_credential",
"credential_configuration_id": "UniversityDegree_LDP_VC",
"credential_definition": {
"credentialSubject": {
"given_name": {},
"family_name": {},
"degree": {}
}
}
"claims": [
{"path": ["credentialSubject", "given_name"]},
{"path": ["credentialSubject", "family_name"]},
{"path": ["credentialSubject", "degree"]}
]
}
]
24 changes: 16 additions & 8 deletions examples/authorization_details_mso_doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,23 @@
{
"type": "openid_credential",
"credential_configuration_id": "org.iso.18013.5.1.mDL",
"claims": {
"org.iso.18013.5.1": {
"given_name": {},
"family_name": {},
"birth_date": {}
"claims": [
{
"namespace": "org.iso.18013.5.1",
danielfett marked this conversation as resolved.
Show resolved Hide resolved
"claim_name": "given_name"
},
"org.iso.18013.5.1.aamva": {
"organ_donor": {}
{
"namespace": "org.iso.18013.5.1",
"claim_name": "family_name"
},
{
"namespace": "org.iso.18013.5.1",
"claim_name": "birth_date"
},
{
"namespace": "org.iso.18013.5.1.aamva",
"claim_name": "organ_donor"
}
}
]
}
]
61 changes: 33 additions & 28 deletions examples/credential_issuer_metadata_jwt_vc_json.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,38 +34,43 @@
"credential_signing_alg_values_supported": [
"ES256"
],
"credential_definition": {
"credential_definition":{
awoie marked this conversation as resolved.
Show resolved Hide resolved
"type": [
"VerifiableCredential",
"UniversityDegreeCredential"
],
"credentialSubject": {
"given_name": {
"display": [
{
"name": "Given Name",
"locale": "en-US"
}
]
},
"family_name": {
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
"degree": {},
"gpa": {
"display": [
{
"name": "GPA"
}
]
}
}
]
},
"claims": [
{
"path": ["credentialSubject", "given_name"],
"display": [
{
"name": "Given Name",
"locale": "en-US"
}
]
},
{
"path": ["credentialSubject", "family_name"],
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
{
"path": ["credentialSubject", "degree"]
Sakurann marked this conversation as resolved.
Show resolved Hide resolved
},
{
"path": ["credentialSubject", "gpa"],
"display": [
{
"name": "GPA"
}
]
}
],
"proof_types_supported": {
"jwt": {
"proof_signing_alg_values_supported": [
Expand Down
63 changes: 34 additions & 29 deletions examples/credential_metadata_jwt_vc_json.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,44 @@
"credential_signing_alg_values_supported": [
"ES256"
],
"credential_definition": {
"credential_definition":{
danielfett marked this conversation as resolved.
Show resolved Hide resolved
Sakurann marked this conversation as resolved.
Show resolved Hide resolved
"type": [
"VerifiableCredential",
"UniversityDegreeCredential"
],
"credentialSubject": {
"given_name": {
"display": [
{
"name": "Given Name",
"locale": "en-US"
}
]
},
"family_name": {
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
"degree": {},
"gpa": {
"mandatory": true,
"display": [
{
"name": "GPA"
}
]
}
}
]
},
"claims": [
{
"path": ["credentialSubject", "given_name"],
"display": [
{
"name": "Given Name",
"locale": "en-US"
}
]
},
{
"path": ["credentialSubject", "family_name"],
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
{
"path": ["credentialSubject", "degree"]
Sakurann marked this conversation as resolved.
Show resolved Hide resolved
},
{
"path": ["credentialSubject", "gpa"],
"mandatory": true,
"display": [
{
"name": "GPA"
}
]
}
],
"proof_types_supported": {
"jwt": {
"proof_signing_alg_values_supported": [
Expand Down
61 changes: 33 additions & 28 deletions examples/credential_metadata_ldp_vc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,40 @@
"type": [
"VerifiableCredential",
"UniversityDegreeCredential"
],
"credentialSubject": {
"given_name": {
"display": [
{
"name": "Given Name",
"locale": "en-US"
}
]
},
"family_name": {
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
"degree": {},
"gpa": {
"mandatory": true,
"display": [
{
"name": "GPA"
}
]
}
}
]
},
"claims": [
danielfett marked this conversation as resolved.
Show resolved Hide resolved
{
"path": ["credentialSubject", "given_name"],
"display": [
{
"name": "Given Name",
"locale": "en-US"
}
]
},
{
"path": ["credentialSubject", "family_name"],
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
{
"path": ["credentialSubject", "degree"]
},
{
"path": ["credentialSubject", "gpa"],
"mandatory": true,
"display": [
{
"name": "GPA"
}
]
}
],
"display": [
{
"name": "University Credential",
Expand Down
65 changes: 34 additions & 31 deletions examples/credential_metadata_mso_mdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"cose_key"
],
"credential_signing_alg_values_supported": [
"ES256",
"ES384",
"ES512"
"ES256", "ES384", "ES512"
],
"display": [
{
Expand All @@ -33,36 +31,41 @@
"text_color": "#FFFFFF"
}
],
"claims": {
"org.iso.18013.5.1": {
"given_name": {
"display": [
{
"name": "Given Name",
"locale": "en-US"
},
{
"name": "名前",
"locale": "ja-JP"
}
]
},
"family_name": {
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
"birth_date": {
"mandatory": true
}
"claims": [
{
"namespace": "org.iso.18013.5.1",
"claim_name": "given_name",
danielfett marked this conversation as resolved.
Show resolved Hide resolved
"display": [
{
"name": "Given Name",
"locale": "en-US"
},
{
"name": "名前",
"locale": "ja-JP"
}
]
},
{
"namespace": "org.iso.18013.5.1",
"claim_name": "family_name",
"display": [
{
"name": "Surname",
"locale": "en-US"
}
]
},
{
"namespace": "org.iso.18013.5.1",
"claim_name": "birth_date",
"mandatory": true
},
"org.iso.18013.5.1.aamva": {
"organ_donor": {}
{
"namespace": "org.iso.18013.5.1.aamva",
"claim_name": "organ_donor"
}
}
]
}
}
}
Loading