default String build(final Authentication authentication, final RegisteredService registeredService) throws Throwable {
        return build(authentication, registeredService, UUID.randomUUID().toString(), Map.of());
    }
Build token.

@param authentication    the authentication
@param registeredService the registered service
@return the string
@throws Throwable the throwable
support/cas-server-support-token-core-api/src/main/java/org/apereo/cas/token/TokenTicketBuilder.java