Class CefAuthenticatorInterfaceRegistrar
java.lang.Object
com.cefrium.webauthn.CefAuthenticatorInterfaceRegistrar
FEATURE-064: registers the WebAuthn Authenticator factory for render frames so
navigator.credentials.create/get({publicKey}) (passkeys) reach the
Android Fido2 / Credential Manager path (surfacing providers like Proton Pass).
Cefrium stubs out Chrome's ChromeInterfaceRegistrar (which is what
binds the Authenticator mojo interface in a full Chrome build), and re-adds the
interfaces an embedding needs per-embedder -- as it already does for
PaymentRequest. Without this, the blink.mojom.Authenticator interface
is never bound to a Java factory, so the passkey prompt has no Android
authenticator and the credential picker never appears.
Uses the reusable components factory AuthenticatorFactory (not
Chrome's, which pulls chrome deps); a null confirmation-UI factory is
explicitly supported. The WebAuthn mode is set elsewhere (Cefrium.configureWebAuthn
+ per-WebContents CHROME_3PP_ENABLED), so the factory produces a live authenticator.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister()Idempotent; safe to call on every navigation.
-
Method Details
-
register
public static void register()Idempotent; safe to call on every navigation.
-