EnhancedSecureStorageService class

Enhanced Secure Storage Service Provides biometric protection, multiple token sources, and fallback mechanisms

Constructors

EnhancedSecureStorageService()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() Future<void>
Clear all stored data
clearKey(String key) Future<void>
Clear specific key
containsKey(String key) Future<bool>
Check if key exists
disableMockStorage() → void
Disable mock storage
enableMockStorage() → void
Enable mock storage for testing
getAllKeys() Future<Set<String>>
Get all stored keys
getStoredJwtToken() Future<String?>
Get stored JWT token from multiple sources
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieveCredentials({bool requireBiometrics = false, String? customKey}) Future<Map<String, dynamic>?>
Retrieve credentials with biometric protection
retrievePinSecurely({String? username}) Future<String?>
Retrieve PIN with biometric protection
retrieveValue(String key, {bool requireBiometrics = false}) Future<String?>
Retrieve value with optional biometric protection
storeCredentials(Map<String, dynamic> credentials, {bool requireBiometrics = false, String? customKey}) Future<void>
Store credentials with biometric protection
storeJwtToken(String token) Future<void>
Store JWT token
storePinSecurely(String pin, {String? username}) Future<void>
Store PIN with biometric protection
storeValue(String key, String value, {bool requireBiometrics = false}) Future<void>
Store value with optional biometric protection
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited