MCPcopy Create free account
hub / github.com/cli/cli / ActiveToken

Method ActiveToken

api/http_client.go:23–23  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

21// expiring token.
22type config interface {
23 ActiveToken(string) (string, string)
24 HostForAPIHost(string) (string, bool)
25}
26

Callers 11

refreshRunFunction · 0.65
Test_refreshRunFunction · 0.65
getTokenReadOnlyFunction · 0.65
AuthTokenWriteableFunction · 0.65
resolveCredentialFunction · 0.65
hasNoTokenFunction · 0.65
hasActiveTokenFunction · 0.65
requireOAuthTokenFunction · 0.65
getRunFunction · 0.65
AddAuthTokenHeaderFunction · 0.65

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls

Tested by 4

Test_refreshRunFunction · 0.52
hasNoTokenFunction · 0.52
hasActiveTokenFunction · 0.52