TemplatesOAuth module
OAuth templates
Default templates the OAuth module renders, the controller that renders each one and what it receives. A file at the same path in your site repository replaces the platform's.
Admin view
o-auth/backend/clients/add.html
Clients\Add
Add a new record. Assigns an empty record to the template.
| Variable | Type | Description |
|---|---|---|
$client |
Client |
Single (empty) Client record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/o-auth/backend/clients/add.html in your site repository.
o-auth/backend/clients/edit.html
Clients\Edit
Retrieve a single record and display the edit page for the record
| Variable | Type | Description |
|---|---|---|
$client |
Client |
Retrieved Client record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/o-auth/backend/clients/edit.html in your site repository.
o-auth/backend/clients/manage.html
Clients\Manage
Retrieve available records and assign them to the template for editing.
| Variable | Type | Description |
|---|---|---|
$clients |
Collection<Client> |
Collection of Clients |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Customise this admin screen: create templates/o-auth/backend/clients/manage.html in your site repository.