andersongraciano / google-oauth-java-client

Automatically exported from code.google.com/p/google-oauth-java-client
0 stars 0 forks source link

BearerToken.authorizationHeaderAccessMethod() should use getAuthorizationAsList #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://javadoc.google-oauth-java-client.googlecode.com/hg/1.12.0-beta/com/google
/api/client/auth/oauth2/BearerToken.html#authorizationHeaderAccessMethod()

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

Implementation of getAccessTokenFromRequest calls getAuthorization(), using the 
assumption that there is only one Authorization header.  Better would be to 
call getAuthorizationAsList(), look for the first Authorization header with the 
"Bearer" token.

Original issue reported on code.google.com by yan...@google.com on 22 Dec 2012 at 3:31

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/7060072/

Original comment by yan...@google.com on 10 Jan 2013 at 10:40

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 18 Jan 2013 at 3:12

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 9 Feb 2013 at 1:22