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.5.3.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

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

oidcmsg-1.5.3-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oidcmsg-1.5.3.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for oidcmsg-1.5.3.tar.gz
Algorithm Hash digest
SHA256 c5c0a0fb5da0274d9cdc04776d9e274041dae3735ffecb1a40e261bff33264db
MD5 ef81351537e8884a1eeb1c42e335a25d
BLAKE2b-256 e20a9e3044c469f0dc38b0206fdd6dbbefb613f69d366fd9a2f4d68d7af40bda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oidcmsg-1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for oidcmsg-1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 42048955a78ff5f377e8b5c8f49a6f8b936b70c5ccb87f2126a76f02c0fb6007
MD5 073f705ce43c78c9b4b44e94a0d88dea
BLAKE2b-256 5f43c41e75e564512a56b6bf3f12076edede8d967e45927a64dc03c564482baa

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