ActionAuthorizationService implements SingletonInterface
Read onlyYes
only to be used within Extbase, not part of TYPO3 Core API.
Table of Contents
Interfaces
- SingletonInterface
- "empty" interface for singletons (marker interface pattern)
Properties
Methods
- __construct() : mixed
- checkAuthorization() : AuthorizationResult
- Checks all authorize attributes
- checkGroupAccess() : bool
- evaluateAuthorizeAttribute() : AuthorizationResult
- executeCallback() : bool
- executeClassCallback() : bool
- executeControllerCallback() : bool
- getCallbackInstance() : object
- validateCallbackMethod() : void
Properties
$context
protected
Context
$context
Methods
__construct()
public
__construct(Context $context) : mixed
Parameters
- $context : Context
checkAuthorization()
Checks all authorize attributes
public
checkAuthorization(ActionController $controller, array<string|int, Authorize> $authorizeAttributes, array<string|int, mixed> $preparedArguments) : AuthorizationResult
Parameters
- $controller : ActionController
- $authorizeAttributes : array<string|int, Authorize>
- $preparedArguments : array<string|int, mixed>
Return values
AuthorizationResultcheckGroupAccess()
protected
checkGroupAccess(Authorize $authorize, object $userAspect) : bool
Parameters
- $authorize : Authorize
- $userAspect : object
Return values
boolevaluateAuthorizeAttribute()
protected
evaluateAuthorizeAttribute(Authorize $authorize, ActionController $controller, array<string|int, mixed> $preparedArguments) : AuthorizationResult
Parameters
- $authorize : Authorize
- $controller : ActionController
- $preparedArguments : array<string|int, mixed>
Return values
AuthorizationResultexecuteCallback()
protected
executeCallback(Authorize $authorize, ActionController $controller, array<string|int, mixed> $preparedArguments) : bool
Parameters
- $authorize : Authorize
- $controller : ActionController
- $preparedArguments : array<string|int, mixed>
Return values
boolexecuteClassCallback()
protected
executeClassCallback(array<string|int, mixed> $callback, array<string|int, mixed> $arguments) : bool
Parameters
- $callback : array<string|int, mixed>
- $arguments : array<string|int, mixed>
Return values
boolexecuteControllerCallback()
protected
executeControllerCallback(ActionController $controller, string $methodName, array<string|int, mixed> $arguments) : bool
Parameters
- $controller : ActionController
- $methodName : string
- $arguments : array<string|int, mixed>
Return values
boolgetCallbackInstance()
protected
getCallbackInstance(string $className) : object
Parameters
- $className : string
Return values
objectvalidateCallbackMethod()
protected
validateCallbackMethod(object $instance, string $methodName, string $className) : void
Parameters
- $instance : object
- $methodName : string
- $className : string