PHP Classes

PHP OAuth Library package blog

Recommend this page to a friend!

Latest PHP OAuth Library package blog posts

  All package blogs All package blogs   PHP OAuth Library PHP OAuth Library   Blog PHP OAuth Library package blog   Post article Post article  
  12 - 3   2 - 1  

2. Google OAuth Offline Access and to Other API with Limited Lifetime Refresh Tokens After their Expiry

Updated on: 2017-01-15

Posted on:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (16)   Trackbacks (0)

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:

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.


Blog More ...   Post a comment Post a comment   See comments See comments (81)   Trackbacks (0)


  12 - 3   2 - 1  
  All package blogs All package blogs   PHP OAuth Library PHP OAuth Library   Blog PHP OAuth Library package blog   Post article Post article