Show More
@@ -171,6 +171,20 b' class RhodeCodeAuthPluginBase(object):' | |||
|
171 | 171 | db_type = '{}.encrypted'.format(db_type) |
|
172 | 172 | return db_type |
|
173 | 173 | |
|
174 | @classmethod | |
|
175 | def docs(cls): | |
|
176 | """ | |
|
177 | Defines documentation url which helps with plugin setup | |
|
178 | """ | |
|
179 | return '' | |
|
180 | ||
|
181 | @classmethod | |
|
182 | def icon(cls): | |
|
183 | """ | |
|
184 | Defines ICON in SVG format for authentication method | |
|
185 | """ | |
|
186 | return '' | |
|
187 | ||
|
174 | 188 | def is_enabled(self): |
|
175 | 189 | """ |
|
176 | 190 | Returns true if this plugin is enabled. An enabled plugin can be |
@@ -215,6 +215,10 b' class RhodeCodeAuthPlugin(RhodeCodeExter' | |||
|
215 | 215 | def get_display_name(self): |
|
216 | 216 | return _('CROWD') |
|
217 | 217 | |
|
218 | @classmethod | |
|
219 | def docs(cls): | |
|
220 | return "https://docs.rhodecode.com/RhodeCode-Enterprise/auth/auth-crowd.html" | |
|
221 | ||
|
218 | 222 | @hybrid_property |
|
219 | 223 | def name(self): |
|
220 | 224 | return "crowd" |
@@ -396,6 +396,10 b' class RhodeCodeAuthPlugin(RhodeCodeExter' | |||
|
396 | 396 | def get_display_name(self): |
|
397 | 397 | return _('LDAP') |
|
398 | 398 | |
|
399 | @classmethod | |
|
400 | def docs(cls): | |
|
401 | return "https://docs.rhodecode.com/RhodeCode-Enterprise/auth/auth-ldap.html" | |
|
402 | ||
|
399 | 403 | @hybrid_property |
|
400 | 404 | def name(self): |
|
401 | 405 | return "ldap" |
@@ -97,6 +97,10 b' class RhodeCodeAuthPlugin(RhodeCodeExter' | |||
|
97 | 97 | def get_display_name(self): |
|
98 | 98 | return _('PAM') |
|
99 | 99 | |
|
100 | @classmethod | |
|
101 | def docs(cls): | |
|
102 | return "https://docs.rhodecode.com/RhodeCode-Enterprise/auth/auth-pam.html" | |
|
103 | ||
|
100 | 104 | @hybrid_property |
|
101 | 105 | def name(self): |
|
102 | 106 | return "pam" |
@@ -69,6 +69,10 b' class RhodeCodeAuthPlugin(RhodeCodeAuthP' | |||
|
69 | 69 | def get_display_name(self): |
|
70 | 70 | return _('Rhodecode Token Auth') |
|
71 | 71 | |
|
72 | @classmethod | |
|
73 | def docs(cls): | |
|
74 | return "https://docs.rhodecode.com/RhodeCode-Enterprise/auth/auth-token.html" | |
|
75 | ||
|
72 | 76 | @hybrid_property |
|
73 | 77 | def name(self): |
|
74 | 78 | return "authtoken" |
General Comments 0
You need to be logged in to leave comments.
Login now