protected boolean configureOAuth2Token ( final GitHubClient client , final String oauth2Token ) { if ( StringUtils . isEmpty ( oauth2Token ) ) return false ; if ( isDebug ( ) ) debug ( "Using OAuth2 access token authentication" ) ; client . setOAuth2Token ( oauth2Token ) ; return true ; }
Configure credentials from configured OAuth2 token