Skip to content

Commit e4cd966

Browse files
ChrisJBurnsclaude
andcommitted
Fix struct alignment and regenerate CLI docs
- Align RegistryOAuthConfig struct fields after ClientSecret removal - Regenerate CLI docs for set-registry-auth command Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent d055238 commit e4cd966

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

docs/cli/thv_config_set-registry-auth.md

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/config.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ type RegistryAuth struct {
6363
// RegistryOAuthConfig holds OAuth/OIDC configuration for registry authentication.
6464
// PKCE (S256) is always enforced per OAuth 2.1 requirements for public clients.
6565
type RegistryOAuthConfig struct {
66-
Issuer string `yaml:"issuer"`
67-
ClientID string `yaml:"client_id"`
68-
Scopes []string `yaml:"scopes,omitempty"`
69-
Audience string `yaml:"audience,omitempty"`
70-
CallbackPort int `yaml:"callback_port,omitempty"`
66+
Issuer string `yaml:"issuer"`
67+
ClientID string `yaml:"client_id"`
68+
Scopes []string `yaml:"scopes,omitempty"`
69+
Audience string `yaml:"audience,omitempty"`
70+
CallbackPort int `yaml:"callback_port,omitempty"`
7171

7272
// Cached token references for session restoration across CLI invocations.
7373
CachedRefreshTokenRef string `yaml:"cached_refresh_token_ref,omitempty"`

0 commit comments

Comments
 (0)