Lusitanian/PHPoAuthLib — pull request #80 by borfast (2013-08-15 17:49:39+00:00)
Title: Fix TokenStorageInterface::clearToken()

All the current implementations of TokenStorageInterface::clearToken() seem to clear all tokens, not just one single service token, despite the comments and the method name leading one to think that only one token is deleted.

This patch fixes that by renaming the current clearToken methods to clearAllTokens, and adding a new clearTokenmethod that only clears the specific service token.

Fixes #75.

---
This replaces https://github.com/Lusitanian/PHPoAuthLib/pull/79
It will also hopefully pass the tests, since the previous pull request was created while Github was under a DDoS and Travis couldn't get to the repositories.