SetTokenRefresher supplies the refresher used to renew tokens. Because Authentication returns a single shared AuthConfig, a refresher set once remains available to every later caller.
(refresher gh.TokenRefresher)
| 305 | // SetTokenRefresher supplies the refresher used to renew tokens. Because Authentication returns a single shared |
| 306 | // AuthConfig, a refresher set once remains available to every later caller. |
| 307 | func (c *AuthConfig) SetTokenRefresher(refresher gh.TokenRefresher) { |
| 308 | c.refresher = refresher |
| 309 | } |
| 310 | |
| 311 | // SetTelemetryRecorder supplies the recorder used to report token refresh attempts. Because Authentication returns a |
| 312 | // single shared AuthConfig, a recorder set once remains available to every later caller. |
nothing calls this directly
no outgoing calls
no test coverage detected