I think I got my OAuth concepts mixed up between versions 1 and 2, please 
disregard this question.

Best,
Dorian

On Thursday, July 19, 2012 6:45:44 PM UTC+2, Dorian Kind wrote:
>
> Hello,
>
> I have a question regarding the use of OAuth1.0 tokens in the Python 
> client library. The example in 
> examples/adspygoogle/adwords/v201109_1/misc/use_oauth.py 
> is performing the whole authentification flow by itself, starting from 
> consumer ID and secret.
> However, we perform authentication in a different component and just get 
> passed an OAuth HTTP authorization header, like this:
>
> Authorization: OAuth oauth_body_hash="BL[...]", oauth_version="1.0", 
> oauth_timestamp="13[...]", oauth_nonce="20[...]", oauth_token="1%2F[...]", 
> oauth_consumer_key="79[...].apps.googleusercontent.com", 
> oauth_signature_method="HMAC-SHA1", oauth_signature="xm[...]"
>
> Now in what form do I need to pass the above header elements 
> into client.oauth_credentials for OAuth to work? It seems like I have to 
> provide an 'oauth_handler' in the configuration in order to sign and format 
> the request parameters, but I think there should be no need for that as the 
> credentials above are ready to be sent as is.
>
> Many thanks for any pointers and best regards,
> Dorian
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to