ApplicationRegistrationView¶
Qualified name: intranet.apps.oauth.views.ApplicationRegistrationView
- class intranet.apps.oauth.views.ApplicationRegistrationView(**kwargs)[source]¶
Bases:
ApplicationRegistration
Custom registration view. Check that the user has OAuth and API access before allowing them to register an application. Disable showing algorithm field. Disable editing client_id and client_secret fields. Note that there are three layers of permission checking: at the template level, form level, and response level. This view handles the form and response levels.
Methods
dispatch
Returns the form class for the application model
Attributes