![]() |
![]()
| ![]() |
![]()
NAMEOpenXPKI::Server::Notification::Handler DESCRIPTIONInterface to the new notification system. Checks the requested notification against all configured backends and starts the delivery according to the configuration. METHODSnotify({ MESSAGE, WORKFLOW })Execute the notifcations for MESSAGE and. notify({MESSAGE, WORKFLOW, TOKEN, DATA})Public method to trigger a notification. MESSAGE is the name of the message to be triggered, WORKFLOW is a reference to the workflow object and TOKEN can contain persisted information from earlier calls of the same notification thread. DATA can contain additional info to be passed to the template. The vars hash passed to the templates is composed from the data extracted from the workflow (@see _prepare_template_vars) and the data from the DATA variable, which is added under the key "data". _prepare_template_vars ( WORKFLOW )Creates a hashref containing useful values from the realm and the workflow.
|