intridea/oauth2 — pull request #109 by 7even (2012-06-04 14:08:06+00:00)
Title: add implicit strategy

Hello.

I've implemented a strategy for the Implicit grant flow as described at http://tools.ietf.org/html/draft-ietf-oauth-v2-26#section-4.2.

It is basically the same as the authorization code grant flow, but here we get the token after the first redirect, so I suppose the best way to get an `OAuth2::AccessToken` instance is to construct it with `OAuth2::AccessToken.from_kvform`, passing it the query string, as I mentioned in the readme.