Skip to content

Commit

Permalink
change providers to requests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Sep 4, 2024
1 parent 5c07f1f commit bfbe94d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,29 +189,29 @@ <h2>
</h2>
<pre class="idl">
dictionary DigitalCredentialRequestOptions {
sequence&lt;DigitalCredentialsProvider&gt; providers;
sequence&lt;DigitalCredentialsProvider&gt; requests;
};
</pre>
<h3>
The `providers` member
The `requests` member
</h3>
<p>
The <dfn data-dfn-for="DigitalCredentialRequestOptions">providers</dfn>
The <dfn data-dfn-for="DigitalCredentialRequestOptions">requests</dfn>
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.
</p>
<h2>
The `DigitalCredentialsProvider` dictionary
The `DigitalCredentialsRequest` dictionary
</h2>
<p>
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.
</p>
<pre class="idl">
dictionary DigitalCredentialsProvider {
dictionary DigitalCredentialsRequest {
required DOMString protocol;
required object request;
};
Expand All @@ -220,20 +220,20 @@ <h3>
The `protocol` member
</h3>
<p>
The <dfn data-dfn-for="DigitalCredentialsProvider">protocol</dfn> member
The <dfn data-dfn-for="DigitalCredentialsRequest">protocol</dfn> member
denotes the [=digital credential/exchange protocol=] when requesting an
identify credential.
</p>
<p>
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.
</p>
<h3>
The `request` member
</h3>
<p>
The <dfn data-dfn-for="DigitalCredentialsProvider">request</dfn> member
The <dfn data-dfn-for="DigitalCredentialsRequest">request</dfn> member
is the request to be handled by the holder's software, such as a digital
wallet.
</p>
Expand Down Expand Up @@ -308,10 +308,10 @@ <h3>
</li>
<li>[=Consume user activation=] of |window|.
</li>
<li>Let |providers| be |options|'s {{CredentialRequestOptions/digital}}'s
{{DigitalCredentialRequestOptions/providers}} member.
<li>Let |requests| be |options|'s {{CredentialRequestOptions/digital}}'s
{{DigitalCredentialRequestOptions/requests}} member.
</li>
<li>If |providers| is empty, [=exception/throw=] a {{TypeError}}.
<li>If |requests| is empty, [=exception/throw=] a {{TypeError}}.
</li>
<li>
<aside class="issue">
Expand Down

0 comments on commit bfbe94d

Please sign in to comment.