Infrastructure low complexity mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Wraps the Flutter local_auth plugin to provide a stable, testable interface for biometric and device-credential authentication. Abstracts platform-specific behaviour differences between iOS LocalAuthentication and Android BiometricPrompt, exposing a unified API to the Biometric Auth Service. Handles plugin version compatibility and error code normalization.

Feature: Biometric Login (Face ID/Fingerprint)

local-auth-adapter

Responsibilities

  • Wrap local_auth plugin calls for iOS LocalAuthentication and Android BiometricPrompt
  • Normalize platform-specific error codes into application-level error types
  • Expose unified availability and authentication APIs
  • Support unit testing via injectable interface

Interfaces

authenticate(localizedReason)
getAvailableBiometrics()
isDeviceSupported()
stopAuthentication()
canCheckBiometrics()

Relationships

Dependents (1)

Components that depend on this component