package:http
v1.0.0dart-lang/tools
.package:http
1.0.0.expires_in
when encoded as string.repository
field.2.17.0
.codeVerifier
parameter to AuthorizationCodeGrant
constructor.AuthorizationCodeGrant
.clientCredentialsGrant
.onCredentialsRefreshed
option when creating Client
objects.package:http
release.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.resourceOwnerPasswordGrant()
now properly uses its HTTP client for requests made by the OAuth2 client it returns.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 ' '
.crypto
1.0.0.http_parser
3.0.0.http_parser
2.0.0.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.
Expand the dependency on the HTTP package to include 0.10.x.
Add a README file.