SecureConfigManager class
Secure Configuration Manager for Payment Credentials Handles secure storage and retrieval of sensitive configuration
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
clearConfig(
) → Future< void> - Clear all stored configuration
-
getApiKey(
) → Future< String?> - Get API key (decrypted)
-
getBackendUrl(
) → Future< String?> - Get backend URL
-
getMerchantInfo(
) → Future< Map< String, dynamic> ?> - Get merchant information
-
getSecureConfig(
) → Future< Map< String, dynamic> ?> - Get secure configuration for backend proxy
-
hasValidConfig(
) → Future< bool> - Check if configuration exists
-
initializeConfig(
{required String backendUrl, required String apiKey, required Map< String, dynamic> merchantInfo}) → Future<void> - Initialize secure configuration
-
rotateApiKey(
String newApiKey) → Future< void> - Rotate API key securely
-
updateConfig(
{String? backendUrl, String? apiKey, Map< String, dynamic> ? merchantInfo}) → Future<void> - Update configuration securely
-
verifyConfigIntegrity(
) → Future< bool> - Verify configuration integrity