code: public function onExecuteAction(ExecuteActionEvent $event){
  		$request=$event->getRequest();
  		$authenticate=$request->getConfig()->getObject('authenticate');
  		if($authenticate){
  			$this->execute($event,$authenticate);
  		}
  	}
docs: Detect config authenticate.
  
  @param ExecuteActionEvent $event