Skip to main content

This is the SURF Oauth2 module that interfaces with the oauth2 setup.

Project description

OAuth2-lib

pypi_version Supported python versions

This Project contains a Mixin class that wraps an openapi-codegen python client, to inject Opentelemetry spans and api call retries. It also contains a number of FastAPI dependencies which enables Policy enforcement offloading to Open Policy Agent.

The project contains a number of OIDC classes that are tailored to the SURF environment.

Installation

This can be done as follows:

Step 1:

First install flit to enable you to develop on this repository

pip install flit

Step 2:

To install all development dependencies

flit install --deps develop --symlink

This way all requirements are installed for testing and development.

Development

Depending on the feature type, run bumpversion (patch|minor|major) to increment the version you are working on. For example to update the increment the patch version use

bumpversion patch

For MAC users looking and experimenting with Opentelemetry (OTEL)

https://github.com/jaegertracing/jaeger-client-node/issues/124#issuecomment-324222456

Supported Python versions

oauth2-lib must support the same python versions as orchestrator-core.

Exceptions to this rule are:

  • A new python version is released: oauth2-lib should support the new version before orchestrator-core does
  • Support for an old python version is dropped: oauth2-lib should drop the python version after orchestrator-core does

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

oauth2_lib-1.3.1.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

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

oauth2_lib-1.3.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file oauth2_lib-1.3.1.tar.gz.

File metadata

  • Download URL: oauth2_lib-1.3.1.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for oauth2_lib-1.3.1.tar.gz
Algorithm Hash digest
SHA256 a6cadc49d47d9940ab41259fe77f63282e94454c4691bff71d20bf91d589572f
MD5 c59a948694065aa0062258b7fb6a3eab
BLAKE2b-256 ddb0b06aa8ea58aa04d019bd3aa1e1093c03c71fc4cc7d05606e291fc42b9cf3

See more details on using hashes here.

File details

Details for the file oauth2_lib-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: oauth2_lib-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for oauth2_lib-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99690546b1c1beef7af135a5076d99c3929ca92508eb900e259b005ee3e85197
MD5 950727a4797a168d3a08d8ac62fa0c1b
BLAKE2b-256 4308e79bd905762ff84aa52db6225c963df4f4f684dfe5f6cb0b849dccb6f7b8

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