Skip to content

Commit

Permalink
Simplify reference to default [[CollectFromCredentialStore]]
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Oct 7, 2024
1 parent c258674 commit 8d76185
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2318,9 +2318,9 @@ should be available without [=user mediation=] (roughly, this specification's [=
exactly one of those, it then calls <code>PublicKeyCredential.{{PublicKeyCredential/[DISCOVER-METHOD]}}</code> to have
the user select a [=public key credential source=].

Since this specification requires an [=authorization gesture=] to create any [=assertions=], the <code>PublicKeyCredential.<dfn
for="PublicKeyCredential" method>\[[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors)</dfn></code> [=internal method=] inherits the default behavior of
{{Credential/[[CollectFromCredentialStore]]()|Credential.[[CollectFromCredentialStore]]()}}, of returning an empty set.
Since this specification requires an [=authorization gesture=] to create any [=assertions=],
{{PublicKeyCredential}} inherits the default behavior of
{{Credential/[[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors)}}, of returning an empty set.

In general, the user agent SHOULD show some UI to the user to guide them in selecting and authorizing an authenticator with which
to complete the operation. By setting <code>|options|.{{CredentialRequestOptions/mediation}}</code> to {{CredentialMediationRequirement/conditional}}, [=[RPS]=] can indicate that a prominent modal UI should <i>not</i> be shown <i>unless</i> credentials are discovered.
Expand Down

0 comments on commit 8d76185

Please sign in to comment.