userSession->isLogged() && in_array($procedure, $this->userSpecificProcedures)) { throw new AccessDeniedException('This procedure is not available with the API credentials'); } } }