FIDO2 Platform Channel Bridge
Component Detail
Infrastructure
high complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Flutter platform channel that wraps the native FIDO2 APIs on iOS (AuthenticationServices / ASAuthorization) and Android (FIDO2 Client API). Translates Dart method calls into native passkey registration and assertion operations, handling platform-specific deep link verification (Apple App Site Association / Android Asset Links) at the OS level.
fido2-platform-bridge
Sources & reasoning
Flutter has no first-party WebAuthn API; native FIDO2 functionality requires a platform channel to iOS AuthenticationServices and Android FIDO2 Client API. The implementation notes explicitly state this architecture, making this bridge a mandatory infrastructure component.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Expose Dart API for passkey registration and authentication
- Delegate to iOS AuthenticationServices for platform authenticator operations
- Delegate to Android FIDO2 Client API for Android devices
- Handle platform errors and surface typed exceptions to Dart
Interfaces
registerPasskey(options: RegistrationOptions): RegistrationResponse
authenticateWithPasskey(options: AuthenticationOptions): AssertionResponse