                          :refresh-token
                          ,(oauth2-token-refresh-token token)
                          :access-response
-                         ,(oauth2-token-access-response token)))
+                         ,(oauth2-token-access-response token)
+                         ))
       (plstore-save plstore)))
   token)
 

        (url-request-extra-headers
         '(("Content-Type" . "application/x-www-form-urlencoded"))))
    (with-current-buffer (url-retrieve-synchronously url)
      (prog1 (oauth2-request-access-parse)
        (kill-buffer)))))

(defstruct oauth2-token
  plstore

;;; oauth2.el --- OAuth 2.0 Authorization Protocol

;; Copyright (C) 2011-2013 Free Software Foundation, Inc

;; Author: Julien Danjou <julien@danjou.info>
;; Version: 0.10
;; Keywords: comm

;; Modified by Daniel Martins <daniel.tritone@gmail.com>
