class Scope implements ScopeEntityInterface (View source)

Properties

protected string $identifier
protected string $description
protected $codes
protected $tokens

Methods

getIdentifier()

{@inheritdoc}

setIdentifier(string $identifier)

No description

string
getDescription()

No description

setDescription(string $description)

No description

string
jsonSerialize()

Serialize this scope into a string.

Details

getIdentifier()

{@inheritdoc}

See also

\League\OAuth2\Server\Entities\ScopeEntityInterface::getIdentifier()

setIdentifier(string $identifier)

No description

Parameters

string $identifier

string getDescription()

No description

Return Value

string

setDescription(string $description)

No description

Parameters

string $description

string jsonSerialize()

Serialize this scope into a string.

This method MUST return a string and must match the scope ID that clients will request

Return Value

string