Refresh exchanges the given refresh token for a renewed credential on the given hostname.
(refreshToken string, hostname string)
| 215 | type TokenRefresher interface { |
| 216 | // Refresh exchanges the given refresh token for a renewed credential on the given hostname. |
| 217 | Refresh(refreshToken string, hostname string) (RefreshableCredential, error) |
| 218 | } |
| 219 | |
| 220 | // AuthConfig is used for interacting with some persistent configuration for gh, |
no outgoing calls
no test coverage detected