@ JsonIgnore protected boolean isRefreshTokenExpired ( final TicketState ticketState ) { if ( ticketState == null ) { return true ; } val expiringTime = ticketState . getCreationTime ( ) . plus ( this . timeToKillInSeconds , ChronoUnit . SECONDS ) ; return expiringTime . isBefore ( ZonedDateTime . now ( ZoneOffset . UTC ) ) ; }
Is refresh token expired ?