Leosac  0.8.0
Open Source Access Control
Leosac::Module::Auth::AuthResult Struct Reference

#include <AuthFileInstance.hpp>

+ Collaboration diagram for Leosac::Module::Auth::AuthResult:

Public Member Functions

 AuthResult (bool s, ::Leosac::Auth::IAccessProfilePtr p, ::Leosac::Auth::UserPtr u)
 

Public Attributes

bool success
 Wether access shall be granted, or not. More...
 
::Leosac::Auth::IAccessProfilePtr profile
 Profile used to grant or deny access. More...
 
::Leosac::Auth::UserPtr user
 A user object representing the user who made the authentication attempt. More...
 

Detailed Description

Definition at line 39 of file AuthFileInstance.hpp.

Constructor & Destructor Documentation

◆ AuthResult()

Leosac::Module::Auth::AuthResult::AuthResult ( bool  s,
::Leosac::Auth::IAccessProfilePtr  p,
::Leosac::Auth::UserPtr  u 
)
inline

Definition at line 41 of file AuthFileInstance.hpp.

Member Data Documentation

◆ profile

::Leosac::Auth::IAccessProfilePtr Leosac::Module::Auth::AuthResult::profile

Profile used to grant or deny access.

May be null if no corresponding to the auth source were found.

Definition at line 57 of file AuthFileInstance.hpp.

◆ success

bool Leosac::Module::Auth::AuthResult::success

Wether access shall be granted, or not.

Definition at line 52 of file AuthFileInstance.hpp.

◆ user

::Leosac::Auth::UserPtr Leosac::Module::Auth::AuthResult::user

A user object representing the user who made the authentication attempt.

Definition at line 63 of file AuthFileInstance.hpp.


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