public static Set<String> parseUserInfoRequestClaims(final OAuth20Token token) {
        return token != null ? token.getClaims().getOrDefault("userinfo", new HashMap<>()).keySet() : new HashSet<>();
    }
Parse user info request claims set.

@param token the token
@return the set
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/util/OAuth20Utils.java