- Fingerprint & face registration per device.
- Verification endpoint for user-login/payment flows.
- Biometric payment authorization hook for Payment Service via REST client.
- Database
V9__Create_biometric_credentials_table.sqlstores per-device biometric templates, status, audit timestamps and tenant metadata.
- Domain
BiometricCredentialentity +BiometricCredentialRepository.
- DTOs
BiometricRegistrationRequest/ResponseBiometricVerificationRequest/Response
- Service
BiometricAuthServicehashes templates (SHA-256), persists credentials, and validates verification tokens with per-request UUID verification IDs.
- API
BiometricAuthControllerPOST /api/auth/biometric/registerPOST /api/auth/biometric/verify
- Tests
- Service & controller level unit tests covering register/verify paths.
See BiometricAuthorizationService for POST /api/payments/biometric-authorize, which delegates verification to User Service using the new API and logs every authorization attempt.