MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / buildAuthURL

Function buildAuthURL

cmd/login.go:420–425  ·  view source on GitHub ↗
(state, returnURI string)

Source from the content-addressed store, hash-verified

418}
419
420func buildAuthURL(state, returnURI string) string {
421 params := url.Values{}
422 params.Add("state", state)
423 params.Add("return_uri", returnURI)
424 return fmt.Sprintf("%s?%s", authURL, params.Encode())
425}
426
427func startCallbackServerWithContext(ctx context.Context) (int, <-chan AuthResponse, <-chan error, func(), error) {
428 listener, err := net.Listen("tcp", "127.0.0.1:0")

Callers 2

TestBuildAuthURLFunction · 0.85
runInteractiveLoginFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestBuildAuthURLFunction · 0.68