@Override
    public List<BaseClient> retrieve(final String key) {
        val cachedClients = clientsCache.getIfPresent(key);
        return ObjectUtils.defaultIfNull(cachedClients, new ArrayList<>());
    }
This is {@link BaseDelegatedIdentityProviderFactory}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-pac4j-core-clients/src/main/java/org/apereo/cas/support/pac4j/authentication/clients/BaseDelegatedIdentityProviderFactory.java