Package com.clevercloud.biscuit.error
Class LogicError.Unauthorized
- java.lang.Object
-
- com.clevercloud.biscuit.error.LogicError
-
- com.clevercloud.biscuit.error.LogicError.Unauthorized
-
- Enclosing class:
- LogicError
public static class LogicError.Unauthorized extends LogicError
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.clevercloud.biscuit.error.LogicError
LogicError.AuthorizerNotEmpty, LogicError.InvalidAmbientFact, LogicError.InvalidAuthorityFact, LogicError.InvalidBlockFact, LogicError.InvalidBlockRule, LogicError.MatchedPolicy, LogicError.NoMatchingPolicy, LogicError.Unauthorized
-
-
Field Summary
Fields Modifier and Type Field Description List<FailedCheck>errorsLogicError.MatchedPolicypolicy
-
Constructor Summary
Constructors Constructor Description Unauthorized(LogicError.MatchedPolicy policy, List<FailedCheck> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)io.vavr.control.Option<List<FailedCheck>>failed_checks()inthashCode()com.google.gson.JsonElementtoJson()StringtoString()
-
-
-
Field Detail
-
errors
public final List<FailedCheck> errors
-
policy
public final LogicError.MatchedPolicy policy
-
-
Constructor Detail
-
Unauthorized
public Unauthorized(LogicError.MatchedPolicy policy, List<FailedCheck> errors)
-
-
Method Detail
-
failed_checks
public io.vavr.control.Option<List<FailedCheck>> failed_checks()
- Overrides:
failed_checksin classLogicError
-
toJson
public com.google.gson.JsonElement toJson()
- Overrides:
toJsonin classLogicError
-
-