SecureStorageStatus
Namespace: BlazorNative.Core
The wire-mirrored outcome of a secure-storage op. The biometric-gate
detail (failed vs cancelled vs lockout) folds into AuthFailed —
a consumer wanting the finer grain uses IBiometrics. Every non-Ok
value is DATA — never an exception, never a hang; out-of-range maps to
Error. The numeric values are the ABI contract; do not reorder.
public enum SecureStorageStatus
Inheritance Object → ValueType → Enum → SecureStorageStatus
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Ok | 0 | set/delete succeeded; a get FOUND the value (carried in the {"value":…} payload). |
| NotFound | 1 | A get / getWithAuth of an absent key (no payload). |
| AuthFailed | 2 | The biometric gate on getWithAuth denied / failed / cancelled / locked out. |
| Unavailable | 3 | No secure hardware / Keystore unusable / (getWithAuth) biometrics not enrolled. |
| Error | 4 | Unexpected host error (a caught throw, a decrypt failure, malformed/oversize args). |