- -
-

pyams_security.views package

-
-

Submodules

-
-
-

pyams_security.views.login module

-
-
-pyams_security.views.login.ForbiddenAJAXView(request)
-

AJAX call forbidden view

-
- -
-
-pyams_security.views.login.ForbiddenView(request)
-

Default forbidden view

-
- -
-
-class pyams_security.views.login.LoginAJAXForm(context, request)
-

Bases: pyams_form.form.AJAXAddForm, pyams_security.views.login.LoginForm

-

Login form, AJAX view

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_security.views.login.LoginDialogAJAXForm(context, request)
-

Bases: pyams_form.form.AJAXAddForm, pyams_security.views.login.LoginDialogForm

-

Login dialog form, AJAX view

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_security.views.login.LoginDialogForm(context, request)
-

Bases: pyams_form.form.DialogAddForm

-

Login dialog form

-
-
-ajax_handler = 'login-dialog.json'
-
- -
-
-buttons = <z3c.form.button.Buttons object>
-
- -
-
-createAndAdd(data)
-
- -
-
-edit_permission = None
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-legend = None
-
- -
-
-title = 'Please enter valid credentials to log-in'
-
- -
-
-update()
-
- -
-
-updateActions()
-
- -
- -
-
-class pyams_security.views.login.LoginForm(context, request)
-

Bases: pyams_form.form.AddForm

-

Login form

-
-
-ajax_handler = 'login.json'
-
- -
-
-buttons = <z3c.form.button.Buttons object>
-
- -
-
-createAndAdd(data)
-
- -
-
-edit_permission = None
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-legend = 'Please enter valid credentials to log-in'
-
- -
-
-update()
-
- -
-
-updateActions()
-
- -
- -
-
-class pyams_security.views.login.LoginFormHeaderViewlet(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

Login form header viewlet

-
- -
-
-class pyams_security.views.login.LoginFormPrefixViewlet(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

Login form prefix viewlet

-
-
-render()
-
- -
- -
-
-class pyams_security.views.login.LoginFormSuffixViewlet(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

Login form suffix viewlet

-
-
-render()
-
- -
- -
-
-pyams_security.views.login.handle_login_form_data(event)
-

Check credentials after data extraction

-
- -
-
-pyams_security.views.login.logout(request)
-

Logout view

-
- -
-
-

pyams_security.views.oauth module

-
-
-class pyams_security.views.oauth.SocialLoginViewletsSuffix(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

Social login viewlets suffix

-
-
-providers
-
- -
-
-use_popup
-
- -
- -
-
-pyams_security.views.oauth.login(request)
-

Login view for Authautomatic authentication

-
- -
-
-

pyams_security.views.userfolder module

-
-
-class pyams_security.views.userfolder.UserConfirmationAJAXForm(context, request)
-

Bases: pyams_form.form.AJAXAddForm, pyams_security.views.userfolder.UserConfirmationForm

-

User registration confirmation form, AJAX view

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_security.views.userfolder.UserConfirmationForm(context, request)
-

Bases: pyams_form.form.AddForm

-

User registration confirmation form

-
-
-ajax_handler = 'user-confirmation.json'
-
- -
-
-autocomplete = 'off'
-
- -
-
-buttons = <z3c.form.button.Buttons object>
-
- -
-
-createAndAdd(data)
-
- -
-
-edit_permission = None
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-user'
-
- -
-
-legend = 'Please confirm your registration info'
-
- -
-
-nextURL()
-
- -
-
-title = 'User registration confirmation'
-
- -
-
-updateActions()
-
- -
-
-updateWidgets(prefix=None)
-
- -
- -
-
-class pyams_security.views.userfolder.UserRegistrationAJAXForm(context, request)
-

Bases: pyams_form.form.AJAXAddForm, pyams_security.views.userfolder.UserRegistrationForm

-

User registration form, AJAX view

-
-
-get_ajax_output(changes)
-
- -
- -
-
-class pyams_security.views.userfolder.UserRegistrationEnd
-

Bases: object

-

User registration end

-
- -
-
-class pyams_security.views.userfolder.UserRegistrationForm(context, request)
-

Bases: pyams_form.form.DialogAddForm

-

User registration form

-
-
-add(user)
-
- -
-
-ajax_handler = 'user-registration.json'
-
- -
-
-autocomplete = 'off'
-
- -
-
-buttons = <z3c.form.button.Buttons object>
-
- -
-
-create(data)
-
- -
-
-edit_permission = None
-
- -
-
-fields = <z3c.form.field.Fields object>
-
- -
-
-icon_css_class = 'fa fa-fw fa-user'
-
- -
-
-input_css_class = 'col-md-8'
-
- -
-
-label_css_class = 'control-label col-md-4'
-
- -
-
-legend = 'Please enter registration info'
-
- -
-
-title = 'User registration'
-
- -
-
-updateActions()
-
- -
-
-updateWidgets(prefix=None)
-
- -
-
-update_content(user, data)
-
- -
- -
-
-class pyams_security.views.userfolder.UserRegistrationViewletsSuffix(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

User registration viewlet suffix

-
-
-button_label = 'Register new account'
-
- -
- -
-
-pyams_security.views.userfolder.handle_confirmation_data_extraction(event)
-

Handle confirmation data extraction

-
- -
-
-pyams_security.views.userfolder.handle_registration_data_extraction(event)
-

Handle registration data extraction

-
- -
-
-

pyams_security.views.utility module

-
-
-pyams_security.views.utility.find_principals(request)
-

Find all principals matching given query

-
- -
-
-

Module contents

-
-
- - -