Created
December 7, 2017 17:23
-
-
Save nderkach/573367b4683a5275487d534d669e0749 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service.configure("**") { | |
// Retry requests on auth failure | |
$0.decorateRequests { | |
self.refreshTokenOnAuthFailure(request: $1) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment