]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add user provided auth mode for GOAUTH
authorSam Thanawalla <samthanawalla@google.com>
Tue, 13 Aug 2024 17:40:46 +0000 (17:40 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 15 Nov 2024 16:47:09 +0000 (16:47 +0000)
commit956d4bb9cf47718cdb24f6e34990df47d73b1a69
tree23790d6edaadc2f1bdf09addc93aa63e2583ed9f
parent5030146cfd5196281737b522ca91f2c59354c78b
cmd/go: add user provided auth mode for GOAUTH

This CL adds support for a custom authenticator as a valid GOAUTH command.
This follows the specification in
https://go.dev/issue/26232#issuecomment-461525141

For #26232

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Change-Id: Id1d4b309f11eb9c7ce14793021a9d8caf3b192ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/605298
Auto-Submit: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/auth/auth.go
src/cmd/go/internal/auth/auth_test.go
src/cmd/go/internal/auth/gitauth.go
src/cmd/go/internal/auth/userauth.go [new file with mode: 0644]
src/cmd/go/internal/auth/userauth_test.go [new file with mode: 0644]
src/cmd/go/internal/help/helpdoc.go
src/cmd/go/internal/web/http.go
src/cmd/go/main.go
src/cmd/go/testdata/script/goauth_userauth.txt [new file with mode: 0644]