Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(739)

Issue 5440105: OAuth 2.0: Credential, BrowserClientRequestUrl, BearerToken, & TokenResponseException (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by yanivi
Modified:
12 years, 2 months ago
Reviewers:
daniel.cardenas, danielcar, rmistry
Base URL:
https://code.google.com/p/google-oauth-java-client/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : minor fixes #

Patch Set 3 : TokenResponseException extends IOException not HttpResponseException #

Total comments: 2

Patch Set 4 : feature complete, but needs to be cleaned up before ready for review #

Patch Set 5 : minor #

Patch Set 6 : smaller manageable set of changes #

Total comments: 20

Patch Set 7 : BrowserClientRequestUrl & based on feedback #

Patch Set 8 : BrowserClientRequestUrlTest.java #

Total comments: 2

Patch Set 9 : javadoc #

Patch Set 10 : minor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1638 lines, -366 lines) Patch
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeRequestUrl.java View 1 2 3 4 5 6 3 chunks +46 lines, -7 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeResponseUrl.java View 1 2 3 4 5 6 2 chunks +158 lines, -5 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java View 1 2 3 4 5 6 7 chunks +41 lines, -15 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationRequestUrl.java View 1 2 3 4 5 6 13 chunks +71 lines, -39 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationResponseUrl.java View 1 2 3 4 5 6 1 chunk +0 lines, -169 lines 0 comments Download
A google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/BearerToken.java View 1 2 3 1 chunk +147 lines, -0 lines 0 comments Download
A google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/BrowserClientRequestUrl.java View 1 2 3 4 5 6 7 1 chunk +93 lines, -0 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/ClientParametersAuthentication.java View 1 2 3 4 5 6 7 1 chunk +33 lines, -3 lines 0 comments Download
A google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/Credential.java View 1 2 3 4 5 6 1 chunk +487 lines, -0 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/RefreshTokenRequest.java View 1 2 3 4 5 6 4 chunks +31 lines, -5 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/TokenErrorResponse.java View 1 2 3 4 5 6 4 chunks +8 lines, -8 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/TokenRequest.java View 1 2 3 4 5 6 11 chunks +78 lines, -29 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/TokenResponse.java View 1 2 3 4 5 6 8 chunks +18 lines, -14 lines 0 comments Download
A google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/TokenResponseException.java View 1 2 3 4 5 6 1 chunk +103 lines, -0 lines 0 comments Download
M google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/package-info.java View 1 2 3 4 5 6 7 8 1 chunk +31 lines, -4 lines 0 comments Download
M google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/AuthorizationCodeRequestUrlTest.java View 1 2 3 4 5 6 3 chunks +2 lines, -4 lines 0 comments Download
M google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/AuthorizationCodeResponseUrlTest.java View 1 2 3 4 5 6 1 chunk +4 lines, -6 lines 0 comments Download
M google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequestTest.java View 1 2 3 4 5 6 2 chunks +3 lines, -5 lines 0 comments Download
M google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/AuthorizationRequestUrlTest.java View 1 2 3 4 5 6 3 chunks +10 lines, -10 lines 0 comments Download
R google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/AuthorizationResponseUrlTest.java View 1 2 3 4 5 6 1 chunk +0 lines, -41 lines 0 comments Download
A google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/BrowserClientRequestUrlTest.java View 1 2 3 4 5 6 7 1 chunk +38 lines, -0 lines 0 comments Download
A google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/CredentialTest.java View 1 2 3 1 chunk +234 lines, -0 lines 0 comments Download
M google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/TokenRequestTest.java View 1 chunk +1 line, -1 line 0 comments Download
M google-oauth-client/src/test/java/com/google/api/client/auth/oauth2/TokenResponseTest.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13
yanivi
12 years, 4 months ago (2011-12-05 17:11:47 UTC) #1
yanivi
12 years, 4 months ago (2011-12-05 20:26:08 UTC) #2
danielcar
LGTM http://codereview.appspot.com/5440105/diff/3003/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AccessProtectedResource.java File google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AccessProtectedResource.java (right): http://codereview.appspot.com/5440105/diff/3003/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AccessProtectedResource.java#newcode81 google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AccessProtectedResource.java:81: static final Logger LOGGER = Logger.getLogger(AccessProtectedResource.class.getName()); Consider using: ...
12 years, 4 months ago (2011-12-06 03:08:41 UTC) #3
yanivi
http://codereview.appspot.com/5440105/diff/3003/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AccessProtectedResource.java File google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AccessProtectedResource.java (right): http://codereview.appspot.com/5440105/diff/3003/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AccessProtectedResource.java#newcode81 google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AccessProtectedResource.java:81: static final Logger LOGGER = Logger.getLogger(AccessProtectedResource.class.getName()); On 2011/12/06 03:08:41, ...
12 years, 4 months ago (2011-12-06 15:07:55 UTC) #4
yanivi
Ready for review!
12 years, 3 months ago (2012-01-19 21:10:12 UTC) #5
yanivi
Ping.
12 years, 3 months ago (2012-01-26 20:46:11 UTC) #6
Daniel.Cardenas
LGTM http://codereview.appspot.com/5440105/diff/8085/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java File google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java (right): http://codereview.appspot.com/5440105/diff/8085/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java#newcode137 google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java:137: public final String getCode() { I wonder if ...
12 years, 3 months ago (2012-01-26 21:35:14 UTC) #7
yanivi
Thanks Daniel. Now waiting for Ravi to review.
12 years, 3 months ago (2012-01-27 12:57:47 UTC) #8
rmistry
http://codereview.appspot.com/5440105/diff/8085/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationRequestUrl.java File google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationRequestUrl.java (right): http://codereview.appspot.com/5440105/diff/8085/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationRequestUrl.java#newcode27 google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationRequestUrl.java:27: * href="http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-4.1">Authorization Code</a>). Seems to me that class could ...
12 years, 3 months ago (2012-01-27 17:52:32 UTC) #9
yanivi
http://codereview.appspot.com/5440105/diff/8085/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java File google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java (right): http://codereview.appspot.com/5440105/diff/8085/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java#newcode137 google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/AuthorizationCodeTokenRequest.java:137: public final String getCode() { On 2012/01/26 21:35:14, Daniel.Cardenas ...
12 years, 3 months ago (2012-01-27 22:09:56 UTC) #10
rmistry
LGTM
12 years, 3 months ago (2012-01-28 00:11:17 UTC) #11
rmistry
http://codereview.appspot.com/5440105/diff/26007/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/package-info.java File google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/package-info.java (right): http://codereview.appspot.com/5440105/diff/26007/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/package-info.java#newcode41 google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/package-info.java:41: * Maybe add a section here about browser based ...
12 years, 3 months ago (2012-01-28 00:17:29 UTC) #12
yanivi
12 years, 3 months ago (2012-01-28 12:46:42 UTC) #13
http://codereview.appspot.com/5440105/diff/26007/google-oauth-client/src/main...
File
google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/package-info.java
(right):

http://codereview.appspot.com/5440105/diff/26007/google-oauth-client/src/main...
google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/package-info.java:41:
*
On 2012/01/28 00:17:29, rmistry wrote:
> Maybe add a section here about browser based client flow like you did in:
>
http://codereview.appspot.com/5453048/diff2/13002:27003/google-api-client/src...

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b