AuthorizeEvent
class AuthorizeEvent extends Event
Class AuthorizeEvent
Properties
protected Kernel | $apiKernel | from Event | |
protected ProviderInterface | $apiProvider | from Event | |
protected array | $apiRequest | from Event |
Methods
from Event
string
getApiRequestSig()
Create a brief string identifying the entity/action. Useful for pithy matching/switching.
from Event
authorize()
Mark the request as authorized.
bool
isAuthorized()
No description
Details
in Event at line 62
__construct(ProviderInterface $apiProvider, array $apiRequest, Kernel $apiKernel)
in Event at line 80
ProviderInterface
getApiProvider()
in Event at line 87
array
getApiRequest()
in Event at line 100
string
getApiRequestSig()
Create a brief string identifying the entity/action. Useful for pithy matching/switching.
Ex: if ($e->getApiRequestSig() === '3.contact.get') { ... }
at line 43
authorize()
Mark the request as authorized.