Skip to content

Commit 84b07cc

Browse files
committed
test
1 parent dea0f67 commit 84b07cc

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

BankApi.Mcp/Builder.MCP.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,6 @@ public static async Task<IServiceCollection> AddMCPService(this IServiceCollecti
1515
var openApiPath = Path.Combine(AppContext.BaseDirectory, $"openapi_{apiVersion}.json");
1616
var tenantId = "b81eb003-1c5c-45fd-848f-90d9d3f8d016";
1717

18-
services.AddScoped(sp =>
19-
{
20-
return new OAuthAuthorizationCodeAuthentication(
21-
clientId: "b6997777-3799-4c55-b78a-4ce96e3d959c",
22-
clientSecret: "fQB8Q~GkKsBaQFKnrTLEGXpRHWejyASJB6ZMGba~",
23-
authorizationEndpoint: $"https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authorize",
24-
tokenEndpoint: $"https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
25-
scope: "b6997777-3799-4c55-b78a-4ce96e3d959c/.default",
26-
secureTokenStore: sp.GetRequiredService<ISecureTokenStore>(),
27-
mcpContextAccessor: sp.GetRequiredService<IMcpContextAccessor>(),
28-
redirectUri: $"{mcpServerBaseUrl}/auth/callback",
29-
usePkce: true
30-
);
31-
});
32-
3318
services.AddScoped(sp =>
3419
{
3520
return new ApiKeyAuthentication(

0 commit comments

Comments
 (0)