Blockstack ID authentication backend for Django
Project description
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
Release history Release notifications | RSS feed
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.2.tar.gz
(593.7 kB
view details)
File details
Details for the file django-blockstack-auth-0.1.2.tar.gz
.
File metadata
- Download URL: django-blockstack-auth-0.1.2.tar.gz
- Upload date:
- Size: 593.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00253de06a4980ba98ad3d828c87fd83fabf525b2b0b1f2001598499598a3f1 |
|
MD5 | 4b40a34eb57d32067eb0d0342f98e5da |
|
BLAKE2b-256 | 9f0aea58ddb5bbcc9025b1dc1a2f6c3a2b97f7fa57ac3ad33a661b9a2f3bf079 |