Skip to content

Commit

Permalink
Point out that isCMA() is equivalent to conditionalMediation
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Mar 19, 2024
1 parent 24912f7 commit c6dbab4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1591,6 +1591,8 @@ that are returned to the caller when a new credential is created, or a new asser

This method has no arguments and returns a promise to a Boolean value.

The {{ClientCapability/conditionalMediation}} capability is equivalent to this promise resolving to [TRUE].

Note: If this method is not present, {{CredentialMediationRequirement/conditional}} [=user mediation=] is not available for
{{CredentialsContainer/get()|navigator.credentials.get()}}.

Expand Down Expand Up @@ -4012,6 +4014,8 @@ Note: The {{ClientCapability}} enumeration is deliberately not referenced, see [
:: The [=WebAuthn Client=] is capable of {{CredentialMediationRequirement/conditional}} mediation
in {{CredentialsContainer/get()|navigator.credentials.get()}}.

This capability is equivalent to {{PublicKeyCredential/isConditionalMediationAvailable()}} returning [TRUE].

See [[#sctn-getAssertion]] for more details.

: <dfn>hybridTransport</dfn>
Expand Down

0 comments on commit c6dbab4

Please sign in to comment.