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

Struct AuthFeatures

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

AuthFeatures describes the host's OAuth capabilities.

Source from the content-addressed store, hash-verified

181
182// AuthFeatures describes the host's OAuth capabilities.
183type AuthFeatures struct {
184 // TODO expiringTokensCleanup - remove once GHES 3.22 support ends.
185 // ExpiringTokens indicates support for offline_access, available on GHES 3.23+.
186 ExpiringTokens bool
187}
188
189// EventsFeatures describes the access of the authenticated account to the Event Streams API.
190type EventsFeatures struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected