public String sign(final JwtClaims claims) {
        return Unchecked.supplier(() -> {
            val jsonClaims = claims.toJson();
            return sign(jsonClaims, false);
        }).get();
    }
Sign claims.

@param claims the claims
@return the string
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/jwt/JsonWebTokenSigner.java