Add ability to pass a lambda as a callback when refreshing token
Corrects request code that appends authentication headers instead of overwritting during 401 retry
Corrects request code that appends authentication headers instead of overwritting during 401 retry
Adding debug output
Adding debug output
Removes debug logging, fixes broken retry recursive call so it returns the successful response instead of the 401 unauthorized