ciaranj/connect-auth — pull request #98 by evanp (2012-05-16 18:32:00+00:00)
Title: Add tokenByTokenAndConsumer() to allow multiple request tokens per consu...

...mer

Per Issue #97, the tokenByConsumer() method assumes only a single
request token per client application.

This would prevent two users from authorizing the same app at the same
time -- unfortunate!

This patch creates a new OAuthDataProvider method,
tokenByTokenAndConsumer(), which retrieves the full value based on
both the token and the consumer_key.

Providers that already implement tokenByConsumer() should continue
working, but newer apps can ignore it and implement the newer method.