Package io.micronaut.security.event
Class TokenValidatedEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.security.event.SecurityEvent
io.micronaut.security.event.TokenValidatedEvent
- All Implemented Interfaces:
- Serializable
Triggered when a token is validated.
- Since:
- 1.0
- Author:
- Sergio del Amo
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionTokenValidatedEvent(Object source) Deprecated, for removal: This API element is subject to removal in a future version.TokenValidatedEvent(Object source, @Nullable String host, Locale locale) Triggered when a token is validated.
- 
Method SummaryMethods inherited from class io.micronaut.security.event.SecurityEventgetHost, getLocaleMethods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
TokenValidatedEventTriggered when a token is validated.- Parameters:
- source- A String containing the token being validated.
- host- The hostname from the request if available
- locale- The locale of the request
- Throws:
- IllegalArgumentException- if source is null.
- Since:
- 4.7.0
 
- 
TokenValidatedEventDeprecated, for removal: This API element is subject to removal in a future version.UseTokenValidatedEvent(Object, String, Locale)insteadTriggered when a token is validated.- Parameters:
- source- A String containing the token being validated.
- Throws:
- IllegalArgumentException- if source is null.
 
 
- 
TokenValidatedEvent(Object, String, Locale)instead