/oauthadmin/keyaction
A view of the oauthadmin module, defined in kernel/private/modules/oauthadmin/module.php and run by kernel/private/modules/oauthadmin/keyaction.php.
Address
/oauthadmin/keyactionWho 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 | RevokeKeyListButton: RevokeKeyList, RevokeOneKeyButton: RevokeOneKey |
| POST action parameters | RevokeKeyList (KeyIDList: RevokeKeyIDArray, ConfirmRevoke: ConfirmRevoke, RedirectURI: RedirectURI), RevokeOneKey (KeyID: RevokeOneKeyButton, RedirectURI: RedirectURI) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/oauthadmin/keyaction'|ezurl>oauthadmin/keyaction</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/oauthadmin/keyaction' );Related
Generated by ./console exp:help:examples from kernel/private/modules/oauthadmin/module.php, kernel/private/modules/oauthadmin/keyaction.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.