Description
Based on discussion at the 2025-04-11 hybrid meeting and in #200, this issue proposes the creation of a new static method called isProtocolSupportedByClient
, which takes a protocol identifier string as input, and returns a promise that resolves with a boolean.
This only represents whether the client (e.g. browser) understand the request enough to pass it southbound to the platform. It does NOT represent whether a credential provider/wallet is available and can support the protocol.
partial interface DigitalCredential {
static Promise<boolean> isProtocolSupportedByClient(DOMString protocol);
};
As an aside, as I said in the F2F, I think we will regret the ergonomics of this (vs a more general getClientCapabilities() method) long term, just as we did with WebAuthn 6+ years later, but I'd like to get this moving forward as this is important for developers.