AXIAM C++ SDK 1.0.0-alpha8
Authentication, authorization, JWKS & route guards (REST + mTLS)
Loading...
Searching...
No Matches
Public Attributes | List of all members
axiam::AccessDecision Struct Reference

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.
 

Detailed Description

Result of an access check (CheckAccessResponse).

Member Data Documentation

◆ allowed

bool axiam::AccessDecision::allowed = false

◆ reason

std::optional<std::string> axiam::AccessDecision::reason

Human-readable prose, when the server sends any.

◆ reason_code

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.


The documentation for this struct was generated from the following file: