oauthex: new package for oauth extensions (#429)
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.
This commit is contained in:
parent
140b93980c
commit
208bfe25fd
1 changed files with 20 additions and 2 deletions
10
oauthex/oauthex.go
Normal file
10
oauthex/oauthex.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// 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
|
||||
Loading…
Reference in a new issue