public Proxy setAuthentication ( Authentication auth ) { if ( eq ( this . auth , auth ) ) { return this ; } return new Proxy ( type , host , port , auth ) ; }
Sets the authentication to use for the proxy connection .