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

public class TokenValidatedEvent extends SecurityEvent
Triggered when a token is validated.
Since:
1.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • TokenValidatedEvent

      public TokenValidatedEvent(Object source, String host, Locale locale)
      Triggered 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