File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/ModelContextProtocol.AspNetCore/Auth Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 11using Microsoft . AspNetCore . Authentication ;
22using Microsoft . Extensions . Logging ;
33using Microsoft . Extensions . Options ;
4- using System ;
54using System . Text . Encodings . Web ;
6- using System . Threading . Tasks ;
75
86namespace ModelContextProtocol . AspNetCore . Auth ;
97
@@ -12,19 +10,15 @@ namespace ModelContextProtocol.AspNetCore.Auth;
1210/// </summary>
1311public class McpAuthenticationHandler : AuthenticationHandler < McpAuthenticationOptions >
1412{
15- private readonly ResourceMetadataService _resourceMetadataService ;
16-
1713 /// <summary>
1814 /// Initializes a new instance of the <see cref="McpAuthenticationHandler"/> class.
1915 /// </summary>
2016 public McpAuthenticationHandler (
2117 IOptionsMonitor < McpAuthenticationOptions > options ,
2218 ILoggerFactory logger ,
23- UrlEncoder encoder ,
24- ResourceMetadataService resourceMetadataService )
19+ UrlEncoder encoder )
2520 : base ( options , logger , encoder )
2621 {
27- _resourceMetadataService = resourceMetadataService ;
2822 }
2923
3024 /// <inheritdoc />
You can’t perform that action at this time.
0 commit comments