0001-misc-rename-authentication-frontend-to-authenticator.patch
src/authentic2_auth_fedict/__init__.py | ||
---|---|---|
42 | 42 |
def get_authentication_backends(self): |
43 | 43 |
return ['authentic2_auth_fedict.backends.FedictBackend'] |
44 | 44 | |
45 |
def get_auth_frontends(self):
|
|
46 |
return ['authentic2_auth_fedict.auth_frontends.FedictFrontend']
|
|
45 |
def get_authenticators(self):
|
|
46 |
return ['authentic2_auth_fedict.authenticators.FedictAuthenticator']
|
|
47 | 47 | |
48 | 48 |
def redirect_logout_list(self, request, next_url=None): |
49 | 49 |
from mellon.views import logout |
src/authentic2_auth_fedict/auth_frontends.py → src/authentic2_auth_fedict/authenticators.py | ||
---|---|---|
25 | 25 |
from . import app_settings |
26 | 26 | |
27 | 27 | |
28 |
class FedictFrontend(object):
|
|
28 |
class FedictAuthenticator(object):
|
|
29 | 29 |
id = 'fedict' |
30 | 30 | |
31 | 31 |
def enabled(self): |
32 |
- |