protected Date getExpirationDate() {
        val jwtExpiration = Beans.newDuration(configurationContext.getObject().getCasProperties()
            .getAuthn().getOidc().getJarm().getExpiration()).toSeconds();
        val expiration = LocalDateTime.now(Clock.systemUTC()).plusSeconds(jwtExpiration);
        return DateTimeUtils.dateOf(expiration);
    }
This is {@link BaseOAuth20JwtResponseModeBuilder}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/web/response/BaseOAuth20JwtResponseModeBuilder.java