diff options
author | adam <adam@pkgsrc.org> | 2022-02-06 19:00:51 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-02-06 19:00:51 +0000 |
commit | b889281bafbf4705caf7d539e2c11002caa0f637 (patch) | |
tree | 28d7cb7bdb3f446b62f29872054bcb481dc5a98f /security | |
parent | ab1ac356420d1106591a9c4a82581e303a3cd307 (diff) | |
download | pkgsrc-b889281bafbf4705caf7d539e2c11002caa0f637.tar.gz |
py-oauthlib: updated to 3.2.0
3.2.0 (2022-01-29)
------------------
OAuth2.0 Client:
* Add Device Authorization Flow for Web Application
* Add PKCE support for Client
* Fallback to none in case of wrong expires_at format.
OAuth2.0 Provider:
* Add support for CORS to metadata endpoint.
* Add support for CORS to token endpoint.
* Remove comma after Bearer in WWW-Authenticate
OAuth2.0 Provider - OIDC:
* Call save_token in Hybrid code flow
* OIDC add support of refreshing ID Tokens with `refresh_id_token`
* The RefreshTokenGrant modifiers now take the same arguments as the
AuthorizationCodeGrant modifiers (`token`, `token_handler`, `request`).
General:
* Added Python 3.9, 3.10, 3.11
* Improve Travis & Coverage
Diffstat (limited to 'security')
-rw-r--r-- | security/py-oauthlib/Makefile | 9 | ||||
-rw-r--r-- | security/py-oauthlib/PLIST | 14 | ||||
-rw-r--r-- | security/py-oauthlib/distinfo | 8 |
3 files changed, 21 insertions, 10 deletions
diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile index fe0daf6c92c..ecdb3985984 100644 --- a/security/py-oauthlib/Makefile +++ b/security/py-oauthlib/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2022/01/04 20:54:43 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2022/02/06 19:00:51 adam Exp $ -DISTNAME= oauthlib-3.1.1 +DISTNAME= oauthlib-3.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_PYPI:=o/oauthlib/} @@ -12,8 +11,8 @@ COMMENT= Generic implementation of the OAuth request-signing logic LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-JWT>=2.0.0:../../textproc/py-JWT -DEPENDS+= ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker -DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography +DEPENDS+= ${PYPKGPREFIX}-blinker>=1.4.0:../../devel/py-blinker +DEPENDS+= ${PYPKGPREFIX}-cryptography>=3.0.0:../../security/py-cryptography USE_LANGUAGES= # none diff --git a/security/py-oauthlib/PLIST b/security/py-oauthlib/PLIST index ff48b6a55ab..30f271e2c21 100644 --- a/security/py-oauthlib/PLIST +++ b/security/py-oauthlib/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2021/06/25 21:00:12 adam Exp $ +@comment $NetBSD: PLIST,v 1.9 2022/02/06 19:00:51 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -145,6 +145,15 @@ ${PYSITELIB}/oauthlib/oauth2/rfc6749/tokens.pyo ${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.py ${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.pyc ${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.pyo +${PYSITELIB}/oauthlib/oauth2/rfc8628/__init__.py +${PYSITELIB}/oauthlib/oauth2/rfc8628/__init__.pyc +${PYSITELIB}/oauthlib/oauth2/rfc8628/__init__.pyo +${PYSITELIB}/oauthlib/oauth2/rfc8628/clients/__init__.py +${PYSITELIB}/oauthlib/oauth2/rfc8628/clients/__init__.pyc +${PYSITELIB}/oauthlib/oauth2/rfc8628/clients/__init__.pyo +${PYSITELIB}/oauthlib/oauth2/rfc8628/clients/device.py +${PYSITELIB}/oauthlib/oauth2/rfc8628/clients/device.pyc +${PYSITELIB}/oauthlib/oauth2/rfc8628/clients/device.pyo ${PYSITELIB}/oauthlib/openid/__init__.py ${PYSITELIB}/oauthlib/openid/__init__.pyc ${PYSITELIB}/oauthlib/openid/__init__.pyo @@ -184,6 +193,9 @@ ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/hybrid.pyo ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/implicit.py ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/implicit.pyc ${PYSITELIB}/oauthlib/openid/connect/core/grant_types/implicit.pyo +${PYSITELIB}/oauthlib/openid/connect/core/grant_types/refresh_token.py +${PYSITELIB}/oauthlib/openid/connect/core/grant_types/refresh_token.pyc +${PYSITELIB}/oauthlib/openid/connect/core/grant_types/refresh_token.pyo ${PYSITELIB}/oauthlib/openid/connect/core/request_validator.py ${PYSITELIB}/oauthlib/openid/connect/core/request_validator.pyc ${PYSITELIB}/oauthlib/openid/connect/core/request_validator.pyo diff --git a/security/py-oauthlib/distinfo b/security/py-oauthlib/distinfo index ab14e5cb514..8a9a2ef6e6a 100644 --- a/security/py-oauthlib/distinfo +++ b/security/py-oauthlib/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.21 2021/10/26 11:17:48 nia Exp $ +$NetBSD: distinfo,v 1.22 2022/02/06 19:00:51 adam Exp $ -BLAKE2s (oauthlib-3.1.1.tar.gz) = 171065e03091c930a37ad476a62ca6d091103c197c0c928cfe916c5d9f2619eb -SHA512 (oauthlib-3.1.1.tar.gz) = 1c18f265a6017a6f2bf77507f5de095b439be36f309316993b547ded0f306461b058dcb85dc245bf26f65a9c77be44ca38f9053f3300a9b5cb92332b61a7f307 -Size (oauthlib-3.1.1.tar.gz) = 161395 bytes +BLAKE2s (oauthlib-3.2.0.tar.gz) = 41e1ac72701ba314c164f6cd2c80862c83140bf4b05d6587427a4605dd39a6b4 +SHA512 (oauthlib-3.2.0.tar.gz) = abb052cbaccb00a61e9a6c0028102927310d2d864d853cd0826c9a8eae8a9e921da33b79be554a3c6f6067cbcf43b25140f5224c8ab1e7f0a4eb6ab227d418a3 +Size (oauthlib-3.2.0.tar.gz) = 163829 bytes |