13.2.1.8.1. Event Handler Base Class¶
-
class
privacyidea.lib.eventhandler.base.
BaseEventHandler
[source]¶ An Eventhandler needs to return a list of actions, which it can handle.
It also returns a list of allowed action and conditions
It returns an identifier, which can be used in the eventhandlig definitions
-
actions
¶ This method returns a list of available actions, that are provided by this event handler. :return: list of actions
-
description
= 'This is the base class of an EventHandler with no functionality'¶
-
do
(action, options=None)[source]¶ This method executes the defined action in the given event.
Parameters: - action –
- options –
Returns:
-
events
¶ This method returns a list allowed events, that this event handler can be bound to and which it can handle with the corresponding actions.
An eventhandler may return an asterisk [“*”] indicating, that it can be used in all events. :return: list of events
-
identifier
= 'BaseEventHandler'¶
-