diff --git a/index.bs b/index.bs index a2b8e1785..af9ab45be 100644 --- a/index.bs +++ b/index.bs @@ -1739,7 +1739,7 @@ To support obtaining assertions via {{CredentialsContainer/get()|navigator.crede -### Create a New Credential - PublicKeyCredential's [CREATE-METHOD-DEF] Method ### {#sctn-createCredential} +### Create a New Credential - PublicKeyCredential's [CREATE-METHOD-DEF] Internal Method ### {#sctn-createCredential}
{{PublicKeyCredential}}'s [=interface object=]'s implementation of the {{Credential/[CREATE-METHOD]}} [=internal method=] [[!CREDENTIAL-MANAGEMENT-1]] allows @@ -2301,7 +2301,7 @@ The following [=simple exceptions=] can be raised: -### Use an Existing Credential to Make an Assertion - PublicKeyCredential's `[[Get]](options)` Method ### {#sctn-getAssertion} +### Use an Existing Credential to Make an Assertion ### {#sctn-getAssertion} [=[WRPS]=] call navigator.credentials.get({publicKey:..., ...}) to discover and use an existing [=public key credential=], with the [=user consent|user's consent=]. [=[RP]=] script optionally specifies some criteria @@ -2318,9 +2318,10 @@ should be available without [=user mediation=] (roughly, this specification's [= exactly one of those, it then calls PublicKeyCredential.{{PublicKeyCredential/[DISCOVER-METHOD]}} to have the user select a [=public key credential source=]. -Since this specification requires an [=authorization gesture=] to create any [=assertions=], the PublicKeyCredential.\[[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors) [=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. +{{PublicKeyCredential}}'s implementation of {{PublicKeyCredential/[DISCOVER-METHOD]}} is specified in the next section. 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 |options|.{{CredentialRequestOptions/mediation}} to {{CredentialMediationRequirement/conditional}}, [=[RPS]=] can indicate that a prominent modal UI should not be shown unless credentials are discovered. @@ -2333,7 +2334,7 @@ Any {{CredentialsContainer/get()|navigator.credentials.get()}} operation can be aborted by leveraging the {{AbortController}}; see [[dom#abortcontroller-api-integration]] for detailed instructions. -#### PublicKeyCredential's [DISCOVER-METHOD-DEF] Method #### {#sctn-discover-from-external-source} +#### PublicKeyCredential's [DISCOVER-METHOD-DEF] Internal Method #### {#sctn-discover-from-external-source}
@@ -2855,7 +2856,7 @@ The following [=simple exceptions=] can be raised: -### Store an Existing Credential - PublicKeyCredential's `[[Store]](credential, sameOriginWithAncestors)` Method ### {#sctn-storeCredential} +### Store an Existing Credential - PublicKeyCredential's `[[Store]](credential, sameOriginWithAncestors)` Internal Method ### {#sctn-storeCredential}