Skip to content

Commit

Permalink
Drop navigator.identity namespace (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres authored Sep 16, 2024
1 parent 5c07f1f commit b6c64a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async function requestLicense() {
},
},
};
const digitalCredential = await navigator.identity.get({
const digitalCredential = await navigator.credentials.get({
digital: {
providers: [oid4pv],
},
Expand Down
15 changes: 0 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,21 +154,6 @@ <h2>
request process.
</li>
</ul>
<h2>
Extensions to the `Navigator` interface
</h2>
<pre class="idl">
partial interface Navigator {
[SecureContext, SameObject] readonly attribute CredentialsContainer identity;
};
</pre>
<h3>
The `identity` attribute
</h3>
<p data-dfn-for="Navigator">
The <dfn>identity</dfn> attribute provides access to the the underlying
{{CredentialsContainer}} for managing [=digital credentials=].
</p>
<h2>
Extensions to `CredentialRequestOptions` dictionary
</h2>
Expand Down

0 comments on commit b6c64a1

Please sign in to comment.