Leosac
0.8.0
Open Source Access Control
|
For other module to use. More...
#include <CRUDResourceHandler.hpp>
Public Types | |
using | Factory = ExternalCRUDResourceHandlerUPtr(*)(ModuleRequestContext) |
Public Types inherited from Leosac::Module::WebSockAPI::ICRUDResourceHandler | |
enum | Verb { Verb::CREATE, Verb::READ, Verb::UPDATE, Verb::DELETE } |
Protected Member Functions | |
ExternalCRUDResourceHandler (ModuleRequestContext ctx) | |
virtual UserSecurityContext & | security_context () const override |
Helper function that returns the security context. More... | |
Protected Attributes | |
ModuleRequestContext | ctx_ |
Additional Inherited Members | |
Public Member Functions inherited from Leosac::Module::WebSockAPI::ICRUDResourceHandler | |
boost::optional< json > | process (const ClientMessage &msg) |
Protected Types inherited from Leosac::Module::WebSockAPI::ICRUDResourceHandler | |
using | ActionActionParam = std::pair< SecurityContext::Action, SecurityContext::ActionParam > |
A pair of Action and a generic ActionParam union. More... | |
For other module to use.
Definition at line 103 of file CRUDResourceHandler.hpp.
using Leosac::Module::WebSockAPI::ExternalCRUDResourceHandler::Factory = ExternalCRUDResourceHandlerUPtr (*)(ModuleRequestContext) |
Definition at line 106 of file CRUDResourceHandler.hpp.
|
protected |
Definition at line 104 of file CRUDResourceHandler.cpp.
|
overrideprotectedvirtual |
Helper function that returns the security context.
Implements Leosac::Module::WebSockAPI::ICRUDResourceHandler.
Definition at line 109 of file CRUDResourceHandler.cpp.
|
protected |
Definition at line 112 of file CRUDResourceHandler.hpp.