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-1.0.0.tar.gz
(7.5 kB
view details)
File details
Details for the file incuna-auth-1.0.0.tar.gz
.
File metadata
- Download URL: incuna-auth-1.0.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32097ec3e87092ff932b7117d2b12fb1ee5e22aef5faece3ee54454a5db2379b |
|
MD5 | e88e8e2bfdb4d6ad8603c4944fb6a705 |
|
BLAKE2b-256 | fe70c0e3ddb7c81121c1009a634f9630a40952df59a86e52fdc4a927478382ca |