Skip to content

Commit 43eb8dc

Browse files
committed
Remove unused field from McpAuthenticationHandler
1 parent 72a36be commit 43eb8dc

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/ModelContextProtocol.AspNetCore/Authentication/McpAuthenticationHandler.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ namespace ModelContextProtocol.AspNetCore.Authentication;
1313
/// </summary>
1414
public class McpAuthenticationHandler : AuthenticationHandler<McpAuthenticationOptions>, IAuthenticationRequestHandler
1515
{
16-
private readonly IOptionsMonitor<McpAuthenticationOptions> _optionsMonitor;
17-
1816
/// <summary>
1917
/// Initializes a new instance of the <see cref="McpAuthenticationHandler"/> class.
2018
/// </summary>
@@ -24,7 +22,6 @@ public McpAuthenticationHandler(
2422
UrlEncoder encoder)
2523
: base(options, logger, encoder)
2624
{
27-
_optionsMonitor = options;
2825
}
2926

3027
/// <inheritdoc />

0 commit comments

Comments
 (0)