Skip to main content

Connect Django Rest Framework with MSAL and JWT

Project description

https://badge.fury.io/py/drf-msal-jwt.svg https://travis-ci.org/narongdejsrn/drf-msal-jwt.svg?branch=master https://codecov.io/gh/narongdejsrn/drf-msal-jwt/branch/master/graph/badge.svg

Connect Django Rest Framework with MSAL and JWT

Documentation

The full documentation is at https://drf-msal-jwt.readthedocs.io.

Quickstart

Install Django Rest Framework MSAL + JWT:

pip install drf-msal-jwt

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'drf_msal_jwt.apps.DrfMsalJwtConfig',
    ...
)

Add Django Rest Framework MSAL + JWT’s URL patterns:

from drf_msal_jwt import urls as drf_msal_jwt_urls


urlpatterns = [
    ...
    url(r'^', include(drf_msal_jwt_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.1.0 (2020-03-05)

  • First release on PyPI.

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

drf-msal-jwt-0.2.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

drf_msal_jwt-0.2.2-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file drf-msal-jwt-0.2.2.tar.gz.

File metadata

  • Download URL: drf-msal-jwt-0.2.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for drf-msal-jwt-0.2.2.tar.gz
Algorithm Hash digest
SHA256 01c13b02efef9744c8258689e742066ab56da60b9cbe283d9f158d263af75cb9
MD5 98f05ac8c58ed8cdaa3b1288840fc24d
BLAKE2b-256 dd1333bdad8ff1b6fa68d3e16a174ce2191bf88bb4e2a155a375742dfc40769c

See more details on using hashes here.

File details

Details for the file drf_msal_jwt-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: drf_msal_jwt-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for drf_msal_jwt-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e8178c0515d488377e6a4b5c4627ab5c0391f7fce045660f4866dca7394f1fef
MD5 0a51c778ef01d7d1465219e74e51a36e
BLAKE2b-256 e0044e28ea5204200f1733fc2b3ae0228d31030dfb96ad6f67507305aaf22627

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page