Package io.micronaut.security.event
Class LogoutEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.security.event.SecurityEvent
io.micronaut.security.event.LogoutEvent
- All Implemented Interfaces:
Serializable
Event triggered when the user logs out.
- Since:
- 1.0
- Author:
- Sergio del Amo
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionLogoutEvent
(Object source) Deprecated, for removal: This API element is subject to removal in a future version.LogoutEvent
(Object source, @Nullable String host, Locale locale) Event triggered when the user logs out. -
Method Summary
Methods inherited from class io.micronaut.security.event.SecurityEvent
getHost, getLocale
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
LogoutEvent
Event triggered when the user logs out.- Parameters:
source
- TheAuthentication
of the user logging out.host
- The hostname from the requestlocale
- The locale of the request- Throws:
IllegalArgumentException
- if source is null.- Since:
- 4.7.0
-
LogoutEvent
Deprecated, for removal: This API element is subject to removal in a future version.UseLogoutEvent(Object, String, Locale)
insteadEvent triggered when the user logs out.- Parameters:
source
- TheAuthentication
of the user logging out.- Throws:
IllegalArgumentException
- if source is null.
-
LogoutEvent(Object, String, Locale)
instead