private WebTarget withAuthToken ( final WebTarget target ) { if ( _sessionOptions . getAuthToken ( ) != null ) { return target . queryParam ( AUTH_TOKEN_PARAM_NAME , _sessionOptions . getAuthToken ( ) ) ; } else { return target ; } }
Add authorization token to the web target .