protected JWTClaimsSet finalizeClaims(final JWTClaimsSet claimsSet, final JwtRequest payload) throws Exception {
        return claimsSet;
    }
Build JWT.

@param registeredService the registered service
@param claimsSet         the claims set
@return the string
support/cas-server-support-token-core-api/src/main/java/org/apereo/cas/token/JwtBuilder.java