/oauthadmin/edit
A view of the oauthadmin module, defined in kernel/private/modules/oauthadmin/module.php and run by kernel/private/modules/oauthadmin/edit.php.
Address
/oauthadmin/edit/<ApplicationID>Ordered parameters, in this order after the view name: ApplicationID.
Who may open it
The view names no policy function, so the user needs a policy for the whole module: oauthadmin/* (every function of the module) in one of the roles assigned to them.
Details
| Key | Value |
|---|---|
| Navigation part | ezsetupnavigationpart |
| Single POST actions | StoreButton: Store, DiscardButton: Discard |
| POST action parameters | Store (Name: Name, EndPointURI: EndPointURI, Description: Description) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/oauthadmin/edit/1'|ezurl>oauthadmin/edit</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/oauthadmin/edit/1' );Related
Generated by ./console exp:help:examples from kernel/private/modules/oauthadmin/module.php, kernel/private/modules/oauthadmin/edit.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.