public function token()
    {
        $inputs = $this->getInputs();
        $headers = $this->headers();

        // Read token from request custom header
        if (isset($headers['X-Auth-Token'])) {
            return $headers['X-Auth-Token'];
        }

        // Read token from request input
        if (isset($inputs['token'])) {
            return $inputs['token'];
        }

        // Otherwise, return false
        return false;
    }