Leosac  0.8.0
Open Source Access Control
Leosac::Module::Doorman::DoormanAction Struct Reference

Helper struct to wrap an "action". More...

#include <DoormanInstance.hpp>

+ Collaboration diagram for Leosac::Module::Doorman::DoormanAction:

Public Attributes

std::string target_
 Target component. More...
 
Leosac::Auth::AccessStatus on_
 When should this action be done? on GRANTED or DENIED ? More...
 
std::vector< std::string > cmd_
 The command to be send. More...
 

Detailed Description

Helper struct to wrap an "action".

It is composed of a target_ (object name), a field (on_) to know when the action should take place, and a list of string that represents the command.

Definition at line 40 of file DoormanInstance.hpp.

Member Data Documentation

◆ cmd_

std::vector<std::string> Leosac::Module::Doorman::DoormanAction::cmd_

The command to be send.

Each element of the vector will be a frame in the zmqpp::message.

Definition at line 56 of file DoormanInstance.hpp.

◆ on_

Leosac::Auth::AccessStatus Leosac::Module::Doorman::DoormanAction::on_

When should this action be done? on GRANTED or DENIED ?

Definition at line 50 of file DoormanInstance.hpp.

◆ target_

std::string Leosac::Module::Doorman::DoormanAction::target_

Target component.

Will be reach through REQ.

Definition at line 45 of file DoormanInstance.hpp.


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