Horizon Forms

Horizon ships with a number of form classes, some generic and some specific.

Generic Forms

Auth Forms

Forms used for Horizon’s auth mechanisms.

class horizon.views.auth_forms.Login(*args, **kwargs)[source]

Form used for logging in a user.

Handles authentication with Keystone, choosing a tenant, and fetching a scoped token token for that tenant. Redirects to the URL returned by horizon.get_user_home() if successful.

Subclass of SelfHandlingForm.

class horizon.views.auth_forms.LoginWithTenant(*args, **kwargs)[source]

Exactly like Login but includes the tenant id as a field so that the process of choosing a default tenant is bypassed.

Table Of Contents

Previous topic

Horizon User APIs

Next topic

Horizon Views

This Page