Skip to main content

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

Project description

OAuth2-lib

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

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.2.1.tar.gz (22.4 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.2.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file oauth2-lib-1.2.1.tar.gz.

File metadata

  • Download URL: oauth2-lib-1.2.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for oauth2-lib-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d472310eb9e6c8f210670d5605eec0c064c5167df37353705613094d7c81b098
MD5 fa0871d588e095038dc8dccf65bfa9bc
BLAKE2b-256 8fcb6585f5051b41af33eb1d62d261b1957e9cb7770098cee28364e1bd138ae0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for oauth2_lib-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9dec50e6f8aa80967a1c28a8467e9b595656620cc47cdad6bee4addd212e50d7
MD5 19b6b30618c26e631ed43c2a00cc5c71
BLAKE2b-256 bfb311db2d9e849d19fcc33b5a005e8ea91fdf1dca3e4043f9e3b8989ebc913a

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