SubjectAccessReviewStatus class
SubjectAccessReviewStatus.
Constructors
- SubjectAccessReviewStatus({required bool allowed, bool? denied, String? evaluationError, String? reason})
-
Default constructor.
const
-
SubjectAccessReviewStatus.fromJson(Map<
String, dynamic> json) -
Creates a SubjectAccessReviewStatus from JSON data.
factory
Properties
- allowed → bool
-
Allowed is required. True if the action would be allowed, false otherwise.
final
- denied → bool?
-
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.
final
- evaluationError → String?
-
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
Reason is optional. It indicates why a request was allowed or denied.
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
-
toJson(
) → Map< String, Object> - Converts a SubjectAccessReviewStatus instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited