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)
| 293 | // SetTokenRefresher supplies the refresher used to renew tokens. Because Authentication returns a single shared |
| 294 | // AuthConfig, a refresher set once remains available to every later caller. |
| 295 | func (c *AuthConfig) SetTokenRefresher(refresher gh.TokenRefresher) { |
| 296 | c.refresher = refresher |
| 297 | } |
| 298 | |
| 299 | // ActiveTokenType reports what kind of credential the active token is, so a |
| 300 | // caller that only needs to know that can avoid handling the token. It is |
nothing calls this directly
no outgoing calls
no test coverage detected