clientViaApiKey
is now exported from googleapis_auth.dart
.String? details
to UserConsentException
.http://metadata/
to http://metadata.google.internal
.googleapis_auth.dart
library. It is convention to have the default library within a package align with the package name. auth.dart
is now deprecated and will be removed in v2.fromJson
factory and toJson
method to AccessToken
, AccessCredentials
, and ClientId
.dart:async
import that isn't required for >=Dart 2.1.clientViaApplicationDefaultCredentials
for obtaining credentials using ADC.ImplicitFlow
.force
parameter to the obtainAccessCredentialsViaUserConsent
API.$GCE_METADATA_HOST
.ResponseType
, allowing applications to obtain an id_token
using ImplicitBrowserFlow
.package:http
>=0.11.3+17 <0.13.0
.dart:convert
to lowercase.loginHint
parameter to browser oauth2 flow APIs which can be used to specify a hint as to which user is being logged in.Added id_token
to AccessCredentials
Migrated to Dart 2 BigInt
.
crypto
package.MetadataServerAuthorizationFlow
instead of the deprecated “X-Google-Metadata-Request” header.ServiceAccountCredentials
constructors to take an optional user
argument to specify a user to impersonate.ServiceAccountCredentials.fromJson
to accept a Map
.README.md
force
and immediate
arguments to runHybridFlow
.forceUserConsent
parameter to immediate
.runHybridFlow
function to auth_browser
, with corresponding HybridFlowResult
class.clientViaApiKey
functions to auth_io
ad auth_browser
.