public void tryCreateLinkedInClient(final Collection<Client> clients) {
        val id = getProperty(LINKEDIN_ID);
        val secret = getProperty(LINKEDIN_SECRET);
        val scope = getProperty(LINKEDIN_SCOPE);

        if (StringUtils.isNotBlank(id) && StringUtils.isNotBlank(secret)) {
            val linkedInClient = new LinkedIn2Client(id, secret);
            if (StringUtils.isNotBlank(scope)) {
                linkedInClient.setScope(scope);
            }
            clients.add(linkedInClient);
        }
    }
<p>tryCreateLinkedInClient.</p>

@param clients a {@link java.util.List} object
pac4j-config/src/main/java/org/pac4j/config/builder/OAuthBuilder.java