Skip to main content

PyAMS security plug-in for JWT authentication

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github.

What is PyAMS JWT authentication package?

This package is a plug-in for PyAMS security policy; it allows to generate JWT tokens, and to extract and validate credentials from a provided JWT token.

You have to include this package in your Pyramid configuration to active this plug-in.

Changelog

2.2.1

  • added support for Python 3.12

2.2.0

  • added support for registered JWT client keys

  • added support for ES256, ES384 and ES512 signature algorithms

  • refactored plugin methods decorators

2.1.0

  • replaced ‘jwt_object’ view predicate with a view deriver to raise HTTP Unauthorized error instead of HTTP NotFound

2.0.4

  • added interface adapter check

  • replace datetime.utcnow call with datime.now(timezone.utc)

2.0.3

  • updated settings configuration keys

2.0.2

  • updated REST API route name and path configuration setting name

2.0.1

  • updated modal forms title

2.0.0

  • upgraded to Pyramid 2.0

1.4.6

  • interfaces cleanup

1.4.5

  • updated Colander API schemas for better OpenAPI specifications

1.4.4

  • updated PyJWT package dependency to 2.6.0

  • added support for Python 3.11

1.4.3

  • added CORS validators to REST services

1.4.2

  • PyAMS_security interfaces refactoring

  • added support for Python 3.10

1.4.1

  • added expiration date (based on refresh token lifetime) to response when generating tokens

1.4.0

  • added REST API to get token from an already authorized principal

  • updated menus context

1.3.1

  • fixed Gitlab-CI Pylint task

1.3.0

  • removed support for Python < 3.5

  • use Colander schemas in JWT REST API

1.2.3

  • updated Gitlab-CI configuration

  • removed Travis-CI configuration

1.2.2

  • Pylint cleanup

1.2.1

  • updated package requirements

1.2.0

  • added support for “proxy” mode, where JWT tokens management is delegated to another authentication authority

1.1.2

  • updated french translation

1.1.1

  • doctest update

1.1.0

  • added refresh tokens management with Cornice REST API

  • added JWT configuration management interface

1.0.2

  • updated package description to allow upload to Pypi!

1.0.1

  • removed upload of coverage data to Coveralls.io because of unknown errors

1.0.0

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyams_auth_jwt-2.2.1.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyams_auth_jwt-2.2.1-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

Details for the file pyams_auth_jwt-2.2.1.tar.gz.

File metadata

  • Download URL: pyams_auth_jwt-2.2.1.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_auth_jwt-2.2.1.tar.gz
Algorithm Hash digest
SHA256 d51a84ee4c034d0de14fcad4bb8d5866a61723294d730e376559103640740ce1
MD5 a38735a946dd31d46766ec7ac4a39f4c
BLAKE2b-256 1fedcce5a1f995b996eb93f6db3fff244e2ca5702fee70dc2ce58fa2f6d6932d

See more details on using hashes here.

File details

Details for the file pyams_auth_jwt-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyams_auth_jwt-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 52.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_auth_jwt-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1b595b111c6451f1967c2974814f7bd89f8a027fecaf024429a303425a18e6e
MD5 a664c095dd0592e00e6776a6beb6b015
BLAKE2b-256 8620b665bb444f8b32cdb68cb767d39d18bc4038a6b93e29e0310e9e90d5bdd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page