StorageSecurity

enum StorageSecurity : Enum<KeyValueStorage.StorageSecurity>

Security of the storage, can be used as qualified for dependency injection to support having both secure and insecure implementations available for use.

Entries

Insecure
Link copied to clipboard
A secure storage should be used for more important data, like an authentication token, user identifier, etc.
Secure
Link copied to clipboard
An insecure storage can be used for user preferences, application settings, and other inconsequential data.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int