assaf/rack-oauth2-server — pull request #25 by gaku (2012-06-19 06:33:54+00:00)
Title: Bearer token support

Hi,

I used rack-oauth2-server against Google's GTM OAuth2 library and had trouble because GTM OAuth2 client send requests using Bearer token.

Bearer token is defined here:
http://self-issued.info/docs/draft-ietf-oauth-v2-bearer.html

I've added some code to handle Bearer token and it works with GTM OAuth2 nicely.

I've mimic-ed and added a test case.

Thanks,
-Gaku Ueda