Description of changes: Continue to refresh credentials in the future if an refresh attempt fails to avoid never regaining valid credentials in the future. Avoid attempting to use junk credentials.
Testing performed: Added unit tests to verify these additions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: #7 and #8
Description of changes: Continue to refresh credentials in the future if an refresh attempt fails to avoid never regaining valid credentials in the future. Avoid attempting to use junk credentials.
Testing performed: Added unit tests to verify these additions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.