Skip to content

Commit afd05af

Browse files
committed
Cleanup
1 parent 51bb38b commit afd05af

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

samples/ProtectedMCPClient/SimpleAccessTokenProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public SimpleAccessTokenProvider(string apiKey, Uri serverUrl)
2222
/// <inheritdoc />
2323
public Task<string?> GetAuthenticationTokenAsync(Uri resourceUri, CancellationToken cancellationToken = default)
2424
{
25+
Console.WriteLine("Tried to get a token!");
2526
// In a real implementation, you might use different tokens for different resources,
2627
// or refresh tokens when they're about to expire
2728
return Task.FromResult<string?>(_apiKey);

src/ModelContextProtocol/Authentication/AuthenticationDelegatingHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Net.Http;
21
using System.Net.Http.Headers;
32

43
namespace ModelContextProtocol.Authentication;

0 commit comments

Comments
 (0)