Directories
¶
| Path | Synopsis |
|---|---|
|
Package credentialsprovider implements MCP tool-level PAT/API-key collection ("Leg 2b"): structurally parallel to oauthprovider, but the "external redirect" is instead a form hosted by the MCP server ITSELF, never a third party's domain.
|
Package credentialsprovider implements MCP tool-level PAT/API-key collection ("Leg 2b"): structurally parallel to oauthprovider, but the "external redirect" is instead a form hosted by the MCP server ITSELF, never a third party's domain. |
|
Package jwtvalidator implements stateless OIDC/JWKS-based JWT verification for MCP server session auth ("Leg 1").
|
Package jwtvalidator implements stateless OIDC/JWKS-based JWT verification for MCP server session auth ("Leg 1"). |
|
Package middleware implements MCP server session auth ("Leg 1"): an http.Handler-wrapping middleware that validates a Bearer JWT on every request (except explicitly open paths) via a jwtvalidator.Validator, and the OIDC/MCP well-known endpoints an MCP client needs to discover how to authenticate.
|
Package middleware implements MCP server session auth ("Leg 1"): an http.Handler-wrapping middleware that validates a Bearer JWT on every request (except explicitly open paths) via a jwtvalidator.Validator, and the OIDC/MCP well-known endpoints an MCP client needs to discover how to authenticate. |
|
Package oauthprovider implements MCP tool-level third-party OAuth gating ("Leg 2a"): a redirect-based OAuth 2.0 flow that a specific tool call can require before proceeding, using MCP's URL-mode elicitation to present the authorization URL to the human.
|
Package oauthprovider implements MCP tool-level third-party OAuth gating ("Leg 2a"): a redirect-based OAuth 2.0 flow that a specific tool call can require before proceeding, using MCP's URL-mode elicitation to present the authorization URL to the human. |
|
Package store defines the pluggable persistence abstraction used by the oauthprovider and credentialsprovider packages ("Leg 2"): a TokenStore for long-lived, encrypted-at-rest tokens/credentials keyed by OIDC subject, and a PendingStore for short-lived, encrypted, TTL-bound in-flight-flow state with a signal/wait pair used to synchronize a blocked tool call with an out-of-band HTTP callback.
|
Package store defines the pluggable persistence abstraction used by the oauthprovider and credentialsprovider packages ("Leg 2"): a TokenStore for long-lived, encrypted-at-rest tokens/credentials keyed by OIDC subject, and a PendingStore for short-lived, encrypted, TTL-bound in-flight-flow state with a signal/wait pair used to synchronize a blocked tool call with an out-of-band HTTP callback. |
Click to show internal directories.
Click to hide internal directories.