(host string)
| 626 | type tinyConfig map[string]string |
| 627 | |
| 628 | func (c tinyConfig) ActiveTokenWithRefresh(host string) (auth.Credential, auth.RefreshStatus, error) { |
| 629 | return auth.Credential{Token: c[fmt.Sprintf("%s:%s", host, "oauth_token")]}, auth.RefreshStatusUnnecessary, nil |
| 630 | } |
| 631 | |
| 632 | // HostForAPIHost resolves via an "api_host:<apiHost>" key holding the host that |
| 633 | // configured it, mirroring the reverse lookup the real config performs. |
nothing calls this directly
no outgoing calls
no test coverage detected