ejholmes/restforce — pull request #84 by tjwp-yesware (2013-08-27 00:40:02+00:00)
Title: Add authentication_callback option

We have a requirement to immediately persist an update access token because another process may need to make a request and we do not want to take the time to repeat the authentication. This change makes it easy to fulfill that requirement.

After a successful authentication, the callback Proc is called with the response body. This can be used to store the updated access_token and/or instance_url after authentication.