public class RefreshTokenGeneratedEvent
extends io.micronaut.context.event.ApplicationEvent
Constructor and Description |
---|
RefreshTokenGeneratedEvent(Authentication authentication,
java.lang.String refreshToken)
Triggered when a refresh token is generated.
|
Modifier and Type | Method and Description |
---|---|
Authentication |
getAuthentication() |
java.lang.String |
getRefreshToken() |
public RefreshTokenGeneratedEvent(Authentication authentication, java.lang.String refreshToken)
authentication
- The user detailsrefreshToken
- The refresh tokenjava.lang.IllegalArgumentException
- if source is null.public Authentication getAuthentication()
public java.lang.String getRefreshToken()