Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/go-sdk
/ Error
Method
Error
oauthex/oauth2.go:26–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
}
25
26
func
(e *httpStatusError) Error() string {
27
return
fmt.Sprintf(
"bad status %d"
, e.StatusCode)
28
}
29
30
// getJSON retrieves JSON and unmarshals JSON from the URL, as specified in both
31
// RFC 9728 and RFC 8414.
Callers
15
TestValidateAuthServerMetaURLs
Function · 0.45
TestValidateClientRegistrationURLs
Function · 0.45
TestGetAuthServerMetaRejectsDangerousURLs
Function · 0.45
TestGetProtectedResourceMetadataRejectsDangerousURLs
Function · 0.45
TestRegisterClientRejectsDangerousURLs
Function · 0.45
handleMCP
Method · 0.45
handleProtectedResourceMetadata
Method · 0.45
handleServerMetadata
Method · 0.45
handleDynamicClientRegistration
Method · 0.45
handleToken
Method · 0.45
handleAuthorize
Method · 0.45
TestClientCredentials_Validate
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestValidateAuthServerMetaURLs
Function · 0.36
TestValidateClientRegistrationURLs
Function · 0.36
TestGetAuthServerMetaRejectsDangerousURLs
Function · 0.36
TestGetProtectedResourceMetadataRejectsDangerousURLs
Function · 0.36
TestRegisterClientRejectsDangerousURLs
Function · 0.36
handleMCP
Method · 0.36
handleProtectedResourceMetadata
Method · 0.36
handleServerMetadata
Method · 0.36
handleDynamicClientRegistration
Method · 0.36
handleToken
Method · 0.36
handleAuthorize
Method · 0.36
TestClientCredentials_Validate
Function · 0.36