Index: pkg/oauth2/lib/src/authorization_code_grant.dart |
diff --git a/pkg/oauth2/lib/src/authorization_code_grant.dart b/pkg/oauth2/lib/src/authorization_code_grant.dart |
index b4c50d966a7efbb5ef5079055c5fd2f9d0be3dee..dcb36d06f3d076c66f52334ceb330660b6f88a67 100644 |
--- a/pkg/oauth2/lib/src/authorization_code_grant.dart |
+++ b/pkg/oauth2/lib/src/authorization_code_grant.dart |
@@ -75,7 +75,7 @@ class AuthorizationCodeGrant { |
final Uri tokenEndpoint; |
/// The HTTP client used to make HTTP requests. |
- http.BaseClient _httpClient; |
+ http.Client _httpClient; |
/// The URL to which the resource owner will be redirected after they |
/// authorize this client with the authorization server. |
@@ -101,7 +101,7 @@ class AuthorizationCodeGrant { |
this.secret, |
this.authorizationEndpoint, |
this.tokenEndpoint, |
- {http.BaseClient httpClient}) |
+ {http.Client httpClient}) |
: _httpClient = httpClient == null ? new http.Client() : httpClient; |
/// Returns the URL to which the resource owner should be redirected to |