WebAuthn Platform Adapter
Component Detail
Infrastructure
high complexity
mobile
0
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Infrastructure adapter that abstracts platform-specific FIDO2 authenticator APIs. On iOS it interfaces with the AuthenticationServices framework for Apple passkeys, on Android it uses the Credential Manager API. Provides a unified interface for registration and authentication regardless of platform.
webauthn-platform-adapter
Responsibilities
- Abstract iOS AuthenticationServices and Android Credential Manager behind a unified API
- Handle platform-specific passkey creation and assertion flows
- Detect platform authenticator availability and supported transport types
- Manage platform-specific error codes and translate to domain errors
Interfaces
createCredential(options)
getCredential(options)
isPasskeySupported()
getSupportedTransports()
cancelCurrentOperation()
getPlatformAuthenticatorType()
Relationships
Dependents (2)
Components that depend on this component