From 4f197bc3b401a5c34e3fc25242b79ff893a9ee47 Mon Sep 17 00:00:00 2001 From: Robert Findley Date: Mon, 8 Sep 2025 13:36:50 -0400 Subject: [PATCH] internal/oauthex: fix license headers (#430) 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. A subsequent PR will add a lint check to prevent this in the future. --- 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 1d6deb9..1f075f8 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 724c78f..b83402f 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 cf06ab3..de16449 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 92017f8..9c3da15 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 3818d86..71d52cd 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.