8 #include "Arp/System/Security/SecurityToken.hpp" 9 #include "Arp/System/Commons/Exceptions/InvalidOperationException.hpp" 13 namespace Arp {
namespace System {
namespace Security
24 ARP_CXX_SYMBOL_EXPORT SecurityContext(
bool isEnabled,
const SecurityToken& securityToken);
26 SecurityContext(
const SecurityContext& arg) =
delete;
28 SecurityContext& operator=(
const SecurityContext& arg) =
delete;
30 ARP_CXX_SYMBOL_EXPORT ~SecurityContext(
void);
33 ARP_CXX_SYMBOL_EXPORT
static bool HasCurrent(
void);
34 ARP_CXX_SYMBOL_EXPORT
static const SecurityContext& GetCurrent(
void);
43 static thread_local
const SecurityContext* pCurrent;
49 inline const SecurityToken& SecurityContext::GetSecurityToken()
const 51 return this->securityToken;
Definition: SecurityToken.hpp:11
Root namespace for the PLCnext API
Definition: SecurityContext.hpp:16
System components used by the System, Device, Plc or Io domains.
Namespace for basic functions of the framework
Definition: Console.hpp:14