all: stabilize client OAuth support (#861)
Also fix lint errors that were hidden because of the build tag.
This commit is contained in:
parent
c1a12cfeda
commit
638d404e0d
2 changed files with 387 additions and 915 deletions
|
|
@ -2,8 +2,6 @@
|
|||
// Use of this source code is governed by the license
|
||||
// that can be found in the LICENSE file.
|
||||
|
||||
//go:build mcp_go_client_oauth
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
@ -29,7 +27,6 @@ var (
|
|||
type codeReceiver struct {
|
||||
authChan chan *auth.AuthorizationResult
|
||||
errChan chan error
|
||||
listener net.Listener
|
||||
server *http.Server
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@
|
|||
// Use of this source code is governed by the license
|
||||
// that can be found in the LICENSE file.
|
||||
|
||||
//go:build mcp_go_client_oauth
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
@ -45,7 +43,6 @@ var (
|
|||
type codeReceiver struct {
|
||||
authChan chan *auth.AuthorizationResult
|
||||
errChan chan error
|
||||
listener net.Listener
|
||||
server *http.Server
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue