ENUM
StorageItemCategory
Contents
- Cases
sessionCredentialcryptographicKeydiagnosticother
public enum StorageItemCategory: Sendable
A coarse, storage-agnostic, non-sensitive label for the kind of item a StorageError.unavailable
refers to (never the key or value). Deliberately backend-neutral — meaningful for any Storage
implementation, not tied to keychain internals. Determined best-effort; items that can't be classified
report .other.
Cases
sessionCredential
case sessionCredential
Persisted session state (e.g. token / DPoP session credentials).
cryptographicKey
case cryptographicKey
Cryptographic key material stored on its own.
diagnostic
case diagnostic
A transient diagnostic item (e.g. a config-time reachability probe).
other
case other
Anything else / not classifiable.