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 |