Skip to main content

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 ObjectValueTypeEnumSecureStorageStatus
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

NameValueDescription
Ok0set/delete succeeded; a get FOUND the value (carried in the {"value":…} payload).
NotFound1A get / getWithAuth of an absent key (no payload).
AuthFailed2The biometric gate on getWithAuth denied / failed / cancelled / locked out.
Unavailable3No secure hardware / Keystore unusable / (getWithAuth) biometrics not enrolled.
Error4Unexpected host error (a caught throw, a decrypt failure, malformed/oversize args).