@Override
    public List<String> determineRequestedAttributeDefinitions(final RegisteredServiceAttributeReleasePolicyContext context) {
        val attributes = getAllowedAttributes();
        return attributes != null ? attributes : new ArrayList<>();
    }
This is {@link BaseOidcScopeAttributeReleasePolicy}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-oidc-core/src/main/java/org/apereo/cas/oidc/claims/BaseOidcScopeAttributeReleasePolicy.java