Skip to main content

Python implementation of OAuth2 and OpenID Connect messages

Project description

oidcmsg

CI build pypi Downloads Downloads License

Implementation of OIDC protocol messages.

oidcmsg is the 2nd layer in the JwtConnect stack (cryptojwt, oidcmsg, oidcservice, oidcrp)

Handles serialising into a couple of formats (jwt, json, urlencoded and dict) and deserialising from said formats.

It also does verification of messages , that is :

  • verifies that all the required parameters are present and has a value
  • verifies that the parameter values are of the right type
  • verifies that if there is a list of permitted values, a parameter value is on that list.

and finally if the value is a signed and/or encrypted JWT this package will perform the necessary decryption and signature verification.

Also implements a KeyJar which keeps keys belonging to different owners. One owner may have many keys. If some of these keys have a common origin, like described in a JWKS. Such a set will be kept in a keyBundle. Also implemented in this package.

Please read the Official Documentation for getting usage examples and further informations.

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

oidcmsg-1.6.0.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

oidcmsg-1.6.0-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file oidcmsg-1.6.0.tar.gz.

File metadata

  • Download URL: oidcmsg-1.6.0.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for oidcmsg-1.6.0.tar.gz
Algorithm Hash digest
SHA256 1cab38e9c1a017a3f5b09b4002f67e192de177a8cf592de5be86de331624702f
MD5 306d05ab2295fc890463b89c9e35a89a
BLAKE2b-256 afc9fa43d097c3952b835649b32f908c23d2147327916d5d9e5dba1b39452956

See more details on using hashes here.

File details

Details for the file oidcmsg-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: oidcmsg-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for oidcmsg-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d44ea4777685c1788de43c614f979e2d5ca93ebde416f1be45d78de2586ffa8c
MD5 7adaa6625f3307658c414709cb589caa
BLAKE2b-256 9f95f7558e8c04c3152a3493412bcf1a8f1668a5b980fe37278630feaf7aece7

See more details on using hashes here.

Supported by

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