protected Map<String, List<Object>> collectAttributes() throws Throwable {
        val accessTokenProps = configurationContext.getCasProperties().getAuthn().getOauth().getAccessToken();
        if (token instanceof OAuth20AccessToken && accessTokenProps.isIncludeClaimsInJwt()) {
            return collectClaimsForAccessToken();
        }
        return new HashMap<>();
    }
This is {@link OAuth20JwtAccessTokenEncodableCipher}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/response/accesstoken/response/OAuth20JwtAccessTokenEncodableCipher.java