Skip to main content

Module biometrics

Module biometrics 

Source
Expand description

WASM-specific biometrics-over-IPC. This allows clients, such as browser, CLI and web to interact with the platform biometrics system of the desktop app.

Note: This should eventually be moved to a bitwarden-biometrics crate that also contains implementations for platform biometrics on all platforms. However, it is too early for that currently, and it is not sufficiently clear what is required / how it should be structured, as it should capture the needs of all platforms (mobile and web).

Structs§

AuthenticateBiometricsHandler
RPC handler for AuthenticateBiometricsRequest.
AuthenticateBiometricsRequest
RPC request to trigger a biometrics UV check.
GetBiometricsStatusHandler
RPC handler for GetBiometricsStatusRequest.
GetBiometricsStatusRequest
RPC request to check whether biometric unlock is available for a user.
JsBiometricsUnlock 🔒
RawJsBiometricsDriver
JavaScript implementation of user lock-management operations used by shared unlock.
UnlockBiometricsHandler
RPC handler for UnlockBiometricsRequest.
UnlockBiometricsRequest
RPC request to trigger biometric unlock for a user.

Enums§

BiometricsStatus
The current biometric capability state for a specific user on this client.

Functions§

ipc_register_biometrics_handlers
Registers shared-unlock biometrics RPC handlers on the IPC client.
ipc_request_authenticate_biometrics
Sends an AuthenticateBiometrics RPC request to the desktop renderer.
ipc_request_get_biometrics_status
Sends a GetBiometricsStatus RPC request to the desktop renderer
ipc_request_unlock_biometrics
Sends an UnlockBiometrics RPC request to the desktop renderer