Skip to content

Commit 4f197bc

Browse files
authored
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 [email protected] is the only author of this code. A subsequent PR will add a lint check to prevent this in the future.
1 parent bae3558 commit 4f197bc

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

internal/oauthex/auth_meta.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright 2025 The Go Authors. All rights reserved.
2-
// Use of this source code is governed by a BSD-style
1+
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
2+
// Use of this source code is governed by an MIT-style
33
// license that can be found in the LICENSE file.
44

55
// This file implements Authorization Server Metadata.

internal/oauthex/auth_meta_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright 2025 The Go Authors. All rights reserved.
2-
// Use of this source code is governed by a BSD-style
1+
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
2+
// Use of this source code is governed by an MIT-style
33
// license that can be found in the LICENSE file.
44

55
package oauthex

internal/oauthex/oauth2.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright 2025 The Go Authors. All rights reserved.
2-
// Use of this source code is governed by a BSD-style
1+
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
2+
// Use of this source code is governed by an MIT-style
33
// license that can be found in the LICENSE file.
44

55
// Package oauthex implements extensions to OAuth2.

internal/oauthex/oauth2_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright 2025 The Go Authors. All rights reserved.
2-
// Use of this source code is governed by a BSD-style
1+
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
2+
// Use of this source code is governed by an MIT-style
33
// license that can be found in the LICENSE file.
44

55
package oauthex

internal/oauthex/resource_meta.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright 2025 The Go Authors. All rights reserved.
2-
// Use of this source code is governed by a BSD-style
1+
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
2+
// Use of this source code is governed by an MIT-style
33
// license that can be found in the LICENSE file.
44

55
// This file implements Protected Resource Metadata.

0 commit comments

Comments
 (0)