PLCnext API Documentation 24.0.0.71
RscServiceAuthorizator.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Rsc/Services/IRscAuthorizator.hpp"
9
10namespace Arp { namespace System { namespace Rsc { namespace Services
11{
12
14class RscServiceAuthorizator
15{
16public: // typedefs
17
18public: // construction/destruction
20 RscServiceAuthorizator(const char* providerName, const char* serviceName, IRscAuthorizator* pAuthorizator);
22 RscServiceAuthorizator(const RscServiceAuthorizator& arg) = default;
24 RscServiceAuthorizator& operator=(const RscServiceAuthorizator& arg) = default;
26 ~RscServiceAuthorizator(void) = default;
27
28public: // operations
29 void AuthorizeServiceInvocation(const char* methodName);
30
31private: // fields
32 String secureServiceName;
33 IRscAuthorizator* pAuthorizator;
34};
35
37// inline methods of class RscServiceAuthorizator
38
39}}}} // end of namespace Arp::System::Rsc::Services
Arp::BasicString< char8 > String
The Arp String class.
Definition: TypeSystem.h:27
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API