Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4166272
SessionProviderInterface.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
SessionProviderInterface.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\Session
;
use
MediaWiki\Language\Language
;
use
MediaWiki\Message\Message
;
/**
* MediaWiki\Session\Provider interface
*
* This exists to make IDEs happy, so they don't see the
* internal-but-required-to-be-public methods on SessionProvider.
*
* @since 1.27
* @ingroup Session
*/
interface
SessionProviderInterface
{
/**
* Return an identifier for this session type
*
* @param Language $lang Language to use.
* @return string
*/
public
function
describe
(
Language
$lang
);
/**
* Return a Message for why sessions might not be being persisted.
*
* For example, "check whether you're blocking our cookies".
*
* @return Message|null
*/
public
function
whyNoSession
();
/**
* Returns true if this provider is safe against csrf attacks, or false otherwise
*
* @return bool
*/
public
function
safeAgainstCsrf
();
/**
* Returns true if this provider is exempt from autocreate user permissions check.
*
* @return bool
* @since 1.42
*/
public
function
canAlwaysAutocreate
():
bool
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 20 2026, 03:34 (11 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
65/c1/a4ccd166ed4f2d24907ebcfdbd51
Default Alt Text
SessionProviderInterface.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment