Documentation
¶
Overview ¶
Package config holds the configuration types an MCP resource server embeds into its own configuration struct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthInfo ¶
type OAuthInfo struct {
// Resource is this RS's resource identifier (RFC 8707 aud / RFC 9728 resource).
Resource string
// AuthorizationServer is the AS issuer URL advertised in discovery.
AuthorizationServer string
// Scope is advertised in the WWW-Authenticate challenge (may be empty).
Scope string
}
OAuthInfo holds an MCP service's OAuth 2.1 Resource Server settings. These only feed RFC 9728 discovery, the WWW-Authenticate challenge, and the aud forwarded to proxy-auth — the service never verifies tokens locally.
Click to show internal directories.
Click to hide internal directories.