Skip to content

Commit 0daaecc

Browse files
committed
fix: fixes #743
1 parent cd4c7c8 commit 0daaecc

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.DS_Store

8 KB
Binary file not shown.

1.1/openid-4-verifiable-presentations-1_1.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,9 @@ Additional, more complex examples can be found in (#more_dcql_query_examples).
11401140

11411141
A VP Token is only returned if the corresponding Authorization Request contained a `dcql_query` parameter or a `scope` parameter representing a DCQL Query (as defined in #vp_token_request).
11421142

1143+
The Wallet MUST return a VP Token only if the set of Presentations represented
1144+
by the VP Token satisfies the requirements of the DCQL query according to (#dcql_query_lang_processing_rules).
1145+
11431146
A VP Token can be returned in the Authorization Response or the Token Response depending on the Response Type used. See (#response_type_vp_token) for more details.
11441147

11451148
If the Response Type value is `vp_token`, the VP Token is returned in the Authorization Response. When the Response Type value is `vp_token id_token` and the `scope` parameter contains `openid`, the VP Token is returned in the Authorization Response alongside a Self-Issued ID Token as defined in [@!SIOPv2].
@@ -1161,8 +1164,27 @@ The behavior with respect to the VP Token is unspecified for any other individua
11611164

11621165
When a VP Token is returned, the respective response includes the following parameters:
11631166

1167+
11641168
`vp_token`:
1165-
: REQUIRED. This is a JSON-encoded object containing entries where the key is the `id` value used for a Credential Query in the DCQL query and the value is an array of one or more Presentations that match the respective Credential Query. When `multiple` is omitted, or set to `false`, the array MUST contain only one Presentation. There MUST NOT be any entry in the JSON-encoded object for optional Credential Queries when there are no matching Credentials for the respective Credential Query. Each Presentation is represented as a string or object, depending on the format as defined in (#format_specific_parameters). The same rules as above apply for encoding the Presentations.
1169+
: REQUIRED. A JSON-encoded object subject to the following requirements:
1170+
1171+
* Each key MUST be the `id` of a Credential Query in the DCQL query.
1172+
1173+
* Each value MUST be an array containing one or more Presentations matching
1174+
the corresponding Credential Query.
1175+
1176+
* When `multiple` is omitted or set to `false`, the array MUST contain exactly
1177+
one Presentation.
1178+
1179+
* The object MUST NOT contain an entry for an optional Credential Query when
1180+
there are no matching Credentials for that Credential Query.
1181+
1182+
* Each Presentation MUST be encoded as a string or object according to
1183+
(#format_specific_parameters).
1184+
1185+
* The object MAY be empty only if the DCQL query can be satisfied without
1186+
returning any Presentation according to
1187+
(#dcql_query_lang_processing_rules).
11661188

11671189
Other parameters, such as `code` (from [@!RFC6749]), or `id_token` (from [@!OpenID.Core]), and `iss` (from [@RFC9207]) can be included in the response as defined in the respective specifications.
11681190

@@ -3665,3 +3687,5 @@ The technology described in this specification was made available from contribut
36653687
* Clarified that Multi-RP-sig section means Verifier Info instead of attestations
36663688
* Updated origin examples to remove trailing slash
36673689
* Clarified that request_uri_method is a case-sensitive string
3690+
* Clarify that empty objects in VP Tokens cannot be used to signify an error response
3691+
* Editorial improvement of the `vp_token` section

0 commit comments

Comments
 (0)