Skip to content

Commit

Permalink
Merge pull request #1991 from w3c/issue-1956-prevent-silent-access
Browse files Browse the repository at this point in the history
Don't define a [[preventSilentAccess]] internal method
  • Loading branch information
emlun committed Dec 13, 2023
2 parents cf35363 + 2803185 commit c639dd5
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,9 @@ that are returned to the caller when a new credential is created, or a new asser
implementation of each of {{PublicKeyCredential/[[Create]](origin, options, sameOriginWithAncestors)}}, {{PublicKeyCredential/[[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors)}}, and
{{PublicKeyCredential/[[Store]](credential, sameOriginWithAncestors)}}.

Calling {{CredentialsContainer}}'s {{CredentialsContainer/preventSilentAccess()}} method
will have no effect on {{PublicKeyCredential}} credentials, since they always require user interaction.


### `CredentialCreationOptions` Dictionary Extension ### {#sctn-credentialcreationoptions-extension}

Expand Down Expand Up @@ -2768,18 +2771,6 @@ When this method is invoked, the user agent MUST execute the following algorithm

</div>

### Preventing Silent Access to an Existing Credential - PublicKeyCredential's `[[preventSilentAccess]](credential, sameOriginWithAncestors)` Method ### {#sctn-preventSilentAccessCredential}

<div link-for-hint="PublicKeyCredential/[[preventSilentAccess]](credential, sameOriginWithAncestors)">

Calling the <dfn for="PublicKeyCredential" method>\[[preventSilentAccess]](credential, sameOriginWithAncestors)</dfn> method
will have no effect on authenticators that require an [=authorization gesture=],
but setting that flag may potentially exclude authenticators that can operate without user intervention.

This [=internal method=] accepts no arguments.

</div>

### Availability of [=User-Verifying Platform Authenticator=] - PublicKeyCredential's `isUserVerifyingPlatformAuthenticatorAvailable()` Method ### {#sctn-isUserVerifyingPlatformAuthenticatorAvailable}

<div link-for-hint="WebAuthentication/isUserVerifyingPlatformAuthenticatorAvailable">
Expand Down

0 comments on commit c639dd5

Please sign in to comment.