refresh access token using jsOAuth

46 views
Skip to first unread message

divya manepalli

unread,
Jun 4, 2013, 5:50:00 PM6/4/13
to jso...@googlegroups.com
Hi ,

I am trying to using jsOAuth to refresh the expired access token , like given in this link


Please help me how to use the framework for refreshing the token .

Regards,
Divya.

Rob Griffiths

unread,
Jun 5, 2013, 3:11:08 PM6/5/13
to jso...@googlegroups.com
In rough terms, you'd call ouath.post(); with the parameters detailed in the documentation, though oauth_nonce, oauth_consumer_key, oauth_signature_method, oauth_signature, and oauth_timestamp will be handled by the library.

Then in your callback you'll need to parse the request for the token then call oauth.setAccessToken() to set it for future requests.


Hope this helps.
-- 
Rob Griffiths
Sent with Sparrow

--
You received this message because you are subscribed to the Google Groups "jsOAuth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsoauth+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

divya manepalli

unread,
Jun 6, 2013, 7:00:44 PM6/6/13
to jso...@googlegroups.com
Thanks Hope this helps 
Reply all
Reply to author
Forward
0 new messages