NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #591 most downloaded on pub.dev
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.
Last release 11 months ago
20 Oct 2025
Release timing varies
gaps range from 6 weeks to 1.6 years
Some releases are documented
notes for 20 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
97 releases · first in 2012
Make underlying HTTP client non-nullable to inherit its close behavior.
* Require package:http v1.0.0 * Move to dart-lang/tools.
package:http v1.0.0dart-lang/tools.* Require Dart 3.0. * Support package:http 1.0.0.
One column per quarter.
package:http 1.0.0.Handle expires_in when encoded as string.
expires_in when encoded as string.repository field.2.17.0.* Migrate to null safety.
Added optional codeVerifier parameter to AuthorizationCodeGrant constructor.
codeVerifier parameter to AuthorizationCodeGrant constructor.Added fix to make sure that credentials are only refreshed once when multiple calls are made.
Added toJson method to Pubspec to serialize the object back to a Map .
toJson method to Pubspec to serialize the object back to a Map.HostedDetails.url as a non-git URI.Added support for clientCredentialsGrant.
clientCredentialsGrant.* OpenID's id_token treated.
Added onCredentialsRefreshed option when creating Client objects.
onCredentialsRefreshed option when creating Client objects.Support the latest package:http release.
package:http release.* Allow the stable 2.0 SDK.
Updated SDK version to 2.0.0-dev.17.0
Add a getParameter() parameter to new AuthorizationCodeGrant(), new Credentials(), and resourceOwnerPasswordGrant(). This controls how the authorizati
getParameter() parameter to new AuthorizationCodeGrant(), new Credentials(), and resourceOwnerPasswordGrant(). This controls how the
authorization server's response is parsed for servers that don't provide the
standard JSON response.Add a deepCopyLinks argument to copyPath and copyPathSync .
deepCopyLinks argument to copyPath and copyPathSync.@visibleForTesting annotation from SharedStdIn.SharedStdIn.new.
AnsiCode and AnsiCodeType marked final. ThesefinalexpectApiSummaryClean, ApiSummaryFormat, andApiSummaryVerificationException to support one-liner golden file verificationdart test (e.g. test('api_summary', expectApiSummaryClean);).--write (-w), --check (-c), and --output (-o) flags to theapi_summary CLI executable.delimiter parameter to new AuthorizationCodeGrant(), new Credentials(), and resourceOwnerPasswordGrant(). This controls the
delimiter between scopes, which some authorization servers require to be
different values than the specified ' '.* Fix all strong-mode warnings. * Support crypto 1.0.0. * Support http_parser 3.0.0.
crypto 1.0.0.http_parser 3.0.0.* Support http_parser 2.0.0.
http_parser 2.0.0.Initial stable release.
Requests that use client authentication, such as the
AuthorizationCodeGrant's access token request and Credentials' refresh
request, now use HTTP Basic authentication by default. This form of
authentication is strongly recommended by the OAuth 2.0 spec. The new
basicAuth parameter may be set to false to force form-based authentication
for servers that require it.
new AuthorizationCodeGrant() now takes secret as an optional named
argument rather than a required argument. This matches the OAuth 2.0 spec,
which says that a client secret is only required for confidential clients.
new Client() and Credentials.refresh() now take both identifier and
secret as optional named arguments rather than required arguments. This
matches the OAuth 2.0 spec, which says that the server may choose not to
require client authentication for some flows.
new Credentials() now takes named arguments rather than optional positional
arguments.
Added a resourceOwnerPasswordGrant method.
The scopes argument to AuthorizationCodeGrant.getAuthorizationUrl() and
new Credentials() and the newScopes argument to Credentials.refresh now
take an Iterable rather than just a List.
The scopes argument to AuthorizationCodeGrant.getAuthorizationUrl() now
defaults to null rather than const [].
Update the http dependency.
Since http 0.11.0 now works in non-dart:io contexts, oauth2 does as
well.
Nothing published for this version
Expand the dependency on the HTTP package to include 0.10.x.
Expand the dependency on the HTTP package to include 0.10.x.
Add a README file.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →