Biometric Auth Screen
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Prompt and feedback UI for device biometric re-authentication (Face ID on iOS, fingerprint on Android). Gated by prior BankID/Vipps setup, it invokes local_auth to unlock the stored Supabase session token and falls back to BankID/Vipps if biometrics are unavailable or fail.
biometric-auth-screen
Responsibilities
- Display biometric prompt and contextual icon (face/fingerprint)
- Trigger local_auth biometric challenge
- Handle biometric success, failure, and lockout states
- Offer fallback navigation to BankID/Vipps screens
Interfaces
showBiometricPrompt()
onBiometricSuccess()
onBiometricFailure(error)
onBiometricLockout()
navigateToFallback()
checkBiometricAvailability()
Related Data Entities (1)
Data entities managed by this component