PasskeyCapabilities
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
What the browser reports it can do, from PublicKeyCredential.getClientCapabilities() where the browser has it and from the older feature tests where it does not. Hints for the user interface — show or hide a "Sign in with a passkey" button — and never a security decision: every ceremony is verified on the server whatever the browser claimed.
4.2.0+- C#
- VB.NET
public sealed class PasskeyCapabilities
Public NotInheritable Class PasskeyCapabilities
A nullable probe is null when the browser did not say. The client-capabilities dictionary is null when getClientCapabilities() is unavailable or failed; when present, it preserves every browser-reported key verbatim as a UX hint.
Properties
ClientCapabilities
IReadOnlyDictionary<String, Boolean>: Returns the browser's PublicKeyCredential.getClientCapabilities() record, or null when that method is unavailable or failed. Keys such as hybridTransport and passkeyPlatformAuthenticator are entries here, not separate strongly typed properties.
ConditionalMediation
Nullable<Boolean>: Returns whether conditional mediation is available, or null when the browser has no probe. V1 exposes this only as a UX hint and offers no conditional-ceremony API.
IsSupported
Boolean: Returns whether the page can call navigator.credentials.create() and get() at all: the PublicKeyCredential interface exists and the page is a secure context. False means every ceremony fails with NotSupported.
JsonHelpers
Boolean: Returns whether the browser has the WebAuthn JSON conversion helpers used by the widget. A false value does not weaken verification; the widget uses its bounded manual conversion.
SecureContext
Boolean: Returns whether the page is a secure context.
UserVerifyingPlatformAuthenticator
Nullable<Boolean>: Returns whether the device has a built-in authenticator that can verify the user (Windows Hello, Touch ID, Face ID, a screen lock), or null when unknown.