SetTokenRefresher supplies the refresher used to renew tokens. It is provided after construction because the refresher depends on the plain HTTP client, which is only available once the command factory has assembled its dependencies.
(refresher TokenRefresher)
| 312 | // refresher depends on the plain HTTP client, which is only available once the command factory has assembled its |
| 313 | // dependencies. |
| 314 | SetTokenRefresher(refresher TokenRefresher) |
| 315 | |
| 316 | // The following methods are only for testing and that is a design smell we should consider fixing. |
| 317 |
no outgoing calls