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

Uploaded Source

Built Distribution

incuna_auth-2.2.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for incuna-auth-2.2.0.tar.gz
Algorithm Hash digest
SHA256 35d78ebd394e611d9cebadf521253c3b786845a522e8fce15a29aa56e39f8eea
MD5 88d24d37e7743842c6e3d5572afddfb5
BLAKE2b-256 31aa834e6ab745d1ce6b98cb5f3b45874720ae5c2ee2e085f861e5f21d01b476

See more details on using hashes here.

File details

Details for the file incuna_auth-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for incuna_auth-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8339df388a1d9cce502d6ec30dc4aefd9a1a8590e301bfab3fc76e0cf1e6ad5
MD5 180bcf7c86143128f705514a8f4195ed
BLAKE2b-256 389c384abc223d25677c90f49f1785d31e3cf1511843f9361d8e425473a7a03a

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