MediaWiki
REL1_37
RequestHasSameOriginSecurityHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
use
WebRequest
;
6
14
interface
RequestHasSameOriginSecurityHook
{
26
public
function
onRequestHasSameOriginSecurity
( $request );
27
}
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:43
MediaWiki\Api\Hook\RequestHasSameOriginSecurityHook
This is a hook handler interface, see docs/Hooks.md.
Definition
RequestHasSameOriginSecurityHook.php:14
MediaWiki\Api\Hook\RequestHasSameOriginSecurityHook\onRequestHasSameOriginSecurity
onRequestHasSameOriginSecurity( $request)
Use this hook to determine if the request is somehow flagged to lack same-origin security.
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
includes
api
Hook
RequestHasSameOriginSecurityHook.php
Generated on Fri Apr 5 2024 23:40:03 for MediaWiki by
1.9.8