From 4d585c8a225320c6cc249c3cc9a9e82f6f12afb2 Mon Sep 17 00:00:00 2001 From: CeciliaAvila Date: Wed, 6 Nov 2024 14:13:15 -0300 Subject: [PATCH] Tag MsalServiceClientCredentialsFactory deprecated --- .../src/auth/msalServiceClientCredentialsFactory.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/botframework-connector/src/auth/msalServiceClientCredentialsFactory.ts b/libraries/botframework-connector/src/auth/msalServiceClientCredentialsFactory.ts index 997915d4c7..57e05a4a17 100644 --- a/libraries/botframework-connector/src/auth/msalServiceClientCredentialsFactory.ts +++ b/libraries/botframework-connector/src/auth/msalServiceClientCredentialsFactory.ts @@ -12,7 +12,9 @@ import { AuthenticationConstants } from './authenticationConstants'; import { GovernmentConstants } from './governmentConstants'; /** - * An implementation of ServiceClientCredentialsFactory that generates MsalAppCredentials + * An implementation of ServiceClientCredentialsFactory that generates MsalAppCredentials. + * + * @deprecated Use the ServiceClientCredentialsFactory implementation that corresponds to the authentication type (MSI, Certificate, Federated, etc.). */ export class MsalServiceClientCredentialsFactory implements ServiceClientCredentialsFactory { private readonly appId: string;