requireAuth(); $this->json([ 'pong' => true, 'auth' => $this->apiUser ? 'apikey' : 'admin_token', 'time' => date('c'), ]); } }