Skip to content

Commit 008f521

Browse files
committed
Move to its own file.
1 parent 1a1e48c commit 008f521

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

src/ModelContextProtocol.AspNetCore/Auth/McpAuthenticationHandler.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,3 @@ protected override Task HandleChallengeAsync(AuthenticationProperties properties
6464
return base.HandleChallengeAsync(properties);
6565
}
6666
}
67-
68-
/// <summary>
69-
/// Options for the MCP authentication handler.
70-
/// </summary>
71-
public class McpAuthenticationOptions : AuthenticationSchemeOptions
72-
{
73-
/// <summary>
74-
/// The URI to the resource metadata document.
75-
/// </summary>
76-
public Uri? ResourceMetadataUri { get; set; }
77-
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using Microsoft.AspNetCore.Authentication;
2+
3+
namespace ModelContextProtocol.AspNetCore.Auth;
4+
5+
/// <summary>
6+
/// Options for the MCP authentication handler.
7+
/// </summary>
8+
public class McpAuthenticationOptions : AuthenticationSchemeOptions
9+
{
10+
/// <summary>
11+
/// The URI to the resource metadata document.
12+
/// </summary>
13+
public Uri? ResourceMetadataUri { get; set; }
14+
}

0 commit comments

Comments
 (0)