Leosac  0.8.0
Open Source Access Control
Leosac::Module::WebSockAPI::RequestContext Struct Reference

Holds valuable pointer to provide context to a request. More...

#include <RequestContext.hpp>

+ Collaboration diagram for Leosac::Module::WebSockAPI::RequestContext:

Public Attributes

APIPtr session
 
DBServicePtr dbsrv
 
WSServerserver
 
const ClientMessageoriginal_msg
 The original, complete, client message object. More...
 
SecurityContextsecurity_ctx
 
Audit::IAuditEntryPtr audit
 The initial audit trail for the request. More...
 

Detailed Description

Holds valuable pointer to provide context to a request.

Definition at line 36 of file RequestContext.hpp.

Member Data Documentation

◆ audit

Audit::IAuditEntryPtr Leosac::Module::WebSockAPI::RequestContext::audit

The initial audit trail for the request.

It is guaranteed that this audit object is:

  • Non null
  • Already persisted

Definition at line 55 of file RequestContext.hpp.

◆ dbsrv

DBServicePtr Leosac::Module::WebSockAPI::RequestContext::dbsrv

Definition at line 39 of file RequestContext.hpp.

◆ original_msg

const ClientMessage& Leosac::Module::WebSockAPI::RequestContext::original_msg

The original, complete, client message object.

Definition at line 45 of file RequestContext.hpp.

◆ security_ctx

SecurityContext& Leosac::Module::WebSockAPI::RequestContext::security_ctx

Definition at line 47 of file RequestContext.hpp.

◆ server

WSServer& Leosac::Module::WebSockAPI::RequestContext::server

Definition at line 40 of file RequestContext.hpp.

◆ session

APIPtr Leosac::Module::WebSockAPI::RequestContext::session

Definition at line 38 of file RequestContext.hpp.


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