Revision bdd13ca7
b/snf-astakos-app/astakos/im/auth_providers.py | ||
---|---|---|
667 | 667 |
Return a provider instance from the auth providers registry. |
668 | 668 |
""" |
669 | 669 |
if not module in PROVIDERS: |
670 |
raise Exception('Invalid auth provider "%s"' % id)
|
|
670 |
raise Exception('Invalid auth provider "%s"' % module)
|
|
671 | 671 |
|
672 | 672 |
return PROVIDERS.get(module)(user_obj, identifier, **params) |
Also available in: Unified diff