@Override
    public OidcCustomScopeAttributeReleasePolicy custom(final String name, final List<String> allowedAttributes) {
        return new OidcCustomScopeAttributeReleasePolicy(name, allowedAttributes);
    }
This is {@link DefaultOidcAttributeReleasePolicyFactory}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/scopes/DefaultOidcAttributeReleasePolicyFactory.java