/** * Constructor * @param $request PKPRequest * @param $operations array|string either a single operation or a list of operations that * this policy is targeting. * @param $message string a message to be displayed if the authorization fails */ function __construct($request, $args, $operations, $message = 'user.authorization.processAuthenticationTokenRequired') { if (isset($args['authToken'])) { $this->authToken = $args['authToken']; } parent::__construct($request, $operations, $message); }