Package org.keycloak.events.email
Class EmailEventListenerProvider
java.lang.Object
org.keycloak.events.email.EmailEventListenerProvider
- All Implemented Interfaces:
EventListenerProvider
,Provider
- Author:
- Stian Thorgersen
-
Constructor Summary
ConstructorDescriptionEmailEventListenerProvider
(KeycloakSession session, Set<EventType> includedEvents) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onEvent
(AdminEvent event, boolean includeRepresentation) Called when an admin event occurs e.g.void
Called when a user event occurs e.g.
-
Constructor Details
-
EmailEventListenerProvider
-
-
Method Details
-
onEvent
Description copied from interface:EventListenerProvider
Called when a user event occurs e.g. log in, register. Note this method should not do any action that cannot be rolled back, seeEventListenerProvider
javadoc for more details.- Specified by:
onEvent
in interfaceEventListenerProvider
- Parameters:
event
- to be triggered
-
onEvent
Description copied from interface:EventListenerProvider
Called when an admin event occurs e.g. a client was updated/deleted. Note this method should not do any action that cannot be rolled back, seeEventListenerProvider
javadoc for more details.- Specified by:
onEvent
in interfaceEventListenerProvider
- Parameters:
event
- to be triggeredincludeRepresentation
- when false, event listener should NOT include representation field in the resulting action
-
close
public void close()
-