Skip to main content

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

Project description

OAuth2-lib

This Project contains an Mixin class that wraps an openapi-codegen python client, to inject Opentelemetry spans and api call retries. It also contains a number of FastAPI dependancies 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 dependancies

flit install --deps develop --symlink

With 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 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.0.0.tar.gz (19.7 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.0.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oauth2-lib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6b53d469c14a4fe3c6f81038e34c44e5ad830ea873e956b2ca08561478647c24
MD5 369abc2072ffdac0124190d6bf89350a
BLAKE2b-256 ac3c42443da864c99f3815923cb01510e3bc3a14de06805b3372a71798c235c3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for oauth2_lib-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c355fcd0971f21227b7e3ba4ee0150d5bfd879f18c7553d5eba4a4b9322bdba0
MD5 96d06f4cb38de579dce5db339d06af61
BLAKE2b-256 59cfedf53c0617cde8b43361acd8f17cb2440fd065b87c1249f94df9b55c8e5d

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