StorageRepo class abstract

Handles secure storage of private information retained via the OAuth process including tokens, state, and code verifiers.

Constructors

StorageRepo()
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

clear() Future<void>
Clears all values previously stored by this class. The exact values cleared depends on the configuration provided when the instance was initialized, e.g. appGroup.
delete(String key) Future<void>
Deletes the value associated with the given key.
getEphemeralString(String key) Future<String?>
Retrieves an ephemeral value (will be removed when the app is uninstalled).
getString(String key) Future<String?>
Returns the value stored for the given key or null, if not present.
init({Uint8List? encryptionKey}) Future<void>
Initializes the storage repository.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEphemeralString(String key, String value) Future<void>
Stores an ephemeral value (will be removed when the app is uninstalled).
setString(String key, String value) Future<void>
Sets the stored value for the given key.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → StorageRepoImpl
latefinal