code: function(url)
      {
        //Parse the redirected url
        return provider.authorization_done(opt, url, window, function()
        {
          //Destroy the window
          window.destroy();
  
          //Get the arguments
          var args = [].slice.call(arguments);
  
          //Do the callback with the provided arguments
          return cb.apply(null, args);
        });
      }
docs: Handle the callback