skip to navigation
skip to content

Not Logged In

django-bitid 0.1

App for django bitId authentication

Latest Version: 0.1.1

A django app for bitId authentication.

Installation

In your setting.py file, add the backend to AUTHENTICATION_BACKENDS.

djbitid.backends.BitIdBackend

You can implement your own login passing bitid_uri, callback_uri, signature and address to the backend or use the provided templates and forms.

Views, Templates and Forms

To use the provided templates and forms add djbitid to installed apps.

Then add to your urls

url(r'^bitid/', include('djbid.urls'))

The provided templates extend ‘base.html’

Dependencies

  • pybitid
  • south: provides migrations
  • pytz: for timezone aware date comparisons

NOTE: The PyBitID project, as this project, is very early stage. Currently it has to be installed manually from:

https://github.com/LaurentMT/pybitid

Settings

Optional settings are:

BITID_USE_TESTNET

Use bitcoin testnet. Defaults to False

BITID_CHALLENGE_EXPIRATION_DELAY

Challenge expiration time in seconds. Defaults to 600 seconds.

 
File Type Py Version Uploaded on Size
django-bitid-0.1.tar.gz (md5) Source 2014-05-30 5KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 38 downloads in the last week
  • 124 downloads in the last month