[webauthn] Merged Pull Request: Add new isPasskeyPlatformAuthenticatorAvailable() method

timcappalli has just merged timcappalli's pull request 1901 for https://github.com/w3c/webauthn:

== Add new isPasskeyPlatformAuthenticatorAvailable() method ==
The current developer guidance to relying parties for whether they can offer passkeys to users is to call `isUVPAA()` and `isConditionalMediationAvailable()`. One returns a boolean, the other a promise. This is already complex . This also doesn't tell the whole story. For example, in Chrome and Edge on Ubuntu, users can currently create a syncable passkey on another device such as a phone or tablet using Cross-Device Authentication (hybrid transport). There is no way for a relying party to know this today, and passkeys won't be offered to users. This is a similar case with smart displays and other devices such as kiosks.

This method is designed to be a very simple way for the majority of developers to detect whether they can offer passkeys to users.

For more advanced use cases, `isUVPAA()` remains available, and an upcoming PR will introduce a more advanced feature detection method for things like specific transports (e.g. is just hybrid available) and CTAP2 security keys with client PIN entry support.

This was originally proposed during the WebAuthn F2F in April 2023.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/w3c/webauthn/pull/1901.html" title="Last updated on Jun 28, 2023, 2:13 PM UTC (8813987)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/webauthn/1901/ad61c6f...8813987.html" title="Last updated on Jun 28, 2023, 2:13 PM UTC (8813987)">Diff</a>

See https://github.com/w3c/webauthn/pull/1901


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 July 2023 19:33:58 UTC