Provides authentication parts.
Project description
Various pieces of useful Auth.
Installation
Install the package:
pip install incuna-auth
Add to your INSTALLED_APPS in settings.py:
INSTALLED_APPS = ( ... incuna_auth, ... )
Add the urls to your ROOT_URLCONF:
urlpatterns = patterns('' ... url('', include('incuna_auth.urls')), ... )
Add the auth urls in settings.py:
from django.core.urlresolvers import reverse_lazy ... LOGIN_URL = reverse_lazy('auth_login') LOGOUT_URL = reverse_lazy('auth_logout')
Add the tables to the db:
python manage.py syncdb
Warning: An initial data fixture is included that creates an admin_sso.Assignment to assign any user with an incuna.com email to the Admin user.
Backend
TODO: Add a run down of the Backend.
Middleware
TODO: Add a run down of the Middleware.
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
incuna-auth-0.11.tar.gz
(7.3 kB
view details)
File details
Details for the file incuna-auth-0.11.tar.gz
.
File metadata
- Download URL: incuna-auth-0.11.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e60c766f576596c8d5362b4cc5231590b5a3552b5c9d1cc2cba4d29e22195286 |
|
MD5 | ee3133586e62314a1ff1509cfd0278a3 |
|
BLAKE2b-256 | 0d69b99101a9788709ebb6fd35b3ec6034c4da313f15d9834659d1908ffb6e3a |