Skip to content

Commit 1a1e48c

Browse files
committed
Remove no longer used entity
1 parent 5c28b62 commit 1a1e48c

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

samples/ProtectedMCPServer/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using Microsoft.AspNetCore.Authentication;
22
using Microsoft.Extensions.Options;
3-
using ModelContextProtocol.AspNetCore.Auth;
43
using ModelContextProtocol.Protocol.Types;
54
using System.Security.Claims;
65
using System.Text.Encodings.Web;
@@ -79,7 +78,6 @@
7978
var app = builder.Build();
8079

8180
app.UseAuthentication();
82-
app.UseMcpAuthenticationResponse();
8381
app.UseAuthorization();
8482

8583
// Map MCP endpoints with authorization

src/ModelContextProtocol.AspNetCore/Auth/McpWebApplicationExtensions.cs

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)