From cd8764fec48ccd522f3f233cf5201969b63978d1 Mon Sep 17 00:00:00 2001
From: Marcos Caceres
- The providers
+ The requests
specify an [=digital credential/exchange protocol=] and [=digital
credential/query=], which the user agent MAY match against a holder's
software, such as a digital wallet.
- The {{DigitalCredentialsProvider}} dictionary is used to specify an
+ The {{DigitalCredentialsRequest}} dictionary is used to specify an
[=digital credential/exchange protocol=] and a [=digital
credential/query=], which the user agent MAY match against software used
by a holder, such as a digital wallet.
- The protocol member
+ The protocol member
denotes the [=digital credential/exchange protocol=] when requesting an
identify credential.
- The {{DigitalCredentialsProvider/protocol}} member's value is be one of
+ The {{DigitalCredentialsRequest/protocol}} member's value is be one of
the well-defined keys defined in [[[#protocol-registry]]] or any other
custom one.
- The request member
+ The request member
is the request to be handled by the holder's software, such as a digital
wallet.
dictionary DigitalCredentialRequestOptions {
- sequence<DigitalCredentialsProvider> providers;
+ sequence<DigitalCredentialsProvider> requests;
};
- The `providers` member
+ The `requests` member
- The `DigitalCredentialsProvider` dictionary
+ The `DigitalCredentialsRequest` dictionary
- dictionary DigitalCredentialsProvider {
+ dictionary DigitalCredentialsRequest {
required DOMString protocol;
required object request;
};
@@ -220,12 +220,12 @@
The `protocol` member
The `request` member
- The request member - is the request to be handled by the holder's software, such as a digital - wallet. + The data member is + the [=digital credential/query=] to be handled by the holder's software, + such as a digital wallet.
The requests specify an [=digital credential/exchange protocol=] and [=digital - credential/query=], which the user agent MAY match against a holder's - software, such as a digital wallet. + credential/request data=], which the user agent MAY match against a + holder's software, such as a digital wallet.
The {{DigitalCredentialsRequest}} dictionary is used to specify an [=digital credential/exchange protocol=] and a [=digital - credential/query=], which the user agent MAY match against software used - by a holder, such as a digital wallet. + credential/request data=], which the user agent MAY match against + software used by a holder, such as a digital wallet.
dictionary DigitalCredentialsRequest { @@ -234,8 +234,8 @@
The data member is - the [=digital credential/query=] to be handled by the holder's software, - such as a digital wallet. + the [=digital credential/request data=] to be handled by the holder's + software, such as a digital wallet.
The `DigitalCredential` interface From 479db4f41e1f9a36d117e97f4b597982e0ddc0f4 Mon Sep 17 00:00:00 2001 From: Marcos Caceres
Date: Mon, 16 Sep 2024 16:48:26 -0600 Subject: [PATCH 4/8] add presentation request --- index.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 336714f..261cb59 100644 --- a/index.html +++ b/index.html @@ -100,6 +100,14 @@ pertaining to people.
- The {{DigitalCredentialsRequest}} dictionary is used to specify an - [=digital credential/exchange protocol=] and a [=digital - credential/request data=], which the user agent MAY match against - software used by a holder, such as a digital wallet. + The {{DigitalCredentialsRequest}} dictionary represents a [=presentation + request]. It is used to specify an [=digital credential/exchange + protocol=] and a [=digital credential/request data=], which the user + agent MAY match against software used by a holder, such as a digital + wallet.
dictionary DigitalCredentialsRequest { From 1c25a5487278314828d3595354589e66542bc15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=Date: Mon, 16 Sep 2024 16:49:29 -0600 Subject: [PATCH 5/8] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 261cb59..0f8df8c 100644 --- a/index.html +++ b/index.html @@ -101,7 +101,7 @@
- Presentation request + Presentation request A presentation request is a request for a digital credential composed From bf803e3ef3d670c20dc587ea6c5ae419a7984467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Mon, 16 Sep 2024 16:49:40 -0600 Subject: [PATCH 6/8] Update index.html Co-authored-by: Sam Goto --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0f8df8c..82ed94c 100644 --- a/index.html +++ b/index.html @@ -104,7 +104,7 @@ Presentation request
- A presentation request is a request for a digital credential composed + A presentation request is a request for a [=digital credential=] composed of [=digital credential/request data=] and a [=digital credential/exchange protocol=]. From df671d626461f8cd76c2b28e3171b515b514deaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=Date: Mon, 16 Sep 2024 16:50:34 -0600 Subject: [PATCH 7/8] Update index.html --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 82ed94c..5a0ad6e 100644 --- a/index.html +++ b/index.html @@ -213,8 +213,8 @@ The `DigitalCredentialsRequest` dictionary
- The {{DigitalCredentialsRequest}} dictionary represents a [=presentation - request]. It is used to specify an [=digital credential/exchange + The {{DigitalCredentialsRequest}} dictionary represents a [=digital credential/presentation + request=]. It is used to specify an [=digital credential/exchange protocol=] and a [=digital credential/request data=], which the user agent MAY match against software used by a holder, such as a digital wallet. From 48f6041805a10de68a6130bfcb6b9f08cc4cf0e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
Date: Wed, 18 Sep 2024 17:14:00 -0600 Subject: [PATCH 8/8] Update explainer.md --- explainer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explainer.md b/explainer.md index 7b75375..54a0893 100644 --- a/explainer.md +++ b/explainer.md @@ -46,7 +46,7 @@ async function requestLicense() { const oid4pv = { // Protocol extensibility: protocol: "oid4vp", // An example of an OpenID4VP request to wallets. // Based on https://github.com/openid/OpenID4VP/issues/125 - request: { + data: { nonce: "n-0S6_WzA2Mj", presentation_definition: { // Presentation Exchange request, omitted for brevity