protected void configureFoursquareClient(final Collection<BaseClient> properties) {
        val foursquare = pac4jProperties.getFoursquare();
        if (StringUtils.isNotBlank(foursquare.getId()) && StringUtils.isNotBlank(foursquare.getSecret())) {
            val client = new FoursquareClient(foursquare.getId(), foursquare.getSecret());
            configureClient(client, foursquare);

            LOGGER.debug("Created client [{}] with identifier [{}]", client.getName(), client.getKey());
            properties.add(client);
        }
    }
protected void configureFoursquareClient ( final Collection < BaseClient > properties ) { val foursquare = pac4jProperties . getFoursquare ( ) ; if ( StringUtils . isNotBlank ( foursquare . getId ( ) ) && StringUtils . isNotBlank ( foursquare . getSecret ( ) ) ) { val client = new FoursquareClient ( foursquare . getId ( ) , foursquare . getSecret ( ) ) ; configureClient ( client , foursquare ) ; LOGGER . debug ( "Created client [{}] with identifier [{}]" , client . getName ( ) , client . getKey ( ) ) ; properties . add ( client ) ; } }
Configure foursquare client.

@param properties the properties