Passkey Service
Component Detail
Service Layer
high complexity
mobile
2
Dependencies
2
Dependents
2
Entities
0
Integrations
Description
Core service managing the full FIDO2/WebAuthn lifecycle on the mobile client. Handles credential creation (registration), credential assertion (authentication), device capability checks, and communication with the backend WebAuthn endpoint.
passkey-service
Responsibilities
- Invoke platform authenticator for passkey registration and authentication
- Serialize and transmit PublicKeyCredential data to the backend
- Verify backend challenge before invoking platform credential API
- Handle platform errors and provide typed failure results to the UI
- Support listing and revocation of credentials via backend API
Interfaces
registerPasskey(challenge: String) -> PasskeyCredential
authenticateWithPasskey(challenge: String) -> AssertionResult
listPasskeys() -> List<PasskeyInfo>
revokePasskey(credentialId: String) -> void
isPasskeySupported() -> bool
Relationships
Dependencies (2)
Components this component depends on
Dependents (2)
Components that depend on this component
Related Data Entities (2)
Data entities managed by this component