Skip to main content

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


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.8.5.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file incuna-auth-0.8.5.tar.gz.

File metadata

  • Download URL: incuna-auth-0.8.5.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for incuna-auth-0.8.5.tar.gz
Algorithm Hash digest
SHA256 2ac5d4155382073cc6208155af0a0ef0f694e38717184afd43e8da2a89339c8d
MD5 a96bf6d8d7d648d6ef278ef12902e1b4
BLAKE2b-256 cd730181ecd54ab272f3af5e23c690aef12261c50cf9a4eeec49e7865e1adabd

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