2 minor code changes #65

Open
wants to merge 3 commits into
from
Commits on Sep 1, 2011
  1. issue #20: returned results to the callback along with access_token a…

    gidzone committed Sep 1, 2011
    …nd refresh_token
    
    Other implementations return more than just access_token and the
    refresh_token.  For example, salesforce returns the instance url.
  2. Handle the 302 response like the 200.

    gidzone committed Sep 1, 2011
    Salesforce returns at 302 with its oath flow.  Handle the 302 status
    code like the 200.
Commits on Sep 5, 2011
  1. added delete results["access_token"];

    gidzone committed Sep 5, 2011
    added delete results["access_token"];
    
    Added delete results["access_token"]; to stay consistent with delete
    results["refresh_token"];