Re: [webauthn] Add new getClientCapabilities method (#1923)

>it would be great if we added an equivalent capability enums for [...] Maybe the conditional mediation check too?

Note that [`isConditionalMediationAvailable()`](https://w3c.github.io/webauthn/#dom-publickeycredential-isconditionalmediationavailable) is defined in the Credential Management spec, and WebAuthn only overrides it, so unlike `isPPAA()` we cannot delete `isConditionalMediationAvailable()` in favour of `getClientCapabilities()`. So again in the interest of de-duplication, I think we should keep the conditional mediation check separate.

> user-verifying platform authenticator is not a client capability

How is it not?

But perhaps that's a moot point anyway. Again, I don't think there should be both a `uvpaa` capability and the `isUVPAA()` method, and removing `isUVPAA()` at this point would be a breaking change. Making it deprecated isn't very appealing either since we probably can't ever actually follow through with deleting it.

-- 
GitHub Notification of comment by emlun
Please view or discuss this issue at https://github.com/w3c/webauthn/pull/1923#issuecomment-1653589170 using your GitHub account


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

Received on Thursday, 27 July 2023 13:06:09 UTC