MCPcopy Create free account
hub / github.com/modelcontextprotocol/go-sdk / isNonRootHTTPSURL

Function isNonRootHTTPSURL

auth/authorization_code.go:176–182  ·  view source on GitHub ↗
(u string)

Source from the content-addressed store, hash-verified

174}
175
176func isNonRootHTTPSURL(u string) bool {
177 pu, err := url.Parse(u)
178 if err != nil {
179 return false
180 }
181 return pu.Scheme == "https" && pu.Path != ""
182}
183
184// inferApplicationType returns an application type based on the redirect URIs.
185func inferApplicationType(redirectURIs []string) string {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…