Secure Storage Adapter
Component Detail
Infrastructure
low complexity
Shared Component
mobile
0
Dependencies
3
Dependents
0
Entities
1
Integrations
Description
Abstraction layer over Flutter's platform secure storage (Keychain on iOS, Keystore on Android) used for persisting sensitive session data such as the selected organization ID and authentication tokens. Provides a typed interface so higher-level services are not coupled to a specific storage plugin.
secure-storage-adapter
Responsibilities
- Write key-value pairs to platform secure storage
- Read and return stored values by key
- Delete individual keys or flush all stored data
- Handle platform-specific storage exceptions gracefully
Interfaces
write(String key, String value) -> Future<void>
read(String key) -> Future<String?>
delete(String key) -> Future<void>
deleteAll() -> Future<void>
containsKey(String key) -> Future<bool>
Relationships
Dependents (3)
Components that depend on this component