MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

eInvalidScope

MMO\oauth\exceptions · 1 symbole · générée le 27 Oct 2026

class

eInvalidScope

eInvalidScope.php:12

A client asking what its scopes do not allow: a right it has not, so 403 (Forbidden) unless told otherwise -- 400 (eAuth's default) made mmo.client say « La demande n'a pas pu être traitée » instead of the refusal of rights

class MMO\oauth\exceptions\eInvalidScope extends MMO\oauth\exceptions\eAuth
Espace de noms
MMO\oauth\exceptions
Étend
eAuth

Méthodes1

__construct($origin, $request, $message, $context, $code, $redirectUri, $previous)

eInvalidScope.php:13
function __construct( $origin, Psr\Http\Message\RequestInterface|MMO\core\server\Route $request, string $message, array $context = [], int $code = 403, ?string $redirectUri = null, ?Throwable $previous = null )
$origin
$requestRequestInterface | Route
$messagestring
$context = []array
$code = 403int
$redirectUri = nullnull | string
$previous = nullnull | Throwable
Membres hérités (31)
PropriétésDéclaré parDescription
codeException
contexteRuntime
fileException
formateRuntime
lineException
ListenerseRuntime
messageException
MéthodesDéclaré parDescription
AddListener($handler, $order)eRuntimeRegister a listener directly (as opposed to ConnectListeners's attribute-based discovery).
ConnectListeners($obj)eRuntimeScan $obj's methods for #[Listen(EventClass::class)] attributes and register each one as a listener on the matching event class.
DisconnectListeners($obj)eRuntimeUndo a previous ConnectListeners: removes every listener that connect had registered for $obj on this event class.
dispatch()eRuntimeInvoke every GetListeners listener with $this.
getCode()Exception
getContext()eRuntime
getFile()Exception
getFormat()eRuntime
getLine()Exception
GetListeners()eRuntimeCollect every listener for this class, including those registered on its parent classes (so a subclass event is also caught by listeners of its parent event), sorted by ascending $order (ties keep …
getMessage()Exception
getOrigin()eRuntime
getPrevious()Exception
getRedirectUri()eAuth
getRequest()eServer
getTrace()Exception
getTraceAsString()Exception
HasListener($handler)eRuntime
jsonSerialize()eRuntime\JsonSerializable::jsonSerialize
RemoveListener($handler)eRuntimeRemove the last added handler from the listeners.
Send($args)eRuntimeConstruct a new instance of this class with $args, then dispatch it to every listener.
SetListenerOrder($handler, $order)eRuntimeChange the order of an already-registered listener, whether added directly via AddListener or indirectly via ConnectListeners (which also stores its [$obj, $methodName] callables here).
__toString()Exception
__wakeup()Exception