|
AXIAM C++ SDK 1.0.0-alpha8
Authentication, authorization, JWKS & route guards (REST + mTLS)
|
Result of an access check (CheckAccessResponse). More...
#include <types.hpp>
Public Attributes | |
| bool | allowed = false |
| std::optional< std::string > | reason |
| Human-readable prose, when the server sends any. | |
| std::optional< std::string > | reason_code |
| §11 rule 9 machine-readable decision reason. | |
Result of an access check (CheckAccessResponse).
| bool axiam::AccessDecision::allowed = false |
| std::optional<std::string> axiam::AccessDecision::reason |
Human-readable prose, when the server sends any.
| std::optional<std::string> axiam::AccessDecision::reason_code |
§11 rule 9 machine-readable decision reason.
std::nullopt when the server predates the clause — absence, not an error. One of the reason_code:: constants, or an unrecognised code passed through untouched. The allow/deny outcome is carried by allowed alone; never re-derive it from this field.