public function tokenAction()
 {
     $request = new Request();
     if ($request->isGet()) {
         $token = $this->token();
         $this->response(array("value" => $token['value'], "key" => $token['key']), 200);
     }
 }
Beispiel #2
0
 public function isGet()
 {
     return parent::isGet();
 }