TomGatedAvailability enum

What gates a TomGatedSecretStore's items on this device now.

Inheritance
Available extensions

Values

none → const TomGatedAvailability

No OS check can gate an item: no secure lock screen, no biometrics set up, a remote session the check does not reach (Screen Sharing, RDP), or a platform without one (Linux). The caller asks for the password.

biometric → const TomGatedAvailability

The item is released only after a biometric check (Touch ID, Face ID, a fingerprint, Windows Hello): bound to a key the OS uses only after the check.

passcode → const TomGatedAvailability

The item is released only after the device passcode or login password (no biometrics enrolled), bound as biometric is.

gateOnly → const TomGatedAvailability

The OS check guards the read, but nothing binds the item to it: a process of the same user that reads the item's store directly gets it without the check. The weaker form, named as such where the user chooses it (an ad-hoc signed macOS app, which cannot use the data-protection keychain).

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<TomGatedAvailability>
A constant List of the values in this enum, in order of their declaration.