From bd2b3f10a39516792a66045af52613cebf980563 Mon Sep 17 00:00:00 2001 From: Tracy Boehrer Date: Mon, 29 Jul 2024 16:05:19 -0500 Subject: [PATCH] Removed unused argument from FederatedAuthenticator.CreateClientApplication --- .../Authentication/FederatedAuthenticator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Microsoft.Bot.Connector/Authentication/FederatedAuthenticator.cs b/libraries/Microsoft.Bot.Connector/Authentication/FederatedAuthenticator.cs index c09ba8439b..25ba359d80 100644 --- a/libraries/Microsoft.Bot.Connector/Authentication/FederatedAuthenticator.cs +++ b/libraries/Microsoft.Bot.Connector/Authentication/FederatedAuthenticator.cs @@ -49,7 +49,7 @@ public FederatedAuthenticator(string appId, string clientId, string authority, s _scope = scope; _clientId = clientId; _logger = logger ?? NullLogger.Instance; - _clientApplication = CreateClientApplication(appId, authority, customHttpClient); + _clientApplication = CreateClientApplication(appId, customHttpClient); _managedIdentityClientAssertion = new ManagedIdentityClientAssertion(_clientId); } @@ -109,7 +109,7 @@ private RetryParams HandleTokenProviderException(Exception e, int retryCount) return RetryParams.DefaultBackOff(retryCount); } - private IConfidentialClientApplication CreateClientApplication(string appId, string authority, HttpClient customHttpClient = null) + private IConfidentialClientApplication CreateClientApplication(string appId, HttpClient customHttpClient = null) { _logger.LogDebug($"CreateClientApplication for appId={appId}");