Index

iToken

MMO\oauth\interfaces · 1 symbol · generated 5 Oct 2026

interface

iToken

iToken.php:8
interface MMO\oauth\interfaces\iToken extends MMO\core\interfaces\iEntity
Namespace
MMO\oauth\interfaces
Implements
iEntity

Index

getClient() abstractGet the client that the token was issued to.
getExpiryDate() abstractGet the token's expiry date time.
getIssuedDate() abstract
getIssuer() abstract
getStartingDate() abstractGet the token's expiry date time.
isValid() abstractValidate token
toJWT() abstractReturn the JWT claims for this token

Methods7

getClient()

abstractiToken.php:35

Get the client that the token was issued to.

abstract function getClient(): MMO\oauth\interfaces\iClient
returnsiClient

isValid()

abstractiToken.php:29

Validate token

abstract function isValid(): bool
returnsbool

toJWT()

abstractiToken.php:41

Return the JWT claims for this token

abstract function toJWT(): MMO\oauth\helpers\JWT
returnsJWT
Inherited members (48)
ConstantsDeclared byDescription
FLAG_CHANGEDiEntity
FLAG_CREATEDiEntity
FLAG_IGNORE_CHANGEiEntity
FLAG_IGNORE_ENTITYiEntity
FLAG_OPACIFYiEntity
FLAG_REMOVEDiEntity
MethodsDeclared byDescription
addFlags($flags)iEntity
archive()iEntity
ArrayProperties()iArrayProperties
ArrayProperty($name)iArrayProperties
clearChanges()iEntity
compareTo($value)iComparable
debugName()iEntity
get($path, $default)iEntity
getChanges($asArray, $store)iEntity
getCollection()iEntity
getErrors()iEntity
getFlags()iEntity
getId()iEntity
getRepository()iEntity
getStatus()iEntity
getTitle()iEntity
hasStatusChanged()iEntity
HiddenPath($path)iArrayProperties
isArchive()iEntity
isChanged()iEntity
isCreated()iEntity
isFinal()iEntity
isRemoved()iEntity
loadArray($data, $coerceOptions, $fromStore)iEntity
loadFromStore($data)iEntityLoad data as read from storage: not recorded as a change.
localName()iEntityGet the local name (collection name and this id) in the current repository
markChanged($keys)iEntity
mutate($type, $path, $value, $oldValue)iMutationObserver
offsetExists($offset)ArrayAccess
offsetGet($offset)ArrayAccess
offsetSet($offset, $value)ArrayAccess
offsetUnset($offset)ArrayAccess
removeFlags($flags)iEntity
removePermanently()iEntityRemove it for good: only an archived entity can be.
Schema()iSchemaProvider
setArrayPropertyOffset($key, $offset, $value, $coerceOptions)iEntity
setStatus($status)iEntity
store()iEntity
test($filter)iEntity
toArray($fields)iArrayProperties
toLink($attributes)iEntity
uid()iIdentifiableGet the unique identifier