Skip to content

uc-cdis/authutils

Repository files navigation

authutils

Utilities for auth to work with sheepdog

Install

$ pip install authutils

or

$ poetry add authutils

Flask Support

$ pip install authutils[flask]

or

$ poetry add authutils -E flask

This provides:

  • authutils.user
  • authutils.oauth2.client.authorize
  • authutils.oauth2.client.blueprint
  • authutils.token.keys
  • authutils.token.validate

FastAPI Support

$ pip install authutils[fastapi]

or

$ poetry add authutils -E fastapi

This provides:

  • authutils.token.fastapi