From 60d4c0dcb06ebc4334089cde94c1ab49d0800011 Mon Sep 17 00:00:00 2001 From: Monica Rivera Date: Tue, 8 Mar 2022 18:15:54 -0800 Subject: [PATCH 1/3] Add Obsolete decorator to ExtendedUserTokenProvider and IUserTokeProvider --- libraries/botbuilder-core/src/extendedUserTokenProvider.ts | 2 ++ libraries/botbuilder-core/src/userTokenProvider.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libraries/botbuilder-core/src/extendedUserTokenProvider.ts b/libraries/botbuilder-core/src/extendedUserTokenProvider.ts index 3cd29ca48f..0eab40bae0 100644 --- a/libraries/botbuilder-core/src/extendedUserTokenProvider.ts +++ b/libraries/botbuilder-core/src/extendedUserTokenProvider.ts @@ -13,6 +13,8 @@ import { SignInUrlResponse, TokenResponse, TokenExchangeRequest } from 'botframe /** * Interface for User Token OAuth Single Sign On and Token Exchange APIs for BotAdapters + * + * @obsolete Use `UserTokenClient` instead. */ export interface ExtendedUserTokenProvider extends IUserTokenProvider { /** diff --git a/libraries/botbuilder-core/src/userTokenProvider.ts b/libraries/botbuilder-core/src/userTokenProvider.ts index 2a5c7510f1..7f9cd11dd3 100644 --- a/libraries/botbuilder-core/src/userTokenProvider.ts +++ b/libraries/botbuilder-core/src/userTokenProvider.ts @@ -11,6 +11,8 @@ import { TokenResponse } from 'botframework-schema'; /** * Interface for User Token OAuth APIs for BotAdapters + * + * @obsolete Use `UserTokenClient` instead. */ export interface IUserTokenProvider { /** From b48a7fa9c279b8927066f712d2909e7f146508b8 Mon Sep 17 00:00:00 2001 From: Monica Rivera Date: Tue, 8 Mar 2022 18:18:00 -0800 Subject: [PATCH 2/3] Add Obsolete decorator to DialogManager --- libraries/botbuilder-dialogs/src/dialogManager.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/botbuilder-dialogs/src/dialogManager.ts b/libraries/botbuilder-dialogs/src/dialogManager.ts index e275084ad8..6a5885442e 100644 --- a/libraries/botbuilder-dialogs/src/dialogManager.ts +++ b/libraries/botbuilder-dialogs/src/dialogManager.ts @@ -61,6 +61,8 @@ export interface DialogManagerConfiguration { /** * Class which runs the dialog system. + * + * @obsolete This class will be deprecated. */ export class DialogManager extends Configurable { private _rootDialogId: string; From 4848822e7b37f13767ff13c3d555d419ba286df8 Mon Sep 17 00:00:00 2001 From: Monica Rivera Date: Tue, 8 Mar 2022 18:22:32 -0800 Subject: [PATCH 3/3] Obsolete sidecar debugging classes --- libraries/botbuilder/src/inspectionMiddleware.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/botbuilder/src/inspectionMiddleware.ts b/libraries/botbuilder/src/inspectionMiddleware.ts index 261278b9b7..b3af0b721c 100644 --- a/libraries/botbuilder/src/inspectionMiddleware.ts +++ b/libraries/botbuilder/src/inspectionMiddleware.ts @@ -169,6 +169,7 @@ abstract class InterceptionMiddleware implements Middleware { * @remarks * InspectionMiddleware for emulator inspection of runtime Activities and BotState. * + * @obsolete This class will be removed in a future version of the framework. */ export class InspectionMiddleware extends InterceptionMiddleware { private static readonly command = '/INSPECT'; @@ -444,6 +445,7 @@ class InspectionSessionsByStatus { * @remarks * InspectionState for use by the InspectionMiddleware for emulator inspection of runtime Activities and BotState. * + * @obsolete This class will be removed in a future version of the framework. */ export class InspectionState extends BotState { /**