OneIdSecurityStatus class
Device security posture. On iOS, backed by real on-device jailbreak heuristics (suspicious file paths, sandbox-escape attempts, suspicious loaded libraries) — deliberately hand-rolled rather than a third-party library dependency, since the common ones in this space carry commercial EULA terms that don't sit well with a publicly-published SDK. This is a best-effort, lower-confidence signal, not a server-verified one.
Not available on Android: root detection there is covered by
DeviceManagement.collectAttestationEvidence's server-verified Play
Integrity result instead, which is a stronger signal than any local
heuristic could be.
- Annotations
Constructors
-
OneIdSecurityStatus({required bool isCompromised, required DateTime checkedAt, Map<
String, dynamic> details = const {}}) -
const
Properties
- checkedAt → DateTime
-
final
-
details
→ Map<
String, dynamic> -
Which specific check(s) tripped, for logging/telemetry — e.g.
{'signals': ['suspicious_file', 'sandbox_escape']}. Empty when isCompromised is false.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isCompromised → bool
-
True if the device failed one or more jailbreak heuristic checks.
final
- 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