Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F34071
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
Sat, Dec 20, 07:45 (13 h, 57 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1c/a0/1301acd49e3850f9135d3b14fea9
Default Alt Text
SessionProviderInterface.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment