2. Google OAuth Offline Access and to Other API with Limited Lifetime Refresh Tokens After their Expiry
Updated on: 2017-01-15
Posted on: 2013-04-23
Some applications require access to APIs on behalf of the user even when the user is not present, i.e. offline access.
OAuth is a protocol that allows applications to obtain a token to access an API when the user is not present but when the tokens expire they need to be renewed.
Some APIs like Google and Box.net support automatic renewal of expired tokens.
Read this article to learn how to use this OAuth client class to perform offline access to an API storing tokens in a database and how to have expired tokens automatically renewed.
More ...
Post a comment
See comments (16) Trackbacks (0)
OAuth is a protocol that allows applications to obtain a token to access an API when the user is not present but when the tokens expire they need to be renewed.
Some APIs like Google and Box.net support automatic renewal of expired tokens.
Read this article to learn how to use this OAuth client class to perform offline access to an API storing tokens in a database and how to have expired tokens automatically renewed.



1. PHP OAuth Tutorial on How to Use a Pure PHP OAuth Class with an Example Without using the PECL module Implementation
Updated on: 2017-02-27
Posted on: 2012-10-10
OAuth is a widely used protocol to access APIs of certain Web sites on behalf of users of those sites.
Despite OAuth is relatively easy to explain, it is not easy to implement it without dealing with the headaches of the multiple protocol settings, the different protocol versions, the details of specific site implementations, and the worst of all having to know more about the details of the protocol than you would like to care.
Read this article to learn how to use this PHP OAuth API class to access any API of any site that supports any version of OAuth without having any of those headaches.
More ...
Post a comment
See comments (81) Trackbacks (0)
Despite OAuth is relatively easy to explain, it is not easy to implement it without dealing with the headaches of the multiple protocol settings, the different protocol versions, the details of specific site implementations, and the worst of all having to know more about the details of the protocol than you would like to care.
Read this article to learn how to use this PHP OAuth API class to access any API of any site that supports any version of OAuth without having any of those headaches.


