Page MenuHomeWickedGov Phorge

ScopeEntity.php
No OneTemporary

Size
505 B
Referenced Files
None
Subscribers
None

ScopeEntity.php

<?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

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)

Event Timeline