This package will hold externally visible parts of internal/oauthex. For now, just add an alias to the ProtectedResourceMetadata struct. This lets one write MCP-compliant servers.
10 lines
371 B
Go
10 lines
371 B
Go
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
|
|
// Use of this source code is governed by an MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Package oauthex implements extensions to OAuth2.
|
|
package oauthex
|
|
|
|
import "github.com/modelcontextprotocol/go-sdk/internal/oauthex"
|
|
|
|
type ProtectedResourceMetadata = oauthex.ProtectedResourceMetadata
|