oauth-io / oauth-phonegap

OAuth.io plugin for Apache Cordova/PhoneGap
195 stars 69 forks source link

clearCache or clear token #16

Closed kevin-deschryver closed 10 years ago

kevin-deschryver commented 10 years ago

According the documentation of the Javascript API reference, there should be a function clearCache on the OAuth object. But by inspecting the OAuth.js I couldn't find such a function. Is there any way to clear a token?

william26 commented 10 years ago

The Javascript API reference currently only describes the JavaScript SDK, which is not the same as the Phonegap SDK. In version 0.1.1 of the Phonegap SDK, the cache features are not included yet.

However, we are currently working on the 0.2.0, which will include the cache features, in addition to other features like promises for the popup method, or the .me() method that returns a unified object containing user information.

We will release version 0.2.0 quite soon, but you can already check out the code and the README by taking a look at our develop branch.

Edit (06-04-2014) : We released version 0.2.0 today.