diff --git a/rhodecode/authentication/plugins/auth_crowd.py b/rhodecode/authentication/plugins/auth_crowd.py --- a/rhodecode/authentication/plugins/auth_crowd.py +++ b/rhodecode/authentication/plugins/auth_crowd.py @@ -40,7 +40,7 @@ from rhodecode.model.db import User log = logging.getLogger(__name__) -def plugin_factory(plugin_id, *args, **kwds): +def plugin_factory(plugin_id, *args, **kwargs): """ Factory function that is called during plugin discovery. It returns the plugin instance. diff --git a/rhodecode/authentication/plugins/auth_headers.py b/rhodecode/authentication/plugins/auth_headers.py --- a/rhodecode/authentication/plugins/auth_headers.py +++ b/rhodecode/authentication/plugins/auth_headers.py @@ -34,7 +34,7 @@ from rhodecode.model.db import User log = logging.getLogger(__name__) -def plugin_factory(plugin_id, *args, **kwds): +def plugin_factory(plugin_id, *args, **kwargs): """ Factory function that is called during plugin discovery. It returns the plugin instance. diff --git a/rhodecode/authentication/plugins/auth_jasig_cas.py b/rhodecode/authentication/plugins/auth_jasig_cas.py --- a/rhodecode/authentication/plugins/auth_jasig_cas.py +++ b/rhodecode/authentication/plugins/auth_jasig_cas.py @@ -42,7 +42,7 @@ from rhodecode.model.db import User log = logging.getLogger(__name__) -def plugin_factory(plugin_id, *args, **kwds): +def plugin_factory(plugin_id, *args, **kwargs): """ Factory function that is called during plugin discovery. It returns the plugin instance. diff --git a/rhodecode/authentication/plugins/auth_ldap.py b/rhodecode/authentication/plugins/auth_ldap.py --- a/rhodecode/authentication/plugins/auth_ldap.py +++ b/rhodecode/authentication/plugins/auth_ldap.py @@ -53,7 +53,7 @@ class LdapError(Exception): pass -def plugin_factory(plugin_id, *args, **kwds): +def plugin_factory(plugin_id, *args, **kwargs): """ Factory function that is called during plugin discovery. It returns the plugin instance. diff --git a/rhodecode/authentication/plugins/auth_pam.py b/rhodecode/authentication/plugins/auth_pam.py --- a/rhodecode/authentication/plugins/auth_pam.py +++ b/rhodecode/authentication/plugins/auth_pam.py @@ -40,7 +40,7 @@ from rhodecode.lib.colander_utils import log = logging.getLogger(__name__) -def plugin_factory(plugin_id, *args, **kwds): +def plugin_factory(plugin_id, *args, **kwargs): """ Factory function that is called during plugin discovery. It returns the plugin instance. diff --git a/rhodecode/authentication/plugins/auth_rhodecode.py b/rhodecode/authentication/plugins/auth_rhodecode.py --- a/rhodecode/authentication/plugins/auth_rhodecode.py +++ b/rhodecode/authentication/plugins/auth_rhodecode.py @@ -34,7 +34,7 @@ from rhodecode.model.db import User log = logging.getLogger(__name__) -def plugin_factory(plugin_id, *args, **kwds): +def plugin_factory(plugin_id, *args, **kwargs): plugin = RhodeCodeAuthPlugin(plugin_id) return plugin @@ -67,6 +67,10 @@ class RhodeCodeAuthPlugin(RhodeCodeAuthP def get_display_name(self): return _('RhodeCode Internal') + @classmethod + def docs(cls): + return "https://docs.rhodecode.com/RhodeCode-Enterprise/auth/auth.html" + @hybrid_property def name(self): return "rhodecode" diff --git a/rhodecode/authentication/plugins/auth_token.py b/rhodecode/authentication/plugins/auth_token.py --- a/rhodecode/authentication/plugins/auth_token.py +++ b/rhodecode/authentication/plugins/auth_token.py @@ -34,7 +34,7 @@ from rhodecode.model.db import User, Use log = logging.getLogger(__name__) -def plugin_factory(plugin_id, *args, **kwds): +def plugin_factory(plugin_id, *args, **kwargs): plugin = RhodeCodeAuthPlugin(plugin_id) return plugin