logical-and / php-oauth

Support for authenticating users (without dep from any framework) using both OAuth1 and OAuth2 methods
https://packagist.org/packages/and/oauth
MIT License
43 stars 13 forks source link

Management of refresh token #47

Open appsol opened 9 years ago

appsol commented 9 years ago

I am using the library to connect to the YouTube Data API with a Google account. This works fine but the resulting OAuth token only lasts for an hour, then I am disconnected again.

How does the library manage Refresh tokens, or if it does not is there an approach you would recommend? I am using my own storage class that implements TokenStorageInterface.

Thanks