Closed ajschmaltz closed 9 years ago
I'm sorry, this is all already taken care of.
$fb = OAuth::consumer('Facebook');
$fb->getStorage()->clearAllTokens();
Ok, so here's my problem now, do I actually have to do consumer('Facebook') in order to clear all tokens?
Again, this is already done. Here's how:
OAuth::createStorageInstance('Session')->clearAllTokens();
We need to be able to "logout" of a provider. Can we do a clearToken or clearAllTokens method?