default String build(final AuthenticationAwareTicket ticketGrantingTicket, final Map<String, List<Object>> claims) throws Throwable {
        return build(ticketGrantingTicket.getAuthentication(), null, ticketGrantingTicket.getId(), claims);
    }
Build token for a ticket-granting ticket.

@param ticketGrantingTicket the ticket granting ticket
@param claims               the claims
@return the string
@throws Throwable the throwable
support/cas-server-support-token-core-api/src/main/java/org/apereo/cas/token/TokenTicketBuilder.java