<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -93,6 +93,8 @@
       &lt;p&gt;
         &lt;b&gt;Request Token URL&lt;/b&gt; &lt;br /&gt;
         OAuth Step 1.&lt;br /&gt;
+        oauth_callback (optional): &lt;input id=&quot;oauth_callback&quot; name=&quot;oauth_callback&quot; size=&quot;32&quot; /&gt;
+        &lt;br /&gt;
         &lt;a href=&quot;#&quot;
         onclick=&quot;getRequestTok(); return false;&quot;&gt;See URL&lt;/a&gt;&lt;br /&gt;
         &lt;span id=&quot;texty&quot;&gt;&lt;/span&gt;
@@ -119,6 +121,7 @@
         somewhere. &lt;br /&gt;
         oauth_token: &lt;input id=&quot;atoken&quot; name=&quot;atoken&quot; size=&quot;32&quot; /&gt;
         oauth_token_secret: &lt;input id=&quot;astoken&quot; name=&quot;astoken&quot; size=&quot;32&quot; /&gt;
+        oauth_verifier: &lt;input id=&quot;oauth_verifier&quot; name=&quot;oauth_verifier&quot; size=&quot;32&quot; /&gt;
         &lt;br /&gt;
         &lt;a href=&quot;#&quot;
         onclick=&quot;getAccess(); return false&quot;&gt;See URL&lt;/a&gt;&lt;br /&gt;</diff>
      <filename>example/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,7 @@ function fillBlanks(div, url) {
 
 function getRequestTok() {
   init();
-  var url = fe.getRequestTokenUrl();
+  var url = fe.getRequestTokenUrl(document.getElementById('oauth_callback').value);
   fillBlanks('texty', url);
   return url;
 }
@@ -48,7 +48,7 @@ function getAccess() {
   init();
   fe.oauthToken = document.getElementById('atoken').value;
   fe.oauthTokenSecret = document.getElementById('astoken').value;
-  var url = fe.getAccessUrl();
+  var url = fe.getAccessUrl(document.getElementById('oauth_verifier').value);
   fillBlanks('accessurl', url);
   return url;
 }</diff>
      <filename>example/init.js</filename>
    </modified>
    <modified>
      <diff>@@ -134,30 +134,52 @@ FireEagle.prototype.parseTokens = function parseTokens(tokenString, setValues) {
 /**
  * Return the fully constructed OAuth Request Token URL.
  *
+ * @param oauth_callback [OPTIONAL] String - Callback url to bind the
+ *        request token to. This will be used when the authorization
+ *        step has been completed.
  * @return String The Request Token URL.
  * @see http://fireeagle.yahoo.net/developer/documentation/usingoauth
  */
-FireEagle.prototype.getRequestTokenUrl = function() {
+FireEagle.prototype.getRequestTokenUrl = function(oauth_callback) {
+  // default oauth_callback to 'oob'
+  if (oauth_callback === undefined || oauth_callback == &quot;&quot;) {
+    oauth_callback = &quot;oob&quot;;
+  }
+
   return OAuth.getUrl(&quot;GET&quot;,
     this.requestTokenURL,
     this.consumerKey,
     this.consumerSecret,
-    this.signatureMethod);
+    this.signatureMethod,
+    undefined,
+    undefined,
+    { &quot;oauth_callback&quot;: oauth_callback } );
 };
 
 /**
  * Return the params for the OAuth Request Token URL.
  *
+ * @param oauth_callback [OPTIONAL] String - Callback url to bind the
+ *        request token to. This will be used when the authorization
+ *        step has been completed.
  * @return Object An associative object containing the params and
  * values for a Request Token URL.
  * @see http://fireeagle.yahoo.net/developer/documentation/usingoauth
  */
-FireEagle.prototype.getRequestTokenParams = function() {
+FireEagle.prototype.getRequestTokenParams = function(oauth_callback) {
+  // default oauth_callback to 'oob'
+  if (oauth_callback === undefined || oauth_callback == &quot;&quot;) {
+    oauth_callback = &quot;oob&quot;;
+  }
+
   return OAuth.getParams(&quot;GET&quot;,
     this.requestTokenURL,
     this.consumerKey,
     this.consumerSecret,
-    this.signatureMethod);
+    this.signatureMethod,
+    undefined,
+    undefined,
+    { &quot;oauth_callback&quot;: oauth_callback } );
 };
 
 /**
@@ -186,23 +208,28 @@ FireEagle.prototype.getAuthorizeParams = function() {
 /**
  * Return an OAuth Access Token URL.
  *
+ * @param oauth_verifier String - oauth_verifier provided by Fire
+ *        Eagle, either in the callback url or displayed to the user.
  * @return String The Access Token URL. Store the return values per
  * user for subsequent API calls.
  * @see http://fireeagle.yahoo.net/developer/documentation/usingoauth
  */
-FireEagle.prototype.getAccessUrl = function() {
+FireEagle.prototype.getAccessUrl = function(oauth_verifier) {
   return OAuth.getUrl(&quot;GET&quot;,
     this.accessTokenURL,
     this.consumerKey,
     this.consumerSecret,
     this.signatureMethod,
     this.oauthToken,
-    this.oauthTokenSecret);
+    this.oauthTokenSecret,
+    { &quot;oauth_verifier&quot;: oauth_verifier } );
 };
 
 /**
  * Return the params for an OAuth Access Token URL.
  *
+ * @param oauth_verifier String - oauth_verifier provided by Fire
+ *        Eagle, either in the callback url or displayed to the user.
  * @return Object An associative object containing the param and
  * value for an Access Token URL.  Store the return values per user
  * for subsequent API calls.
@@ -215,7 +242,8 @@ FireEagle.prototype.getAccessParams = function() {
     this.consumerSecret,
     this.signatureMethod,
     this.oauthToken,
-    this.oauthTokenSecret);
+    this.oauthTokenSecret,
+    { &quot;oauth_verifier&quot;: oauth_verifier } );
 };
 
 /**</diff>
      <filename>lib/fe.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4f09c6fc58cec43a6ada847c1c948edb55470bea</id>
    </parent>
  </parents>
  <author>
    <name>Seth Fitzsimmons</name>
    <email>seth@mojodna.net</email>
  </author>
  <url>http://github.com/fireeagle/fireeagle-javascript-lib/commit/053c6c45b4f0fa23b078e6c305f6bc79d29f8b52</url>
  <id>053c6c45b4f0fa23b078e6c305f6bc79d29f8b52</id>
  <committed-date>2009-05-28T16:35:52-07:00</committed-date>
  <authored-date>2009-05-28T16:21:10-07:00</authored-date>
  <message>support for OAuth 1.0a</message>
  <tree>b782f49bc707632fce02c213ed1ba5b20f3c4d58</tree>
  <committer>
    <name>Seth Fitzsimmons</name>
    <email>seth@mojodna.net</email>
  </committer>
</commit>
