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

Method GetStore

internal/auth/auth.go:260–262  ·  view source on GitHub ↗

GetStore returns the credential store.

()

Source from the content-addressed store, hash-verified

258
259 creds.AccessToken = token.AccessToken
260 if token.RefreshToken != "" {
261 creds.RefreshToken = token.RefreshToken
262 }
263 if !token.ExpiresAt.IsZero() {
264 creds.ExpiresAt = token.ExpiresAt.Unix()
265 }

Callers 4

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

Calls

no outgoing calls

Tested by 1

TestTokenRefreshOnExpiryFunction · 0.64