## Summary Move the publisher CLI from `tools/publisher/` to `cmd/publisher/` as it's a proper application rather than a development utility. This addresses feedback from @rdimitrov in PR #324 that the publisher CLI should be under `cmd/` since it's not really a tool in the same sense as other helpers in the `tools/` folder. ## Changes - Moved `tools/publisher/` directory to `cmd/publisher/` - Updated Makefile build and clean targets - Updated README.md documentation links - Updated VS Code launch configuration - Updated integration test script - Updated FAQ documentation - Fixed Go import paths in publisher code --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: adam jones <domdomegg@users.noreply.github.com>
22 lines
462 B
Go
22 lines
462 B
Go
package auth
|
|
|
|
type HTTPProvider struct {
|
|
*CryptoProvider
|
|
}
|
|
|
|
// NewHTTPProvider creates a new HTTP-based auth provider
|
|
func NewHTTPProvider(registryURL, domain, hexSeed string) Provider {
|
|
return &HTTPProvider{
|
|
CryptoProvider: &CryptoProvider{
|
|
registryURL: registryURL,
|
|
domain: domain,
|
|
hexSeed: hexSeed,
|
|
authMethod: "http",
|
|
},
|
|
}
|
|
}
|
|
|
|
// Name returns the name of this auth provider
|
|
func (h *HTTPProvider) Name() string {
|
|
return "http"
|
|
}
|