Package com.cedarpolicy.model
Class AuthorizationResponse.Diagnostics
java.lang.Object
com.cedarpolicy.model.AuthorizationResponse.Diagnostics
- Enclosing class:
- AuthorizationResponse
The reasons and errors from a request evaluation.
-
Constructor Summary
ConstructorsConstructorDescriptionDiagnostics(Set<String> reason, List<String> errors) Read the reasons and errors from a JSON object. -
Method Summary
-
Constructor Details
-
Diagnostics
Read the reasons and errors from a JSON object.- Parameters:
reason- Reasons (e.g., matching policies)errors- Errors encountered checking the request
-