refreshTokens

Configures a callback that refreshes a token when the 401 status code is received.