MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\Api\ApiHookRunner.
Public Member Functions | |
onRequestHasSameOriginSecurity ( $request) | |
Use this hook to determine if the request is somehow flagged to lack same-origin security. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "RequestHasSameOriginSecurity" to register handlers implementing this interface.
Definition at line 14 of file RequestHasSameOriginSecurityHook.php.
MediaWiki\Api\Hook\RequestHasSameOriginSecurityHook::onRequestHasSameOriginSecurity | ( | $request | ) |
Use this hook to determine if the request is somehow flagged to lack same-origin security.
Note that if the "somehow" involves HTTP headers, you'll probably need to make sure the header is varied on.
WebRequest | $request |
Implemented in MediaWiki\Api\ApiHookRunner.