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.1.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

drf_msal_jwt-0.1.1-py2.py3-none-any.whl (9.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: drf-msal-jwt-0.1.1.tar.gz
  • Upload date:
  • Size: 8.0 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.1.1.tar.gz
Algorithm Hash digest
SHA256 8a2bcb83973ed3dec8a4edc87c6c17ae520abf8662beaadc4a5603b57527dde8
MD5 e2668273d3cb19c067ab93137ae6f46a
BLAKE2b-256 8c30ff24e625c2fb8b5a97cc3e52261d37cf56a45ed7696fbb4aeb9ef3110cf0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drf_msal_jwt-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.1 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.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b95b5cd2f3f94538ecf6377a0c0a6e95a4491f2769bcca5070466059f4e94b2e
MD5 8b80053dc2b0de25771d7233e49a05f9
BLAKE2b-256 6179081e2d9e434d94e8618d1de51ab577d248a7f246f6bda4f4a80d89409cf9

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