TokenEvent

interface TokenEvent : Event

Marker interface for events related to the OAuth2 token lifecycle, including token creation, refresh, revocation, validation, and rate limiting. Handlers that operate at the model layer and are only interested in token state changes can filter by this type:

EventCoordinator(object : EventHandler {
override fun onEvent(event: Event) {
if (event !is TokenEvent) return
// handle token events only
}
})

Inheritors