class AuthorizeEvent extends Event

Class AuthorizeEvent

Properties

protected Kernel $apiKernel from Event
protected ProviderInterface $apiProvider from Event
protected array $apiRequest from Event

Methods

__construct(ProviderInterface $apiProvider, array $apiRequest, Kernel $apiKernel)

No description

from Event
getApiKernel()

Get api kernel.

from Event
getApiProvider()

No description

from Event
array
getApiRequest()

No description

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)

Parameters

ProviderInterface $apiProvider The API responsible for executing the request.
array $apiRequest The full description of the API request.
Kernel $apiKernel

in Event at line 73
Kernel getApiKernel()

Get api kernel.

Return Value

Kernel

in Event at line 80
ProviderInterface getApiProvider()

Return Value

ProviderInterface

in Event at line 87
array getApiRequest()

Return Value

array

at line 43
authorize()

Mark the request as authorized.

at line 51
bool isAuthorized()

Return Value

bool TRUE if the request has been authorized.