public ExpirationPolicy toTicketExpirationPolicy() {
        val par = casProperties.getAuthn().getOidc().getPar();
        val exp = Beans.newDuration(par.getMaxTimeToLiveInSeconds());
        return new OidcPushedAuthorizationRequestExpirationPolicy(par.getNumberOfUses(), exp.toSeconds());
    }
To ticket expiration policy.

@return the expiration policy
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/ticket/OidcPushedAuthorizationRequestExpirationPolicyBuilder.java