PolicyInput class
The structured input fed to a policy evaluator on every vault/proxy-login, vault/release, and policy/evaluate call.
Constructors
- PolicyInput({required PolicyInputRequest request, required SiteTarget? site, required String contextId, required PolicyInputConsumer consumer})
-
const
-
PolicyInput.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- consumer → PolicyInputConsumer
-
final
- contextId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- request → PolicyInputRequest
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- site → ConsumerKind?
-
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