PHP Classes

How do you refresh the access tokens for yahoo?

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  How do you refresh the access tokens...  >  (Un) Subscribe thread alerts  
Subject:How do you refresh the access tokens...
Summary:How do you refresh the access tokens for yahoo?
Messages:7
Author:Kevin
Date:2014-05-17 22:54:51
Update:2014-06-12 11:04:10
 

  1. How do you refresh the access tokens...   Reply   Report abuse  
Picture of Kevin Kevin - 2014-05-17 22:54:51
How do you refresh the access tokens for yahoo?

  2. Re: How do you refresh the access tokens...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-18 07:08:59 - In reply to message 1 from Kevin
Please do not post the same message in multiple threads.

The OAuth client class does not yet refreshing tokens with OAuth 1 servers. I will look into it soon. Please be patient.

  3. Re: How do you refresh the access tokens...   Reply   Report abuse  
Picture of Kevin Kevin - 2014-05-18 14:24:42 - In reply to message 2 from Manuel Lemos
Ah yes, that was an accident. I got a little turned around as to where I actually posted this question.

Thanks for the response. This package has helped me out a ton.

  4. Re: How do you refresh the access tokens...   Reply   Report abuse  
Picture of Kevin Kevin - 2014-06-10 17:50:06 - In reply to message 2 from Manuel Lemos
I'm currently trying to set up a function to refresh the yahoo access token. Where can I find the oauth session handle for a user, after they've authorized access?

  5. Re: How do you refresh the access tokens...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-06-11 11:03:07 - In reply to message 4 from Kevin
Sorry for the delay. It is a separate parameter that the class does not keep.
I will investigate later today if it is possible to do something similar to what is done with OAuth 2.0.

  6. Re: How do you refresh the access tokens...   Reply   Report abuse  
Picture of Kevin Kevin - 2014-06-11 14:29:52 - In reply to message 5 from Manuel Lemos
Not a problem. I've researched it and it seems that if I could store the session handle, then refreshing the access seems pretty straight forward. Let me know what you find out, and thanks for looking into this.

  7. Re: How do you refresh the access tokens...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-06-12 11:04:10 - In reply to message 6 from Kevin
OK, I just uploaded a new version with support to renew expired OAuth 1.0 tokens if a refresh token was provided when the expired token was obtained. Just let me know if you find any issues.