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§
- Authenticate
Biometrics Handler - RPC handler for
AuthenticateBiometricsRequest. - Authenticate
Biometrics Request - RPC request to trigger a biometrics UV check.
- GetBiometrics
Status Handler - RPC handler for
GetBiometricsStatusRequest. - GetBiometrics
Status Request - RPC request to check whether biometric unlock is available for a user.
- JsBiometrics
Unlock 🔒 - RawJs
Biometrics Driver - JavaScript implementation of user lock-management operations used by shared unlock.
- Unlock
Biometrics Handler - RPC handler for
UnlockBiometricsRequest. - Unlock
Biometrics Request - RPC request to trigger biometric unlock for a user.
Enums§
- Biometrics
Status - 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
AuthenticateBiometricsRPC request to the desktop renderer. - ipc_
request_ get_ biometrics_ status - Sends a
GetBiometricsStatusRPC request to the desktop renderer - ipc_
request_ unlock_ biometrics - Sends an
UnlockBiometricsRPC request to the desktop renderer