/axioms-drf-py

Python client for Django Rest Framework (DRF). Secure your DRF APIs using Axioms Authentication and Authorization.

Primary LanguagePythonMIT LicenseMIT

axioms-drf-py PyPI

Axioms Python client for Django Rest Framework (DRF). Secure your DRF APIs using Axioms Authentication and Authorization.

Prerequisite

  • Python 3.7+
  • An Axioms client which can obtain access token after user's authentication and authorization and include obtained access token as bearer in Authorization header of all API request sent to Python/Django/DRF application server.

Install SDK

Install axioms-drf-py in you DRF API project,

pip install axioms-drf-py

Documentation

See documentation for axioms-drf-py.

DRF Sample

To see a complete working example download DRF sample from our Github repository or simply deploy to Heroku by clicking following button. You will need to provide Axioms domain and Axioms audience to complete deployment.

Deploy