summaryrefslogtreecommitdiffstats
path: root/src/authentic2_auth_kerberos/__init__.py
blob: 14b10f690236d11b19dfbcbcea10b8be1dde0b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
__version__ = '1.0.0'

class Plugin(object):
    def get_before_urls(self):
        from . import urls
        return urls.urlpatterns

    def get_apps(self):
        return [__name__, 'django_kerberos']

    def get_authentication_backends(self):
        return ['authentic2_auth_kerberos.backends.A2KerberosBackend']

    def get_auth_frontends(self):
        return ['authentic2_auth_kerberos.auth_frontends.KerberosFrontend']