Skip to main content

Blockstack ID authentication backend for Django

Project description

https://badge.fury.io/py/django-blockstack-auth.svg https://travis-ci.org/dotpodcast/django-blockstack-auth.svg?branch=master https://codecov.io/gh/dotpodcast/django-blockstack-auth/branch/master/graph/badge.svg

Blockstack ID authentication backend for Django

Documentation

The full documentation is at https://django-blockstack-auth.readthedocs.io.

Quickstart

Install Django Blockstack Auth:

pip install django-blockstack-auth

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_blockstack_auth.apps.DjangoBlockstackAuthConfig',
    ...
)

Add Django Blockstack Auth’s URL patterns:

from django_blockstack_auth import urls as django_blockstack_auth_urls


urlpatterns = [
    ...
    url(r'^blockstack/', include(django_blockstack_auth_urls, namespace='blockstack')),
    ...
]

Features

  • Allows users to authenticate with their Blockstack ID

  • Encrypts Blockstack tokens with the Django secret key

Running tests

Does the code actually work?

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

Credits

Tools used in rendering this package:

History

0.1.0 (2017-12-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

django-blockstack-auth-0.1.0.tar.gz (593.7 kB view details)

Uploaded Source

File details

Details for the file django-blockstack-auth-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-blockstack-auth-0.1.0.tar.gz
Algorithm Hash digest
SHA256 45bf557524efbc9740af3dccd53d3d34c48d57ad0b3b46584ba3e1de544ad958
MD5 1ec199ba99df901e5c7588f495c11a85
BLAKE2b-256 642cae2a02d629e37b5a3fdee33fbcc7b1ea9c189bde707e503323696d562fcf

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