xentara-plugin v2.0.3
The Xentara Plugin Framework
|
A authorization that contains the entitlements of an authenticated user. More...
#include <xentara/security/Authorization.hpp>
Public Member Functions | |
Authorization ()=default | |
Default constructor. | |
operator bool () const noexcept | |
Determines if the authorization contains any entitlements at all. | |
A authorization that contains the entitlements of an authenticated user.
|
default |
Default constructor.
This constructor creates an authorization that has no entitlements whatsoever, not even the entitlements granted to the role “Everyone”.
To get an authorization that represents a real user, use security::Context::authenticate().
|
explicitnoexcept |
Determines if the authorization contains any entitlements at all.