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

Struct AuthFeatures

internal/featuredetection/feature_detection.go:179–183  ·  view source on GitHub ↗

AuthFeatures describes the host's OAuth capabilities.

Source from the content-addressed store, hash-verified

177
178// AuthFeatures describes the host's OAuth capabilities.
179type AuthFeatures struct {
180 // TODO expiringTokensCleanup - remove once GHES 3.22 support ends.
181 // ExpiringTokens indicates support for offline_access, available on GHES 3.23+.
182 ExpiringTokens bool
183}
184
185type detector struct {
186 host string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected