(host string)
| 53 | type staticTokenConfig map[string]string |
| 54 | |
| 55 | func (c staticTokenConfig) ActiveTokenWithRefresh(host string) (gh.Credential, gh.RefreshStatus, error) { |
| 56 | return gh.Credential{Token: c[host]}, gh.RefreshStatusUnnecessary, nil |
| 57 | } |
| 58 | |
| 59 | func (c staticTokenConfig) HostForAPIHost(apiHost string) (string, bool) { |
| 60 | return "", false |
nothing calls this directly
no outgoing calls
no test coverage detected