AmplifySecureStorageConfig class abstract
Configuration options for Amplify Secure Storage.
Constructors
- AmplifySecureStorageConfig({required String scope, WebSecureStorageOptions? webOptions, WindowsSecureStorageOptions? windowsOptions, LinuxSecureStorageOptions? linuxOptions, MacOSSecureStorageOptions? macOSOptions, IOSSecureStorageOptions? iOSOptions})
-
Configuration options for Amplify Secure Storage.
factory
- AmplifySecureStorageConfig.byNamespace({required String namespace})
-
Configuration options for overriding the default namespace.
factory
Properties
- defaultNamespace → String
-
The default namespace for keys-value pairs.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- iOSOptions → IOSSecureStorageOptions
-
Options that are specific to the iOS platform.
no setter
- linuxOptions → LinuxSecureStorageOptions
-
Options that are specific to the Linux platform.
no setter
- macOSOptions → MacOSSecureStorageOptions
-
Options that are specific to the MacOS platform.
no setter
- namespace → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
The scope of the secrets to be stored.
no setter
- webOptions → WebSecureStorageOptions
-
Options that are specific to the Web platform.
no setter
- windowsOptions → WindowsSecureStorageOptions
-
Options that are specific to the Windows platform.
no setter
Methods
-
copyWith(
{String? scope, String? namespace, WebSecureStorageOptions? webOptions, WindowsSecureStorageOptions? windowsOptions, LinuxSecureStorageOptions? linuxOptions, MacOSSecureStorageOptions? macOSOptions, IOSSecureStorageOptions? iOSOptions}) → AmplifySecureStorageConfig -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(AmplifySecureStorageConfigBuilder)) → AmplifySecureStorageConfig -
Rebuilds the instance.
inherited
-
toBuilder(
) → AmplifySecureStorageConfigBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
AmplifySecureStorageConfig> -
The
AmplifySecureStorageConfig
serializer.no setter