MCPcopy Create free account
hub / github.com/basecamp/hey-cli / CredentialKey

Method CredentialKey

internal/auth/auth.go:265–267  ·  view source on GitHub ↗

CredentialKey returns the base URL used as the credential storage key.

()

Source from the content-addressed store, hash-verified

263
264// CredentialKey returns the base URL used as the credential storage key.
265func (m *Manager) CredentialKey() string {
266 return m.baseURL
267}
268
269func (m *Manager) waitForCallback(ctx context.Context, expectedState, authURL, callbackAddr string, opts LoginOptions) (string, error) {
270 lc := net.ListenConfig{}

Callers 4

TestTokenRefreshOnExpiryFunction · 0.80
newAuthStatusCommandFunction · 0.80
migrateOldCredentialsFunction · 0.80
runDoctorChecksFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestTokenRefreshOnExpiryFunction · 0.64