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

Unified Diff: lib/src/handle_access_token_response.dart

Issue 1304363004: Code review changes (Closed) Base URL: git@github.com:dart-lang/oauth2.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/credentials.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/handle_access_token_response.dart
diff --git a/lib/src/handle_access_token_response.dart b/lib/src/handle_access_token_response.dart
index 0065f0c67a5966ac6d45e6664b86e67eb70c4c09..ef9b198f4eb1552da97408865cb84fb9eec8467b 100644
--- a/lib/src/handle_access_token_response.dart
+++ b/lib/src/handle_access_token_response.dart
@@ -81,10 +81,10 @@ Credentials handleAccessTokenResponse(
return new Credentials(
parameters['access_token'],
- parameters['refresh_token'],
- tokenEndpoint,
- scopes,
- expiration);
+ refreshToken: parameters['refresh_token'],
+ tokenEndpoint: tokenEndpoint,
+ scopes: scopes,
+ expiration: expiration);
}
/// Throws the appropriate exception for an error response from the
« no previous file with comments | « lib/src/credentials.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698