morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::session::IAuthorizer::Admission Struct Reference

What admit decides about one call: whether it may run, and under which verified principal. More...

#include <session.hpp>

Public Attributes

bool allowed = false
 authorize's answer.
std::optional< std::string > principal

Detailed Description

What admit decides about one call: whether it may run, and under which verified principal.

Definition at line 172 of file session.hpp.

Member Data Documentation

◆ allowed

bool morph::session::IAuthorizer::Admission::allowed = false

authorize's answer.

Definition at line 174 of file session.hpp.

◆ principal

std::optional<std::string> morph::session::IAuthorizer::Admission::principal

authenticate's answer: the principal to make authoritative, or nullopt when the authorizer cannot vouch for one.

Definition at line 177 of file session.hpp.


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