Payload class
An administrator other than its subject ratifies one unratified break-glass record, turning it into an ordinary grant: it stops being flagged, and starts counting toward the last-owner and last-admin invariants.
Constructors
- Payload({required Did subject, required ElevatedRight right, required Resource resource, required String breakGlassAt, String? statement, Ext? ext})
-
const
-
Payload.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- breakGlassAt → String
-
The record's
breakGlass.recordedAt, as the ratifier read it. Binds the ratification to the one break-glass the ratifier read and judged, so that it cannot ratify a later one — made after that one was revoked, with a different justification — by the same subject for the same right.final - ext → Ext?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- resource → String
-
The resource exactly as recorded.
final
- right → ElevatedRight
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statement → String?
-
Why, in the ratifier's words. Kept in the audit record and carried in the notice;
shown to the same people as the justification.
final
- subject → String
-
Who broke the glass: the record's subject.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited