PLCnext API Documentation 25.0.2.69
Public Member Functions | List of all members
Arp::Base::Rsc::Commons::Services::RscServiceAuthorizator Class Reference

This class is used to authorize RSC service calls according security rules. More...

#include <RscServiceAuthorizator.hpp>

Public Member Functions

 RscServiceAuthorizator (const char *serviceProviderName, const char *serviceName, IRscAuthorizator &authorizator)
 Constructs a RscServiceAuthorizator instance. More...
 
void AuthorizeServiceInvocation (const char *operationName)
 Authorizes the specified service operation of the RSC service. More...
 

Detailed Description

This class is used to authorize RSC service calls according security rules.

This class is not intended for direct use, but required by RscGenerator to implement services.

Constructor & Destructor Documentation

◆ RscServiceAuthorizator()

Arp::Base::Rsc::Commons::Services::RscServiceAuthorizator::RscServiceAuthorizator ( const char *  serviceProviderName,
const char *  serviceName,
IRscAuthorizator authorizator 
)

Constructs a RscServiceAuthorizator instance.

Parameters
serviceProviderNameThe service provider name of the RSC service to authorize.
serviceNameThe RSC service name of the service to authorize.
authorizatorThe authorizator to authorize the specified RSC service.

Member Function Documentation

◆ AuthorizeServiceInvocation()

void Arp::Base::Rsc::Commons::Services::RscServiceAuthorizator::AuthorizeServiceInvocation ( const char *  operationName)

Authorizes the specified service operation of the RSC service.

Parameters
operationNameThe operation name of RSC the service to authorize.

The documentation for this class was generated from the following files: