public Long getTimeToLive() {
        return ticketGrantingTicket.getExpirationPolicy().getTimeToLive();
    }
Get tgt's TTL.

@return tgt's TTL
api/cas-server-core-api-events/src/main/java/org/apereo/cas/support/events/ticket/AbstractCasTicketGrantingTicketEvent.java