Interface NotificationPublisherPlugin
- All Superinterfaces:
ConfigurablePlugin,DescribablePlugin,Plugin
This interface defines the methods that the PingFederate server calls to send a notification.
This interface extends Plugin.
- Since:
- 9.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe input parameter name for the destination address in the "data" map.static final StringThe input parameter name for the event type in the "configuration" map.static final StringThe input parameter name for the locale in the "configuration" map.static final StringThe input parameter name for the template type in the "configuration" map. -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanWhether PingFederate will include user attributes retrieved during authentication in the notification payload for certain end user flows.Send a notification to the end user.default PublishResultpublishNotificationWithObjectData(String eventType, Map<String, Object> data, Map<String, String> configuration) Send a notification to the end user.Methods inherited from interface com.pingidentity.sdk.ConfigurablePlugin
configureMethods inherited from interface com.pingidentity.sdk.DescribablePlugin
getPluginDescriptor
-
Field Details
-
IN_PARAMETER_NAME_CONFIG_DESTINATION_ADDRESS
The input parameter name for the destination address in the "data" map. The value is aString.- See Also:
-
IN_PARAMETER_NAME_CONFIG_LOCALE
The input parameter name for the locale in the "configuration" map. The value is aString.- See Also:
-
IN_PARAMETER_NAME_CONFIG_TEMPLATE_NAME
The input parameter name for the template type in the "configuration" map. The value is aString.- See Also:
-
IN_PARAMETER_NAME_CONFIG_EVENT_TYPE
The input parameter name for the event type in the "configuration" map. The value is aString.- See Also:
-
-
Method Details
-
publishNotification
PublishResult publishNotification(String eventType, Map<String, String> data, Map<String, String> configuration) Send a notification to the end user. This method will be used when theNotificationSenderPluginDescriptoris not configured to support publishing Object Data. PingFederate will callNotificationSenderPluginDescriptor.getSupportsObjectData()to determine if it will use this method orpublishNotificationWithObjectData(String, Map, Map)- Parameters:
data- map of String key/String values from which we can construct the messageconfiguration- configuration metadata related to the notification- Returns:
- result indicating the outcome of the attempt to send the notification.
-
publishNotificationWithObjectData
default PublishResult publishNotificationWithObjectData(String eventType, Map<String, Object> data, Map<String, String> configuration) Send a notification to the end user. This method will be used when theNotificationSenderPluginDescriptoris configured to support publishing Object Data. PingFederate will callNotificationSenderPluginDescriptor.getSupportsObjectData()to determine if it will use this method orpublishNotification(String, Map, Map)- Parameters:
data- map of String key/Object values from which we can construct the messageconfiguration- configuration metadata related to the notification- Returns:
- result indicating the outcome of the attempt to send the notification.
- Since:
- 11.3
-
acceptsUserAttributes
default boolean acceptsUserAttributes()Whether PingFederate will include user attributes retrieved during authentication in the notification payload for certain end user flows.- Returns:
- true if the plugin instance accepts user attributes.
- Since:
- 11.3.1
-