Skip to content
Open
Changes from 1 commit
Commits
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
29 changes: 20 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -863,16 +863,27 @@ <h3>
[=digital credential=].
</p>
<p>
[=User mediation=] is always
{{CredentialMediationRequirement/"required"}}. [=Request a
credential|Requesting a DigitalCredential credential=] does not support
{{CredentialMediationRequirement/"conditional"}},
{{CredentialMediationRequirement/"optional"}}, or
{{CredentialMediationRequirement/"silent"}} [=user mediation=]. If
{{CredentialsContainer/get()}} is called with anything other than
{{CredentialMediationRequirement/"required"}}, a {{TypeError}} will be
thrown.
The {{DigitalCredential}} interface mandates [=user mediation=] for all
operations to ensure user control and consent.
</p>
<p>
For {{CredentialsContainer/get()}} and {{CredentialsContainer/create()}}
calls involving a {{DigitalCredential}}:
</p>
<ul>
<li>[=User mediation=] is always performed as if the `mediation` option
was set to {{CredentialMediationRequirement/"required"}}.
</li>
<li>The `mediation` member of the {{CredentialRequestOptions}} and
{{CredentialCreationOptions}} dictionaries is ignored.
</li>
<li>To simplify the developer experience, [=user agents=] MUST NOT throw
a {{TypeError}} if the `mediation` member is absent or has a value other
than {{CredentialMediationRequirement/"required"}}. This makes
{{CredentialMediationRequirement/"required"}} mediation an implicit and
non-overridable behavior of the API.
</li>
</ul>
<pre class="idl">
[Exposed=Window, SecureContext]
interface DigitalCredential : Credential {
Expand Down