Link Details

Link 959211 thumbnail
User 206746 avatar

By mlemos
Published: Apr 23 2013 / 09:45

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 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.
  • 13
  • 1
  • 561
  • 283

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java