Interface NotificationPublisherPlugin
-
- All Superinterfaces:
ConfigurablePlugin,DescribablePlugin,Plugin
public interface NotificationPublisherPlugin extends Plugin
This interface defines the methods that the PingFederate server calls to send a notification.This interface extends
Plugin.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description static StringIN_PARAMETER_NAME_CONFIG_DESTINATION_ADDRESSThe input parameter name for the destination address in the "data" map.static StringIN_PARAMETER_NAME_CONFIG_EVENT_TYPEThe input parameter name for the event type in the "configuration" map.static StringIN_PARAMETER_NAME_CONFIG_LOCALEThe input parameter name for the locale in the "configuration" map.static StringIN_PARAMETER_NAME_CONFIG_TEMPLATE_NAMEThe input parameter name for the template type in the "configuration" map.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanacceptsUserAttributes()Whether PingFederate will include user attributes retrieved during authentication in the notification payload for certain end user flows.PublishResultpublishNotification(String eventType, Map<String,String> data, Map<String,String> configuration)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
configure
-
Methods inherited from interface com.pingidentity.sdk.DescribablePlugin
getPluginDescriptor
-
-
-
-
Field Detail
-
IN_PARAMETER_NAME_CONFIG_DESTINATION_ADDRESS
static final String IN_PARAMETER_NAME_CONFIG_DESTINATION_ADDRESS
The input parameter name for the destination address in the "data" map. The value is aString.- See Also:
- Constant Field Values
-
IN_PARAMETER_NAME_CONFIG_LOCALE
static final String IN_PARAMETER_NAME_CONFIG_LOCALE
The input parameter name for the locale in the "configuration" map. The value is aString.- See Also:
- Constant Field Values
-
IN_PARAMETER_NAME_CONFIG_TEMPLATE_NAME
static final String IN_PARAMETER_NAME_CONFIG_TEMPLATE_NAME
The input parameter name for the template type in the "configuration" map. The value is aString.- See Also:
- Constant Field Values
-
IN_PARAMETER_NAME_CONFIG_EVENT_TYPE
static final String IN_PARAMETER_NAME_CONFIG_EVENT_TYPE
The input parameter name for the event type in the "configuration" map. The value is aString.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-