Subject: CVS commit: pkgsrc/security/py-oauthlib
From: Adam Ciarcinski
Date: 2019-01-16 10:36:21
Message id: 20190116093621.5D58BFB16@cvs.NetBSD.org

Log Message:
py-oauthlib: updated to 3.0.0

3.0.0 (2019-01-01)

OAuth2.0 Provider - outstanding Features
OpenID Connect Core support
RFC7662 Introspect support
RFC8414 OAuth2.0 Authorization Server Metadata support
RFC7636 PKCE support

OAuth2.0 Provider - API/Breaking Changes
Add "request" to confirm_redirect_uri
confirm_redirect_uri/get_default_redirect_uri has a bit changed
invalid_client is now a FatalError
Changed errors status code from 401 to 400:
invalid_grant:
invalid_scope:
access_denied/unauthorized_client/consent_required/login_required
401 must have WWW-Authenticate HTTP Header set

OAuth2.0 Provider - Bugfixes
empty scopes no longer raise exceptions for implicit and authorization_code

OAuth2.0 Client - Bugfixes / Changes:
expires_in in Implicit flow is now an integer
expires is no longer overriding expires_in
parse_request_uri_response is now required
Unknown error=xxx raised by OAuth2 providers was not understood
OAuth2's prepare_token_request supports sending an empty string for client_id
OAuth2's WebApplicationClient.prepare_request_body was refactored to better \ 
support sending or omitting the client_id via a new include_client_id kwarg. By \ 
default this is included. The method will also emit a DeprecationWarning if a \ 
client_id parameter is submitted; the already configured self.client_id is the \ 
preferred option.

OAuth1.0 Client:
Support for HMAC-SHA256

General fixes:
$ and ' are allowed to be unencoded in query strings
Request attributes are no longer overriden by HTTP Headers
Removed unnecessary code for handling python2.6
Add support of python3.7
Several minors updates to setup.py and tox
Set pytest as the default unittest framework

Files:
RevisionActionfile
1.16modifypkgsrc/security/py-oauthlib/Makefile
1.6modifypkgsrc/security/py-oauthlib/PLIST
1.15modifypkgsrc/security/py-oauthlib/distinfo