reviewboard.accounts.forms.auth¶
- 
class ActiveDirectorySettingsForm(siteconfig, *args, **kwargs)[source]¶
- Bases: - djblets.siteconfig.forms.SiteSettingsForm- A form for configuring the Active Directory authentication backend. - 
class Meta[source]¶
- 
- 
fieldsets= ((None, {u’fields’: (u’auth_ad_domain_name’, u’auth_ad_use_tls’, u’auth_ad_find_dc_from_dns’, u’auth_ad_domain_controller’)}), (_(u’Access Control Settings’), {u’fields’: (u’auth_ad_ou_name’, u’auth_ad_group_name’)}), (_(u’Advanced Settings’), {u’fields’: (u’auth_ad_search_root’, u’auth_ad_recursion_depth’)}))[source]¶
 
- 
 
- 
class 
- 
class StandardAuthSettingsForm(siteconfig, *args, **kwargs)[source]¶
- Bases: - djblets.siteconfig.forms.SiteSettingsForm- A form for configuring the builtin authentication backend. - 
clean_recaptcha_public_key()[source]¶
- Validate that the reCAPTCHA public key is specified if needed. 
 
- 
- 
class HTTPBasicSettingsForm(siteconfig, *args, **kwargs)[source]¶
- Bases: - djblets.siteconfig.forms.SiteSettingsForm- A form for configuring the HTTP Digest authentication backend. 
- 
class LDAPSettingsForm(siteconfig, *args, **kwargs)[source]¶
- Bases: - djblets.siteconfig.forms.SiteSettingsForm- A form for configuring the LDAP authentication backend. - 
class Meta[source]¶
- 
- 
fieldsets= ((None, {u’fields’: (u’auth_ldap_uri’, u’auth_ldap_tls’, u’auth_ldap_anon_bind_uid’, u’auth_ldap_anon_bind_passwd’, u’auth_ldap_base_dn’)}), (_(u’User Lookups’), {u’fields’: (u’auth_ldap_uid’, u’auth_ldap_given_name_attribute’, u’auth_ldap_surname_attribute’, u’auth_ldap_full_name_attribute’, u’auth_ldap_email_attribute’, u’auth_ldap_email_domain’, u’auth_ldap_uid_mask’)}))[source]¶
 
- 
 
- 
class 
- 
class LegacyAuthModuleSettingsForm(siteconfig, *args, **kwargs)[source]¶
- Bases: - djblets.siteconfig.forms.SiteSettingsForm- A form for configuring old-style custom authentication backends. - Newer authentication backends are registered via the extensions framework, but there used to be a method by which users just put in a list of python module paths. This form allows that configuration to be edited. 
- 
class NISSettingsForm(siteconfig, *args, **kwargs)[source]¶
- Bases: - djblets.siteconfig.forms.SiteSettingsForm- A form for configuring the NIS authentication backend. 
- 
class X509SettingsForm(siteconfig, *args, **kwargs)[source]¶
- Bases: - djblets.siteconfig.forms.SiteSettingsForm- A form for configuring the X509 certificate authentication backend. 
- 
class AuthenticationForm(request=None, *args, **kwargs)[source]¶
- Bases: - django.contrib.auth.forms.AuthenticationForm- Form used for user logins. - This extends Django’s built-in AuthenticationForm implementation to allow users to specify their e-mail address in place of their username. 
