From f20e477541382e7b27b7e844509417a66522dfc7 Mon Sep 17 00:00:00 2001 From: Rob Findley Date: Mon, 8 Sep 2025 17:32:20 +0000 Subject: [PATCH] internal/oauthex: fix license headers The files in the oauthex package used the default Go license header, rather than the MCP SDK license header (an accident of tooling). We should fix this while jba@google.com is the only author of this code. --- internal/oauthex/auth_meta.go | 4 ++-- internal/oauthex/auth_meta_test.go | 4 ++-- internal/oauthex/oauth2.go | 4 ++-- internal/oauthex/oauth2_test.go | 4 ++-- internal/oauthex/resource_meta.go | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/internal/oauthex/auth_meta.go b/internal/oauthex/auth_meta.go index 1d6deb90..1f075f8a 100644 --- a/internal/oauthex/auth_meta.go +++ b/internal/oauthex/auth_meta.go @@ -1,5 +1,5 @@ -// Copyright 2025 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style +// 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. // This file implements Authorization Server Metadata. diff --git a/internal/oauthex/auth_meta_test.go b/internal/oauthex/auth_meta_test.go index 724c78f9..b83402f2 100644 --- a/internal/oauthex/auth_meta_test.go +++ b/internal/oauthex/auth_meta_test.go @@ -1,5 +1,5 @@ -// Copyright 2025 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style +// 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 diff --git a/internal/oauthex/oauth2.go b/internal/oauthex/oauth2.go index cf06ab39..de164499 100644 --- a/internal/oauthex/oauth2.go +++ b/internal/oauthex/oauth2.go @@ -1,5 +1,5 @@ -// Copyright 2025 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style +// 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. diff --git a/internal/oauthex/oauth2_test.go b/internal/oauthex/oauth2_test.go index 92017f81..9c3da156 100644 --- a/internal/oauthex/oauth2_test.go +++ b/internal/oauthex/oauth2_test.go @@ -1,5 +1,5 @@ -// Copyright 2025 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style +// 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 diff --git a/internal/oauthex/resource_meta.go b/internal/oauthex/resource_meta.go index 3818d860..71d52cde 100644 --- a/internal/oauthex/resource_meta.go +++ b/internal/oauthex/resource_meta.go @@ -1,5 +1,5 @@ -// Copyright 2025 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style +// 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. // This file implements Protected Resource Metadata.