Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4144677
ScopeEntity.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
ScopeEntity.php
View Options
<?php
namespace
MediaWiki\Extension\OAuth\Entity
;
use
League\OAuth2\Server\Entities\ScopeEntityInterface
;
use
League\OAuth2\Server\Entities\Traits\EntityTrait
;
class
ScopeEntity
implements
ScopeEntityInterface
{
use
EntityTrait
;
/**
* Create generic scope entity
*
* @param string $identifier
*/
public
function
__construct
(
$identifier
)
{
$this
->
identifier
=
$identifier
;
}
/**
* @return string
*/
public
function
jsonSerialize
():
string
{
return
$this
->
getIdentifier
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 17:19 (4 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
77/9d/c558b298365d4f4c6b34a394533e
Default Alt Text
ScopeEntity.php (505 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment