Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port: Obsolete classes for future deprecation #4149

Merged
merged 5 commits into from
Mar 17, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libraries/botbuilder-core/src/extendedUserTokenProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down
2 changes: 2 additions & 0 deletions libraries/botbuilder-core/src/userTokenProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { TokenResponse } from 'botframework-schema';

/**
* Interface for User Token OAuth APIs for BotAdapters
*
* @obsolete Use `UserTokenClient` instead.
*/
export interface IUserTokenProvider {
/**
Expand Down
2 changes: 2 additions & 0 deletions libraries/botbuilder-dialogs/src/dialogManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions libraries/botbuilder/src/inspectionMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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 {
/**
Expand Down