Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Issue 11420025: Add a package for authenticating via OAuth2. (Closed)

Created:
8 years, 1 month ago by nweiz
Modified:
8 years, 1 month ago
Reviewers:
Bob Nystrom, dgrove, financecoding
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a package for authenticating via OAuth2. Committed: https://code.google.com/p/dart/source/detail?r=15115

Patch Set 1 #

Patch Set 2 : Don't include OAuth2 in the generated docs. #

Patch Set 3 : Misc fixes #

Total comments: 90

Patch Set 4 : Code review changes #

Total comments: 2

Patch Set 5 : Refresh token fixes and code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1718 lines, -0 lines) Patch
A pkg/oauth2/lib/oauth2.dart View 1 2 3 1 chunk +109 lines, -0 lines 0 comments Download
A pkg/oauth2/lib/src/authorization_code_grant.dart View 1 2 3 4 1 chunk +258 lines, -0 lines 0 comments Download
A pkg/oauth2/lib/src/authorization_exception.dart View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A pkg/oauth2/lib/src/client.dart View 1 2 3 4 1 chunk +125 lines, -0 lines 0 comments Download
A pkg/oauth2/lib/src/credentials.dart View 1 2 3 4 1 chunk +190 lines, -0 lines 0 comments Download
A pkg/oauth2/lib/src/expiration_exception.dart View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A pkg/oauth2/lib/src/handle_access_token_response.dart View 1 2 3 1 chunk +143 lines, -0 lines 0 comments Download
A pkg/oauth2/lib/src/utils.dart View 1 2 3 1 chunk +73 lines, -0 lines 0 comments Download
A pkg/oauth2/test/authorization_code_grant_test.dart View 1 2 3 1 chunk +196 lines, -0 lines 0 comments Download
A pkg/oauth2/test/client_test.dart View 1 2 3 1 chunk +120 lines, -0 lines 0 comments Download
A pkg/oauth2/test/credentials_test.dart View 1 2 3 4 1 chunk +174 lines, -0 lines 0 comments Download
A pkg/oauth2/test/handle_access_token_response_test.dart View 1 2 3 1 chunk +191 lines, -0 lines 0 comments Download
A pkg/oauth2/test/utils.dart View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
M utils/apidoc/apidoc.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
nweiz
8 years, 1 month ago (2012-11-16 00:51:59 UTC) #1
Bob Nystrom
https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/oauth2.dart File pkg/oauth2/lib/oauth2.dart (right): https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/oauth2.dart#newcode33 pkg/oauth2/lib/oauth2.dart:33: /// new Uri.fromString("http://example.com/oauth2/token"); Nit, but I wouldn't bother to ...
8 years, 1 month ago (2012-11-16 19:53:30 UTC) #2
nweiz
https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/oauth2.dart File pkg/oauth2/lib/oauth2.dart (right): https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/oauth2.dart#newcode33 pkg/oauth2/lib/oauth2.dart:33: /// new Uri.fromString("http://example.com/oauth2/token"); On 2012/11/16 19:53:30, Bob Nystrom wrote: ...
8 years, 1 month ago (2012-11-17 01:06:27 UTC) #3
Adam
lgtm https://codereview.chromium.org/11420025/diff/11001/pkg/oauth2/lib/src/utils.dart File pkg/oauth2/lib/src/utils.dart (right): https://codereview.chromium.org/11420025/diff/11001/pkg/oauth2/lib/src/utils.dart#newcode7 pkg/oauth2/lib/src/utils.dart:7: import 'dart:uri'; At some point could these utility ...
8 years, 1 month ago (2012-11-17 05:13:07 UTC) #4
Adam
https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/src/authorization_code_grant.dart File pkg/oauth2/lib/src/authorization_code_grant.dart (right): https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/src/authorization_code_grant.dart#newcode248 pkg/oauth2/lib/src/authorization_code_grant.dart:248: /// continue using the client. _httpClient is final so ...
8 years, 1 month ago (2012-11-17 07:29:21 UTC) #5
nweiz
https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/src/authorization_code_grant.dart File pkg/oauth2/lib/src/authorization_code_grant.dart (right): https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/src/authorization_code_grant.dart#newcode248 pkg/oauth2/lib/src/authorization_code_grant.dart:248: /// continue using the client. On 2012/11/17 07:29:21, Adam ...
8 years, 1 month ago (2012-11-19 20:55:26 UTC) #6
Bob Nystrom
- I'd like to see a tighter catch clause when parsing the JSON. - Also, ...
8 years, 1 month ago (2012-11-19 21:37:10 UTC) #7
nweiz
https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/src/handle_access_token_response.dart File pkg/oauth2/lib/src/handle_access_token_response.dart (right): https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/src/handle_access_token_response.dart#newcode44 pkg/oauth2/lib/src/handle_access_token_response.dart:44: } catch (e) { On 2012/11/19 21:37:10, Bob Nystrom ...
8 years, 1 month ago (2012-11-19 22:20:11 UTC) #8
Bob Nystrom
On 2012/11/19 22:20:11, nweiz wrote: > https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/src/handle_access_token_response.dart > File pkg/oauth2/lib/src/handle_access_token_response.dart (right): > > https://codereview.chromium.org/11420025/diff/6001/pkg/oauth2/lib/src/handle_access_token_response.dart#newcode44 > ...
8 years, 1 month ago (2012-11-19 22:52:12 UTC) #9
nweiz
> Ugh. OK. Well leave a TODO and file a bug against the JSON library ...
8 years, 1 month ago (2012-11-19 22:59:47 UTC) #10
dgrove
8 years, 1 month ago (2012-11-20 05:18:16 UTC) #11
once pub moves to lib/_internal, this package should move there as well (and
from there, be published to pub).

Powered by Google App Engine
This is Rietveld 408576698