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