abx_plugin_ldap_auth

Submodules

Package Contents

Functions

get_CONFIG

get_BINARIES

create_superuser_from_ldap_user

Invoked after LDAP authenticates a user, but before they have a local User account created. ArchiveBox requires staff/superuser status to view the admin at all, so we must create a user

ready

Called at AppConfig.ready() time (settings + models are all loaded)

Data

__label__

__homepage__

API

abx_plugin_ldap_auth.__label__[source]

‘LDAP’

abx_plugin_ldap_auth.__homepage__[source]

https://github.com/django-auth-ldap/django-auth-ldap

abx_plugin_ldap_auth.get_CONFIG()[source]
abx_plugin_ldap_auth.get_BINARIES()[source]
abx_plugin_ldap_auth.create_superuser_from_ldap_user(sender, user=None, ldap_user=None, **kwargs)[source]

Invoked after LDAP authenticates a user, but before they have a local User account created. ArchiveBox requires staff/superuser status to view the admin at all, so we must create a user

  • set staff and superuser when LDAP authenticates a new person.

abx_plugin_ldap_auth.ready()[source]

Called at AppConfig.ready() time (settings + models are all loaded)