MCPcopy Index your code
hub / github.com/docker/cli / API

Struct API

internal/oauth/api/api.go:29–36  ·  view source on GitHub ↗

API represents API interactions with Auth0.

Source from the content-addressed store, hash-verified

27
28// API represents API interactions with Auth0.
29type API struct {
30 // TenantURL is the base used for each request to Auth0.
31 TenantURL string
32 // ClientID is the client ID for the application to auth with the tenant.
33 ClientID string
34 // Scopes are the scopes that are requested during the device auth flow.
35 Scopes []string
36}
37
38// TokenResponse represents the response of the /oauth/token route.
39type TokenResponse struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected