request.authorization.cmp ========================= .. py:module:: request.authorization.cmp .. autoapi-nested-parse:: Provides the 'CmpAuthorization' class using the Composite pattern for modular CMP authorization. Module Contents --------------- .. py:class:: CmpRevocationAuthorization Bases: :py:obj:`request.authorization.base.AuthorizationComponent`, :py:obj:`trustpoint.logger.LoggerMixin` Ensures the request is authorized for revocation operation. .. py:method:: authorize(context) Authorize the request based on revocation specifics. .. py:class:: CmpOperationAuthorization(allowed_operations) Bases: :py:obj:`request.authorization.base.AuthorizationComponent`, :py:obj:`trustpoint.logger.LoggerMixin` Ensures the request is authorized for the specified operation. .. py:attribute:: allowed_operations .. py:method:: authorize(context) Authorize the request based on the operation type. .. py:class:: CmpAuthorization(allowed_operations = None) Bases: :py:obj:`request.authorization.base.CompositeAuthorization` Composite authorization handler for EST requests.