PLCnext API Documentation  22.9.0.33
IRscAuthorizator.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 #include "Arp/System/Security/SecurityToken.hpp"
9 
10 namespace Arp { namespace System { namespace Rsc { namespace Services
11 {
12 
14 
16 {
17 protected: // construction
18  IRscAuthorizator(void) = default;
19 
20 public: // destruction
21  virtual ~IRscAuthorizator() = default;
22 
23 public: // operations
24  virtual bool IsServiceCallAllowed(const SecurityToken& securityToken, const String& objectName) = 0;
25 
26 private: // deleted operations
27  IRscAuthorizator(const IRscAuthorizator& arg) = delete;
28  IRscAuthorizator& operator=(const IRscAuthorizator&) = delete;
29 };
30 
31 }}}} // end of namespace Arp::System::Rsc::Services
Definition: IRscAuthorizator.hpp:16
Definition: SecurityToken.hpp:12
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API