S2OPC OPCUA Toolkit
|
#include <sopc_user_manager.h>
Data Fields | |
SOPC_UserAuthorization_Free_Func * | pFuncFree |
Deallocation function, called upon SOPC_UserAuthorization_Manager destruction. | |
SOPC_UserAuthorization_AuthorizeOperation_Func * | pFuncAuthorizeOperation |
Called to authorize a read or a write operation in the address space. | |
SOPC_UserAuthorization_Free_Func* SOPC_UserAuthorization_Functions::pFuncFree |
Deallocation function, called upon SOPC_UserAuthorization_Manager destruction.
This function can be the standard free
function if nothing is stored in pData
.
SOPC_UserAuthorization_AuthorizeOperation_Func* SOPC_UserAuthorization_Functions::pFuncAuthorizeOperation |
Called to authorize a read or a write operation in the address space.
authorizationManager | The SOPC_UserAuthorization_Manager instance. |
operationType | Set to SOPC_USER_AUTHORIZATION_OPERATION_READ for a read operation, or SOPC_USER_AUTHORIZATION_OPERATION_WRITE for a write operation. |
nodeId | The operation reads/write this NodeId. |
attributeId | The operation reads/write this attribute. |
pUser | The connected SOPC_User which attempts the operation. |
pbOperationAuthorized | A valid pointer to the uninitialized result of the operation. The callback shall set it to false when the operation is refused. |
pbUserAuthorized
was set.