hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl-Gustaf Harroch <charr...@gmail.com>
Subject Re: oauth in 4.x?
Date Wed, 09 Jun 2010 08:28:46 GMT
yes. I use an request interceptor for all requests in conjunction with
signpost. I believe there has been some work making a AuthScheme for
OAuth but never used it myself.

http://github.com/novoda/RESTProvider/blob/master/RESTProvider/src/main/java/novoda/rest/interceptors/OAuthInterceptor.java

And then use it with:

 interceptor = new OAuthInterceptor(pref.getConsumerKey(), pref
                .getConsumerSecret());
httpClient.addRequestInterceptor(interceptor);

./C


On 8 June 2010 23:46, Tim Julien <tjulien@limewire.com> wrote:
> Has anyone done any work to add OAuth to httpclient 4.x?
>
> -Tim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message