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('login')
LOGOUT_URL = reverse_lazy('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-2.1.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

incuna_auth-2.1.0-py2.py3-none-any.whl (21.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for incuna-auth-2.1.0.tar.gz
Algorithm Hash digest
SHA256 195dbcdd9343e9951b2ff66d30d0a6ed97dee269e44c247c5ea65c60c9ef95d4
MD5 f17541caeab9a343e20f4a05c7f7e436
BLAKE2b-256 e2114f83057e02b86e837dba91e7273e15dd59a7cbedb0236737a1233f3b907b

See more details on using hashes here.

File details

Details for the file incuna_auth-2.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for incuna_auth-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f6776ad63cacf1ab5b5b9cc9d7d814b57765df3edfb09e32f5e7f4de8b596df3
MD5 3fc8a271177dca43a54d3cca3a066858
BLAKE2b-256 bfa9948f9eb94638ea3d68d5b0b0b26e9bb8c045ddf08aabe63655b1f7878f2a

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