@microsoft/teamsfx-core 1.16.1 → 1.16.3-alpha.311dfaffe.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/azure-hosting/azureHosting.d.ts.map +1 -1
- package/build/common/azure-hosting/azureHosting.js +3 -3
- package/build/common/azure-hosting/azureHosting.js.map +1 -1
- package/build/common/constants.d.ts +2 -1
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +2 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/featureFlags.d.ts +1 -0
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +5 -1
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/local/localEnvManager.d.ts.map +1 -1
- package/build/common/local/localEnvManager.js +1 -4
- package/build/common/local/localEnvManager.js.map +1 -1
- package/build/common/local/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/local/projectSettingsHelper.js +11 -51
- package/build/common/local/projectSettingsHelper.js.map +1 -1
- package/build/common/localStateProvider.d.ts.map +1 -1
- package/build/common/localStateProvider.js +1 -2
- package/build/common/localStateProvider.js.map +1 -1
- package/build/common/samples-config.json +12 -0
- package/build/common/templates-config.json +2 -2
- package/build/common/tools.d.ts +1 -0
- package/build/common/tools.d.ts.map +1 -1
- package/build/common/tools.js +9 -6
- package/build/common/tools.js.map +1 -1
- package/build/component/code/appSettingUtils.js +2 -2
- package/build/component/code/appSettingUtils.js.map +1 -1
- package/build/component/code/spfxTabCode.d.ts.map +1 -1
- package/build/component/code/spfxTabCode.js +10 -10
- package/build/component/code/spfxTabCode.js.map +1 -1
- package/build/component/core.js +9 -9
- package/build/component/core.js.map +1 -1
- package/build/component/debug.d.ts.map +1 -1
- package/build/component/debug.js +65 -51
- package/build/component/debug.js.map +1 -1
- package/build/component/debugHandler/appManifest.d.ts +1 -1
- package/build/component/debugHandler/appManifest.d.ts.map +1 -1
- package/build/component/debugHandler/appManifest.js +27 -25
- package/build/component/debugHandler/appManifest.js.map +1 -1
- package/build/component/debugHandler/bot.d.ts +0 -1
- package/build/component/debugHandler/bot.d.ts.map +1 -1
- package/build/component/debugHandler/bot.js +36 -31
- package/build/component/debugHandler/bot.js.map +1 -1
- package/build/component/debugHandler/error.d.ts +3 -3
- package/build/component/debugHandler/error.d.ts.map +1 -1
- package/build/component/debugHandler/error.js +14 -14
- package/build/component/debugHandler/error.js.map +1 -1
- package/build/component/debugHandler/index.d.ts +1 -0
- package/build/component/debugHandler/index.d.ts.map +1 -1
- package/build/component/debugHandler/index.js +1 -0
- package/build/component/debugHandler/index.js.map +1 -1
- package/build/component/debugHandler/localEnvProvider.js +1 -1
- package/build/component/debugHandler/localEnvProvider.js.map +1 -1
- package/build/component/debugHandler/sso.d.ts +0 -1
- package/build/component/debugHandler/sso.d.ts.map +1 -1
- package/build/component/debugHandler/sso.js +80 -69
- package/build/component/debugHandler/sso.js.map +1 -1
- package/build/component/debugHandler/tab.d.ts.map +1 -1
- package/build/component/debugHandler/tab.js +11 -12
- package/build/component/debugHandler/tab.js.map +1 -1
- package/build/component/error.d.ts +3 -0
- package/build/component/error.d.ts.map +1 -1
- package/build/component/error.js +11 -1
- package/build/component/error.js.map +1 -1
- package/build/component/feature/api.js +3 -3
- package/build/component/feature/api.js.map +1 -1
- package/build/component/feature/apiconnector/sampleHandler.d.ts.map +1 -1
- package/build/component/feature/apiconnector/sampleHandler.js +2 -2
- package/build/component/feature/apiconnector/sampleHandler.js.map +1 -1
- package/build/component/feature/apiconnector/telemetry.js +2 -2
- package/build/component/feature/apiconnector/telemetry.js.map +1 -1
- package/build/component/feature/apim.d.ts.map +1 -1
- package/build/component/feature/apim.js +3 -3
- package/build/component/feature/apim.js.map +1 -1
- package/build/component/feature/bot.d.ts.map +1 -1
- package/build/component/feature/bot.js +5 -4
- package/build/component/feature/bot.js.map +1 -1
- package/build/component/feature/keyVault.js +2 -2
- package/build/component/feature/keyVault.js.map +1 -1
- package/build/component/feature/spfx.d.ts.map +1 -1
- package/build/component/feature/spfx.js +5 -12
- package/build/component/feature/spfx.js.map +1 -1
- package/build/component/feature/sql.d.ts.map +1 -1
- package/build/component/feature/sql.js +3 -3
- package/build/component/feature/sql.js.map +1 -1
- package/build/component/feature/sso.d.ts.map +1 -1
- package/build/component/feature/sso.js +45 -44
- package/build/component/feature/sso.js.map +1 -1
- package/build/component/feature/tab.js +2 -2
- package/build/component/feature/tab.js.map +1 -1
- package/build/component/migrate.d.ts.map +1 -1
- package/build/component/migrate.js +41 -47
- package/build/component/migrate.js.map +1 -1
- package/build/component/provisionUtils.js +2 -2
- package/build/component/provisionUtils.js.map +1 -1
- package/build/component/questionV3.d.ts +3 -0
- package/build/component/questionV3.d.ts.map +1 -1
- package/build/component/questionV3.js +27 -4
- package/build/component/questionV3.js.map +1 -1
- package/build/component/resource/aadApp/aadApp.d.ts +5 -0
- package/build/component/resource/aadApp/aadApp.d.ts.map +1 -1
- package/build/component/resource/aadApp/aadApp.js +60 -13
- package/build/component/resource/aadApp/aadApp.js.map +1 -1
- package/build/{plugins/resource/aad → component/resource/aadApp}/aadAppClient.d.ts +0 -0
- package/build/component/resource/aadApp/aadAppClient.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/aadAppClient.js +2 -2
- package/build/component/resource/aadApp/aadAppClient.js.map +1 -0
- package/build/{plugins/resource/aad/plugin.d.ts → component/resource/aadApp/aadAppForTeamsImpl.d.ts} +6 -9
- package/build/component/resource/aadApp/aadAppForTeamsImpl.d.ts.map +1 -0
- package/build/{plugins/resource/aad/plugin.js → component/resource/aadApp/aadAppForTeamsImpl.js} +44 -119
- package/build/component/resource/aadApp/aadAppForTeamsImpl.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/aadAppManifestManager.d.ts +0 -0
- package/build/component/resource/aadApp/aadAppManifestManager.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/aadAppManifestManager.js +0 -0
- package/build/component/resource/aadApp/aadAppManifestManager.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/appStudio.d.ts +0 -0
- package/build/component/resource/aadApp/appStudio.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/appStudio.js +1 -1
- package/build/component/resource/aadApp/appStudio.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/constants.d.ts +0 -0
- package/build/component/resource/aadApp/constants.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/constants.js +0 -0
- package/build/component/resource/aadApp/constants.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/errorCodes.d.ts +0 -0
- package/build/component/resource/aadApp/errorCodes.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/errorCodes.js +0 -0
- package/build/component/resource/aadApp/errorCodes.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/errors.d.ts +0 -0
- package/build/component/resource/aadApp/errors.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/errors.js +0 -0
- package/build/component/resource/aadApp/errors.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/graph.d.ts +0 -0
- package/build/component/resource/aadApp/graph.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/graph.js +0 -0
- package/build/component/resource/aadApp/graph.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/AADApplication.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/AADApplication.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/AADApplication.js +0 -0
- package/build/component/resource/aadApp/interfaces/AADApplication.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/AADManifest.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/AADManifest.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/AADManifest.js +0 -0
- package/build/component/resource/aadApp/interfaces/AADManifest.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IAADApplication.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/IAADApplication.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IAADApplication.js +0 -0
- package/build/component/resource/aadApp/interfaces/IAADApplication.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IAADDefinition.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/IAADDefinition.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IAADDefinition.js +0 -0
- package/build/component/resource/aadApp/interfaces/IAADDefinition.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IPermission.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/IPermission.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IPermission.js +0 -0
- package/build/component/resource/aadApp/interfaces/IPermission.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IPermissionList.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/IPermissionList.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/IPermissionList.js +0 -0
- package/build/component/resource/aadApp/interfaces/IPermissionList.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/models.d.ts +0 -0
- package/build/component/resource/aadApp/interfaces/models.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/interfaces/models.js +0 -0
- package/build/component/resource/aadApp/interfaces/models.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/permissions/index.d.ts +0 -0
- package/build/component/resource/aadApp/permissions/index.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/permissions/index.js +1 -1
- package/build/component/resource/aadApp/permissions/index.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/permissions/permissions.json +0 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/results.d.ts +0 -0
- package/build/component/resource/aadApp/results.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/results.js +0 -0
- package/build/component/resource/aadApp/results.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/aadManifestHelper.d.ts +0 -0
- package/build/component/resource/aadApp/utils/aadManifestHelper.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/aadManifestHelper.js +0 -0
- package/build/component/resource/aadApp/utils/aadManifestHelper.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/configs.d.ts +0 -0
- package/build/component/resource/aadApp/utils/configs.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/configs.js +9 -11
- package/build/component/resource/aadApp/utils/configs.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/dialog.d.ts +0 -0
- package/build/component/resource/aadApp/utils/dialog.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/dialog.js +0 -0
- package/build/component/resource/aadApp/utils/dialog.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/format.d.ts +0 -0
- package/build/component/resource/aadApp/utils/format.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/format.js +0 -0
- package/build/component/resource/aadApp/utils/format.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/telemetry.d.ts +0 -0
- package/build/component/resource/aadApp/utils/telemetry.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/telemetry.js +1 -1
- package/build/component/resource/aadApp/utils/telemetry.js.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/tokenProvider.d.ts +0 -0
- package/build/component/resource/aadApp/utils/tokenProvider.d.ts.map +1 -0
- package/build/{plugins/resource/aad → component/resource/aadApp}/utils/tokenProvider.js +5 -5
- package/build/component/resource/aadApp/utils/tokenProvider.js.map +1 -0
- package/build/component/resource/aadApp/utils.d.ts +3 -1
- package/build/component/resource/aadApp/utils.d.ts.map +1 -1
- package/build/component/resource/aadApp/utils.js +165 -1
- package/build/component/resource/aadApp/utils.js.map +1 -1
- package/build/component/resource/apim/config.d.ts.map +1 -1
- package/build/component/resource/apim/config.js +5 -6
- package/build/component/resource/apim/config.js.map +1 -1
- package/build/component/resource/apim/factory.js +2 -2
- package/build/component/resource/apim/factory.js.map +1 -1
- package/build/component/resource/appManifest/appManifest.d.ts +1 -1
- package/build/component/resource/appManifest/appManifest.d.ts.map +1 -1
- package/build/component/resource/appManifest/appManifest.js +3 -3
- package/build/component/resource/appManifest/appManifest.js.map +1 -1
- package/build/component/resource/appManifest/constants.d.ts +1 -0
- package/build/component/resource/appManifest/constants.d.ts.map +1 -1
- package/build/component/resource/appManifest/constants.js +28 -8
- package/build/component/resource/appManifest/constants.js.map +1 -1
- package/build/component/resource/appManifest/utils.d.ts +1 -1
- package/build/component/resource/appManifest/utils.d.ts.map +1 -1
- package/build/component/resource/appManifest/utils.js +4 -6
- package/build/component/resource/appManifest/utils.js.map +1 -1
- package/build/component/resource/azureSql/config.js +3 -3
- package/build/component/resource/azureSql/config.js.map +1 -1
- package/build/component/resource/keyVault.d.ts +2 -0
- package/build/component/resource/keyVault.d.ts.map +1 -1
- package/build/component/resource/keyVault.js +18 -0
- package/build/component/resource/keyVault.js.map +1 -1
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/constants.d.ts +0 -0
- package/build/component/resource/simpleAuth/constants.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/constants.js +0 -0
- package/build/component/resource/simpleAuth/constants.js.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/errors.d.ts +0 -0
- package/build/component/resource/simpleAuth/errors.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/errors.js +0 -0
- package/build/component/resource/simpleAuth/errors.js.map +1 -0
- package/build/component/resource/{simpleAuth.d.ts → simpleAuth/index.d.ts} +1 -1
- package/build/component/resource/simpleAuth/index.d.ts.map +1 -0
- package/build/component/resource/{simpleAuth.js → simpleAuth/index.js} +10 -10
- package/build/component/resource/simpleAuth/index.js.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/result.d.ts +0 -0
- package/build/component/resource/simpleAuth/result.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/result.js +0 -0
- package/build/component/resource/simpleAuth/result.js.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/common.d.ts +0 -0
- package/build/component/resource/simpleAuth/utils/common.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/common.js +0 -0
- package/build/component/resource/simpleAuth/utils/common.js.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/dialog.d.ts +0 -0
- package/build/component/resource/simpleAuth/utils/dialog.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/dialog.js +0 -0
- package/build/component/resource/simpleAuth/utils/dialog.js.map +1 -0
- package/build/{plugins/resource/keyvault → component/resource/simpleAuth}/utils/telemetry.d.ts +0 -0
- package/build/component/resource/simpleAuth/utils/telemetry.d.ts.map +1 -0
- package/build/{plugins/resource/simpleauth → component/resource/simpleAuth}/utils/telemetry.js +0 -0
- package/build/component/resource/simpleAuth/utils/telemetry.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/dependencyChecker.d.ts +0 -0
- package/build/component/resource/spfx/depsChecker/dependencyChecker.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/dependencyChecker.js +0 -0
- package/build/component/resource/spfx/depsChecker/dependencyChecker.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/generatorChecker.d.ts +0 -0
- package/build/component/resource/spfx/depsChecker/generatorChecker.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/generatorChecker.js +16 -7
- package/build/component/resource/spfx/depsChecker/generatorChecker.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/yoChecker.d.ts +0 -0
- package/build/component/resource/spfx/depsChecker/yoChecker.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/depsChecker/yoChecker.js +0 -0
- package/build/component/resource/spfx/depsChecker/yoChecker.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/error.d.ts +0 -0
- package/build/component/resource/spfx/error.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/error.js +5 -4
- package/build/component/resource/spfx/error.js.map +1 -0
- package/build/component/resource/spfx/index.d.ts.map +1 -1
- package/build/component/resource/spfx/index.js +9 -9
- package/build/component/resource/spfx/index.js.map +1 -1
- package/build/{plugins → component}/resource/spfx/spoClient.d.ts +0 -0
- package/build/component/resource/spfx/spoClient.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/spoClient.js +0 -0
- package/build/component/resource/spfx/spoClient.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/constants.d.ts +3 -0
- package/build/component/resource/spfx/utils/constants.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/constants.js +3 -0
- package/build/component/resource/spfx/utils/constants.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/progress-helper.d.ts +0 -0
- package/build/component/resource/spfx/utils/progress-helper.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/progress-helper.js +0 -0
- package/build/component/resource/spfx/utils/progress-helper.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/questions.d.ts +0 -0
- package/build/component/resource/spfx/utils/questions.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/questions.js +8 -2
- package/build/component/resource/spfx/utils/questions.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/telemetry-helper.d.ts +0 -0
- package/build/component/resource/spfx/utils/telemetry-helper.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/telemetry-helper.js +0 -0
- package/build/component/resource/spfx/utils/telemetry-helper.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/telemetryEvents.d.ts +0 -0
- package/build/component/resource/spfx/utils/telemetryEvents.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/telemetryEvents.js +0 -0
- package/build/component/resource/spfx/utils/telemetryEvents.js.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/utils.d.ts +2 -1
- package/build/component/resource/spfx/utils/utils.d.ts.map +1 -0
- package/build/{plugins → component}/resource/spfx/utils/utils.js +9 -4
- package/build/component/resource/spfx/utils/utils.js.map +1 -0
- package/build/core/FxCore.d.ts +10 -44
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +54 -696
- package/build/core/FxCore.js.map +1 -1
- package/build/core/collaborator.d.ts +6 -1
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +75 -23
- package/build/core/collaborator.js.map +1 -1
- package/build/core/environment.d.ts.map +1 -1
- package/build/core/environment.js +2 -7
- package/build/core/environment.js.map +1 -1
- package/build/core/generateAadManifestTemplate.d.ts +1 -1
- package/build/core/generateAadManifestTemplate.d.ts.map +1 -1
- package/build/core/generateAadManifestTemplate.js +11 -14
- package/build/core/generateAadManifestTemplate.js.map +1 -1
- package/build/core/globalVars.d.ts +0 -1
- package/build/core/globalVars.d.ts.map +1 -1
- package/build/core/globalVars.js +1 -5
- package/build/core/globalVars.js.map +1 -1
- package/build/core/index.d.ts +0 -5
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +0 -7
- package/build/core/index.js.map +1 -1
- package/build/core/middleware/MigrationUtils.d.ts +1 -1
- package/build/core/middleware/MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/MigrationUtils.js +2 -2
- package/build/core/middleware/MigrationUtils.js.map +1 -1
- package/build/core/middleware/consolidateLocalRemote.js +1 -1
- package/build/core/middleware/consolidateLocalRemote.js.map +1 -1
- package/build/core/middleware/envInfoLoader.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoader.js +1 -4
- package/build/core/middleware/envInfoLoader.js.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.d.ts.map +1 -1
- package/build/core/middleware/envInfoLoaderV3.js +1 -4
- package/build/core/middleware/envInfoLoaderV3.js.map +1 -1
- package/build/core/middleware/projectMigrator.js +2 -2
- package/build/core/middleware/projectMigrator.js.map +1 -1
- package/build/core/middleware/projectSettingsLoader.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsLoader.js +1 -10
- package/build/core/middleware/projectSettingsLoader.js.map +1 -1
- package/build/core/middleware/projectSettingsWriter.d.ts.map +1 -1
- package/build/core/middleware/projectSettingsWriter.js +1 -3
- package/build/core/middleware/projectSettingsWriter.js.map +1 -1
- package/build/core/middleware/questionModel.d.ts +1 -10
- package/build/core/middleware/questionModel.d.ts.map +1 -1
- package/build/core/middleware/questionModel.js +26 -225
- package/build/core/middleware/questionModel.js.map +1 -1
- package/build/index.d.ts +2 -8
- package/build/index.d.ts.map +1 -1
- package/build/index.js +4 -8
- package/build/index.js.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/appStudio.js +8 -1
- package/build/plugins/resource/appstudio/appStudio.js.map +1 -1
- package/build/plugins/resource/appstudio/errors.d.ts +4 -0
- package/build/plugins/resource/appstudio/errors.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/errors.js +7 -0
- package/build/plugins/resource/appstudio/errors.js.map +1 -1
- package/build/plugins/resource/appstudio/index.js +2 -2
- package/build/plugins/resource/appstudio/index.js.map +1 -1
- package/build/plugins/resource/appstudio/plugin.d.ts.map +1 -1
- package/build/plugins/resource/appstudio/plugin.js +21 -21
- package/build/plugins/resource/appstudio/plugin.js.map +1 -1
- package/build/plugins/resource/appstudio/v2/index.js +2 -2
- package/build/plugins/resource/appstudio/v2/index.js.map +1 -1
- package/build/plugins/resource/bot/configs/teamsBotConfig.js +2 -2
- package/build/plugins/resource/bot/configs/teamsBotConfig.js.map +1 -1
- package/build/plugins/resource/bot/errors.d.ts.map +1 -1
- package/build/plugins/resource/bot/errors.js +2 -2
- package/build/plugins/resource/bot/errors.js.map +1 -1
- package/build/plugins/resource/bot/functionsHostedBot/plugin.js +8 -8
- package/build/plugins/resource/bot/functionsHostedBot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/index.d.ts.map +1 -1
- package/build/plugins/resource/bot/index.js +9 -7
- package/build/plugins/resource/bot/index.js.map +1 -1
- package/build/plugins/resource/bot/plugin.d.ts.map +1 -1
- package/build/plugins/resource/bot/plugin.js +16 -15
- package/build/plugins/resource/bot/plugin.js.map +1 -1
- package/build/plugins/resource/bot/question.d.ts.map +1 -1
- package/build/plugins/resource/bot/question.js +9 -10
- package/build/plugins/resource/bot/question.js.map +1 -1
- package/build/plugins/resource/function/plugin.js +3 -4
- package/build/plugins/resource/function/plugin.js.map +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts +1 -1
- package/build/plugins/resource/function/utils/depsChecker/funcHelper.d.ts.map +1 -1
- package/build/plugins/resource/index.d.ts +0 -5
- package/build/plugins/resource/index.d.ts.map +1 -1
- package/build/plugins/resource/index.js +0 -5
- package/build/plugins/resource/index.js.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts +0 -10
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js +0 -10
- package/build/plugins/solution/fx-solution/ResourcePluginContainer.js.map +1 -1
- package/build/plugins/solution/fx-solution/arm.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/arm.js +15 -15
- package/build/plugins/solution/fx-solution/arm.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts +4 -0
- package/build/plugins/solution/fx-solution/debug/scaffolding.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js +47 -1
- package/build/plugins/solution/fx-solution/debug/scaffolding.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/launchTransparency.d.ts +7 -0
- package/build/plugins/solution/fx-solution/debug/util/launchTransparency.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/launchTransparency.js +52 -0
- package/build/plugins/solution/fx-solution/debug/util/launchTransparency.js.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/ngrok.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/ngrok.js +2 -4
- package/build/plugins/solution/fx-solution/debug/util/ngrok.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/settings.js +2 -2
- package/build/plugins/solution/fx-solution/debug/util/settings.js.map +1 -1
- package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.d.ts +7 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.d.ts.map +1 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.js +553 -0
- package/build/plugins/solution/fx-solution/debug/util/tasksTransparency.js.map +1 -0
- package/build/plugins/solution/fx-solution/utils/backupFiles.js +2 -2
- package/build/plugins/solution/fx-solution/utils/backupFiles.js.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.d.ts.map +1 -1
- package/build/plugins/solution/fx-solution/v2/utils.js.map +1 -1
- package/package.json +9 -23
- package/resource/package.nls.json +8 -6
- package/templates/debug/ngrok.yml +4 -0
- package/templates/fallback/bot.csharp.command-and-response.zip +0 -0
- package/templates/fallback/bot.csharp.default.zip +0 -0
- package/templates/fallback/bot.csharp.notification-function-base.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.csharp.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.csharp.notification-webapi.zip +0 -0
- package/templates/fallback/bot.csharp.workflow.zip +0 -0
- package/templates/fallback/bot.js.command-and-response.zip +0 -0
- package/templates/fallback/bot.js.default.zip +0 -0
- package/templates/fallback/bot.js.m365.zip +0 -0
- package/templates/fallback/bot.js.notification-function-base.zip +0 -0
- package/templates/fallback/bot.js.notification-restify.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.js.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.js.workflow.zip +0 -0
- package/templates/fallback/bot.ts.command-and-response.zip +0 -0
- package/templates/fallback/bot.ts.default.zip +0 -0
- package/templates/fallback/bot.ts.m365.zip +0 -0
- package/templates/fallback/bot.ts.notification-function-base.zip +0 -0
- package/templates/fallback/bot.ts.notification-restify.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-http.zip +0 -0
- package/templates/fallback/bot.ts.notification-trigger-timer.zip +0 -0
- package/templates/fallback/bot.ts.workflow.zip +0 -0
- package/templates/fallback/function-base.js.default.zip +0 -0
- package/templates/fallback/function-base.ts.default.zip +0 -0
- package/templates/fallback/function-triggers.js.HTTPTrigger.zip +0 -0
- package/templates/fallback/function-triggers.ts.HTTPTrigger.zip +0 -0
- package/templates/fallback/tab.csharp.default.zip +0 -0
- package/templates/fallback/tab.csharp.non-sso.zip +0 -0
- package/templates/fallback/tab.js.default.zip +0 -0
- package/templates/fallback/tab.js.m365.zip +0 -0
- package/templates/fallback/tab.js.non-sso.zip +0 -0
- package/templates/fallback/tab.ts.default.zip +0 -0
- package/templates/fallback/tab.ts.m365.zip +0 -0
- package/templates/fallback/tab.ts.non-sso.zip +0 -0
- package/templates/plugins/resource/aad/auth/bot/README.md +202 -124
- package/templates/plugins/resource/aad/auth/bot/js/sso/profileSsoCommandHandler.js +30 -0
- package/templates/plugins/resource/aad/auth/bot/ts/sso/profileSsoCommandHandler.ts +38 -0
- package/templates/plugins/resource/spfx/solution/prereleaseREADME.md +82 -0
- package/build/common/index.d.ts +0 -10
- package/build/common/index.d.ts.map +0 -1
- package/build/common/index.js +0 -15
- package/build/common/index.js.map +0 -1
- package/build/component/resource/simpleAuth.d.ts.map +0 -1
- package/build/component/resource/simpleAuth.js.map +0 -1
- package/build/core/middleware/index.d.ts +0 -11
- package/build/core/middleware/index.d.ts.map +0 -1
- package/build/core/middleware/index.js +0 -14
- package/build/core/middleware/index.js.map +0 -1
- package/build/core/middleware/solutionLoader.d.ts +0 -4
- package/build/core/middleware/solutionLoader.d.ts.map +0 -1
- package/build/core/middleware/solutionLoader.js +0 -34
- package/build/core/middleware/solutionLoader.js.map +0 -1
- package/build/plugins/index.d.ts +0 -3
- package/build/plugins/index.d.ts.map +0 -1
- package/build/plugins/index.js +0 -8
- package/build/plugins/index.js.map +0 -1
- package/build/plugins/resource/aad/aadAppClient.d.ts.map +0 -1
- package/build/plugins/resource/aad/aadAppClient.js.map +0 -1
- package/build/plugins/resource/aad/aadAppManifestManager.d.ts.map +0 -1
- package/build/plugins/resource/aad/aadAppManifestManager.js.map +0 -1
- package/build/plugins/resource/aad/appStudio.d.ts.map +0 -1
- package/build/plugins/resource/aad/appStudio.js.map +0 -1
- package/build/plugins/resource/aad/constants.d.ts.map +0 -1
- package/build/plugins/resource/aad/constants.js.map +0 -1
- package/build/plugins/resource/aad/errorCodes.d.ts.map +0 -1
- package/build/plugins/resource/aad/errorCodes.js.map +0 -1
- package/build/plugins/resource/aad/errors.d.ts.map +0 -1
- package/build/plugins/resource/aad/errors.js.map +0 -1
- package/build/plugins/resource/aad/graph.d.ts.map +0 -1
- package/build/plugins/resource/aad/graph.js.map +0 -1
- package/build/plugins/resource/aad/index.d.ts +0 -32
- package/build/plugins/resource/aad/index.d.ts.map +0 -1
- package/build/plugins/resource/aad/index.js +0 -154
- package/build/plugins/resource/aad/index.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/AADApplication.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/AADApplication.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/AADManifest.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/AADManifest.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/IAADApplication.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/IAADApplication.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/IAADDefinition.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/IAADDefinition.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/IPermission.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/IPermission.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/IPermissionList.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/IPermissionList.js.map +0 -1
- package/build/plugins/resource/aad/interfaces/models.d.ts.map +0 -1
- package/build/plugins/resource/aad/interfaces/models.js.map +0 -1
- package/build/plugins/resource/aad/permissions/index.d.ts.map +0 -1
- package/build/plugins/resource/aad/permissions/index.js.map +0 -1
- package/build/plugins/resource/aad/plugin.d.ts.map +0 -1
- package/build/plugins/resource/aad/plugin.js.map +0 -1
- package/build/plugins/resource/aad/results.d.ts.map +0 -1
- package/build/plugins/resource/aad/results.js.map +0 -1
- package/build/plugins/resource/aad/utils/aadManifestHelper.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/aadManifestHelper.js.map +0 -1
- package/build/plugins/resource/aad/utils/configs.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/configs.js.map +0 -1
- package/build/plugins/resource/aad/utils/dialog.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/dialog.js.map +0 -1
- package/build/plugins/resource/aad/utils/format.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/format.js.map +0 -1
- package/build/plugins/resource/aad/utils/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/telemetry.js.map +0 -1
- package/build/plugins/resource/aad/utils/tokenProvider.d.ts.map +0 -1
- package/build/plugins/resource/aad/utils/tokenProvider.js.map +0 -1
- package/build/plugins/resource/aad/v2/index.d.ts +0 -22
- package/build/plugins/resource/aad/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/aad/v2/index.js +0 -65
- package/build/plugins/resource/aad/v2/index.js.map +0 -1
- package/build/plugins/resource/aad/v3/index.d.ts +0 -22
- package/build/plugins/resource/aad/v3/index.d.ts.map +0 -1
- package/build/plugins/resource/aad/v3/index.js +0 -283
- package/build/plugins/resource/aad/v3/index.js.map +0 -1
- package/build/plugins/resource/keyvault/constants.d.ts +0 -36
- package/build/plugins/resource/keyvault/constants.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/constants.js +0 -43
- package/build/plugins/resource/keyvault/constants.js.map +0 -1
- package/build/plugins/resource/keyvault/index.d.ts +0 -16
- package/build/plugins/resource/keyvault/index.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/index.js +0 -65
- package/build/plugins/resource/keyvault/index.js.map +0 -1
- package/build/plugins/resource/keyvault/plugin.d.ts +0 -7
- package/build/plugins/resource/keyvault/plugin.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/plugin.js +0 -44
- package/build/plugins/resource/keyvault/plugin.js.map +0 -1
- package/build/plugins/resource/keyvault/result.d.ts +0 -9
- package/build/plugins/resource/keyvault/result.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/result.js +0 -35
- package/build/plugins/resource/keyvault/result.js.map +0 -1
- package/build/plugins/resource/keyvault/utils/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/utils/telemetry.js +0 -45
- package/build/plugins/resource/keyvault/utils/telemetry.js.map +0 -1
- package/build/plugins/resource/keyvault/v2/index.d.ts +0 -12
- package/build/plugins/resource/keyvault/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/keyvault/v2/index.js +0 -38
- package/build/plugins/resource/keyvault/v2/index.js.map +0 -1
- package/build/plugins/resource/simpleauth/constants.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/constants.js.map +0 -1
- package/build/plugins/resource/simpleauth/errors.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/errors.js.map +0 -1
- package/build/plugins/resource/simpleauth/index.d.ts +0 -20
- package/build/plugins/resource/simpleauth/index.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/index.js +0 -78
- package/build/plugins/resource/simpleauth/index.js.map +0 -1
- package/build/plugins/resource/simpleauth/plugin.d.ts +0 -14
- package/build/plugins/resource/simpleauth/plugin.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/plugin.js +0 -141
- package/build/plugins/resource/simpleauth/plugin.js.map +0 -1
- package/build/plugins/resource/simpleauth/result.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/result.js.map +0 -1
- package/build/plugins/resource/simpleauth/utils/common.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/utils/common.js.map +0 -1
- package/build/plugins/resource/simpleauth/utils/dialog.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/utils/dialog.js.map +0 -1
- package/build/plugins/resource/simpleauth/utils/telemetry.d.ts +0 -17
- package/build/plugins/resource/simpleauth/utils/telemetry.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/utils/telemetry.js.map +0 -1
- package/build/plugins/resource/simpleauth/v2/index.d.ts +0 -15
- package/build/plugins/resource/simpleauth/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/v2/index.js +0 -47
- package/build/plugins/resource/simpleauth/v2/index.js.map +0 -1
- package/build/plugins/resource/simpleauth/webAppClient.d.ts +0 -31
- package/build/plugins/resource/simpleauth/webAppClient.d.ts.map +0 -1
- package/build/plugins/resource/simpleauth/webAppClient.js +0 -136
- package/build/plugins/resource/simpleauth/webAppClient.js.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/dependencyChecker.d.ts.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/dependencyChecker.js.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.d.ts.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/generatorChecker.js.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/yoChecker.d.ts.map +0 -1
- package/build/plugins/resource/spfx/depsChecker/yoChecker.js.map +0 -1
- package/build/plugins/resource/spfx/error.d.ts.map +0 -1
- package/build/plugins/resource/spfx/error.js.map +0 -1
- package/build/plugins/resource/spfx/index.d.ts +0 -18
- package/build/plugins/resource/spfx/index.d.ts.map +0 -1
- package/build/plugins/resource/spfx/index.js +0 -96
- package/build/plugins/resource/spfx/index.js.map +0 -1
- package/build/plugins/resource/spfx/plugin.d.ts +0 -12
- package/build/plugins/resource/spfx/plugin.d.ts.map +0 -1
- package/build/plugins/resource/spfx/plugin.js +0 -216
- package/build/plugins/resource/spfx/plugin.js.map +0 -1
- package/build/plugins/resource/spfx/spoClient.d.ts.map +0 -1
- package/build/plugins/resource/spfx/spoClient.js.map +0 -1
- package/build/plugins/resource/spfx/utils/constants.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/constants.js.map +0 -1
- package/build/plugins/resource/spfx/utils/progress-helper.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/progress-helper.js.map +0 -1
- package/build/plugins/resource/spfx/utils/questions.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/questions.js.map +0 -1
- package/build/plugins/resource/spfx/utils/telemetry-helper.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/telemetry-helper.js.map +0 -1
- package/build/plugins/resource/spfx/utils/telemetryEvents.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/telemetryEvents.js.map +0 -1
- package/build/plugins/resource/spfx/utils/utils.d.ts.map +0 -1
- package/build/plugins/resource/spfx/utils/utils.js.map +0 -1
- package/build/plugins/resource/spfx/v2/index.d.ts +0 -14
- package/build/plugins/resource/spfx/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/spfx/v2/index.js +0 -41
- package/build/plugins/resource/spfx/v2/index.js.map +0 -1
- package/build/plugins/resource/sql/config.d.ts +0 -22
- package/build/plugins/resource/sql/config.d.ts.map +0 -1
- package/build/plugins/resource/sql/config.js +0 -30
- package/build/plugins/resource/sql/config.js.map +0 -1
- package/build/plugins/resource/sql/constants.d.ts +0 -82
- package/build/plugins/resource/sql/constants.d.ts.map +0 -1
- package/build/plugins/resource/sql/constants.js +0 -92
- package/build/plugins/resource/sql/constants.js.map +0 -1
- package/build/plugins/resource/sql/errors.d.ts +0 -63
- package/build/plugins/resource/sql/errors.d.ts.map +0 -1
- package/build/plugins/resource/sql/errors.js +0 -107
- package/build/plugins/resource/sql/errors.js.map +0 -1
- package/build/plugins/resource/sql/index.d.ts +0 -20
- package/build/plugins/resource/sql/index.d.ts.map +0 -1
- package/build/plugins/resource/sql/index.js +0 -92
- package/build/plugins/resource/sql/index.js.map +0 -1
- package/build/plugins/resource/sql/managementClient.d.ts +0 -18
- package/build/plugins/resource/sql/managementClient.d.ts.map +0 -1
- package/build/plugins/resource/sql/managementClient.js +0 -123
- package/build/plugins/resource/sql/managementClient.js.map +0 -1
- package/build/plugins/resource/sql/plugin.d.ts +0 -30
- package/build/plugins/resource/sql/plugin.d.ts.map +0 -1
- package/build/plugins/resource/sql/plugin.js +0 -340
- package/build/plugins/resource/sql/plugin.js.map +0 -1
- package/build/plugins/resource/sql/questions.d.ts +0 -5
- package/build/plugins/resource/sql/questions.d.ts.map +0 -1
- package/build/plugins/resource/sql/questions.js +0 -46
- package/build/plugins/resource/sql/questions.js.map +0 -1
- package/build/plugins/resource/sql/results.d.ts +0 -10
- package/build/plugins/resource/sql/results.d.ts.map +0 -1
- package/build/plugins/resource/sql/results.js +0 -32
- package/build/plugins/resource/sql/results.js.map +0 -1
- package/build/plugins/resource/sql/sqlClient.d.ts +0 -13
- package/build/plugins/resource/sql/sqlClient.d.ts.map +0 -1
- package/build/plugins/resource/sql/sqlClient.js +0 -153
- package/build/plugins/resource/sql/sqlClient.js.map +0 -1
- package/build/plugins/resource/sql/utils/checkInput.d.ts +0 -10
- package/build/plugins/resource/sql/utils/checkInput.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/checkInput.js +0 -87
- package/build/plugins/resource/sql/utils/checkInput.js.map +0 -1
- package/build/plugins/resource/sql/utils/commonUtils.d.ts +0 -13
- package/build/plugins/resource/sql/utils/commonUtils.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/commonUtils.js +0 -51
- package/build/plugins/resource/sql/utils/commonUtils.js.map +0 -1
- package/build/plugins/resource/sql/utils/contextUtils.d.ts +0 -5
- package/build/plugins/resource/sql/utils/contextUtils.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/contextUtils.js +0 -11
- package/build/plugins/resource/sql/utils/contextUtils.js.map +0 -1
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts +0 -13
- package/build/plugins/resource/sql/utils/dialogUtils.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/dialogUtils.js +0 -21
- package/build/plugins/resource/sql/utils/dialogUtils.js.map +0 -1
- package/build/plugins/resource/sql/utils/message.d.ts +0 -16
- package/build/plugins/resource/sql/utils/message.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/message.js +0 -23
- package/build/plugins/resource/sql/utils/message.js.map +0 -1
- package/build/plugins/resource/sql/utils/telemetryUtils.d.ts +0 -17
- package/build/plugins/resource/sql/utils/telemetryUtils.d.ts.map +0 -1
- package/build/plugins/resource/sql/utils/telemetryUtils.js +0 -45
- package/build/plugins/resource/sql/utils/telemetryUtils.js.map +0 -1
- package/build/plugins/resource/sql/v2/index.d.ts +0 -15
- package/build/plugins/resource/sql/v2/index.d.ts.map +0 -1
- package/build/plugins/resource/sql/v2/index.js +0 -44
- package/build/plugins/resource/sql/v2/index.js.map +0 -1
- package/build/plugins/solution/fx-solution/index.d.ts +0 -5
- package/build/plugins/solution/fx-solution/index.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/index.js +0 -8
- package/build/plugins/solution/fx-solution/index.js.map +0 -1
- package/build/plugins/solution/fx-solution/solution.d.ts +0 -94
- package/build/plugins/solution/fx-solution/solution.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/solution.js +0 -1530
- package/build/plugins/solution/fx-solution/solution.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.d.ts +0 -5
- package/build/plugins/solution/fx-solution/v2/checkPermission.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/checkPermission.js +0 -196
- package/build/plugins/solution/fx-solution/v2/checkPermission.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.d.ts +0 -28
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.js +0 -131
- package/build/plugins/solution/fx-solution/v2/collaborationUtil.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/createEnv.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/createEnv.js +0 -37
- package/build/plugins/solution/fx-solution/v2/createEnv.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/deploy.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/deploy.js +0 -143
- package/build/plugins/solution/fx-solution/v2/deploy.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts +0 -22
- package/build/plugins/solution/fx-solution/v2/executeUserTask.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js +0 -850
- package/build/plugins/solution/fx-solution/v2/executeUserTask.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts +0 -4
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js +0 -31
- package/build/plugins/solution/fx-solution/v2/generateResourceTemplate.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts +0 -15
- package/build/plugins/solution/fx-solution/v2/getQuestions.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/getQuestions.js +0 -847
- package/build/plugins/solution/fx-solution/v2/getQuestions.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.d.ts +0 -5
- package/build/plugins/solution/fx-solution/v2/grantPermission.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/grantPermission.js +0 -209
- package/build/plugins/solution/fx-solution/v2/grantPermission.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts +0 -8
- package/build/plugins/solution/fx-solution/v2/listCollaborator.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js +0 -226
- package/build/plugins/solution/fx-solution/v2/listCollaborator.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/provision.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/provision.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/provision.js +0 -262
- package/build/plugins/solution/fx-solution/v2/provision.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/provisionLocal.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js +0 -117
- package/build/plugins/solution/fx-solution/v2/provisionLocal.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/publish.d.ts +0 -3
- package/build/plugins/solution/fx-solution/v2/publish.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/publish.js +0 -46
- package/build/plugins/solution/fx-solution/v2/publish.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts +0 -5
- package/build/plugins/solution/fx-solution/v2/scaffolding.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/scaffolding.js +0 -161
- package/build/plugins/solution/fx-solution/v2/scaffolding.js.map +0 -1
- package/build/plugins/solution/fx-solution/v2/solution.d.ts +0 -22
- package/build/plugins/solution/fx-solution/v2/solution.d.ts.map +0 -1
- package/build/plugins/solution/fx-solution/v2/solution.js +0 -48
- package/build/plugins/solution/fx-solution/v2/solution.js.map +0 -1
- package/build/plugins/solution/index.d.ts +0 -2
- package/build/plugins/solution/index.d.ts.map +0 -1
- package/build/plugins/solution/index.js +0 -7
- package/build/plugins/solution/index.js.map +0 -1
- package/templates/plugins/resource/aad/auth/bot/js/sso/showUserInfo.js +0 -36
- package/templates/plugins/resource/aad/auth/bot/js/sso/ssoDialog.js +0 -201
- package/templates/plugins/resource/aad/auth/bot/js/sso/teamsSsoBot.js +0 -63
- package/templates/plugins/resource/aad/auth/bot/ts/sso/showUserInfo.ts +0 -38
- package/templates/plugins/resource/aad/auth/bot/ts/sso/ssoDialog.ts +0 -213
- package/templates/plugins/resource/aad/auth/bot/ts/sso/teamsSsoBot.ts +0 -75
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Microsoft Teams provides a mechanism by which an application can obtain the signed-in Teams user token to access Microsoft Graph (and other APIs). Teams Toolkit facilitates this interaction by abstracting some of the Azure Active Directory (AAD) flows and integrations behind some simple, high level APIs. This enables you to add single sign-on (SSO) features easily to your Teams application.
|
|
4
4
|
|
|
5
|
-
For a bot application,
|
|
5
|
+
For a bot application, user can invoke the AAD consent flow to obtain sso token to call Graph and other APIs.
|
|
6
6
|
|
|
7
7
|
# Changes to your project
|
|
8
8
|
|
|
@@ -12,8 +12,10 @@ After you successfully added SSO into your project, Teams Toolkit will create an
|
|
|
12
12
|
|
|
13
13
|
| Action | File | Description |
|
|
14
14
|
| - | - | - |
|
|
15
|
-
|
|
|
15
|
+
| Modify | `azureWebAppBotConfig.bicep` under `templates/azure/teamsFx` and `azure.parameters.dev.json` under `.fx/configs`| Insert environment variables used for bot web app to enable SSO feature |
|
|
16
16
|
| Modify | `manifest.template.json` under `templates/appPackage` | An `webApplicationInfo` object will be added into your Teams app manifest template. This field is required by Teams when enabling SSO. |
|
|
17
|
+
| Modify | `projectSettings.json` under `.fx/configs` | Add bot sso capability, which will be used internally by Teams Toolkit. |
|
|
18
|
+
| Create| `aad.template.json` under `templates/appPackage` | The Azure Active Directory application manifest that is used to register the application with AAD. |
|
|
17
19
|
| Create | `auth/bot` | Reference code, redirect pages and a `README.md` file. These files are provided for reference. See below for more information. |
|
|
18
20
|
|
|
19
21
|
# Update your code to add SSO
|
|
@@ -25,39 +27,47 @@ As described above, the Teams Toolkit generated some configuration to set up you
|
|
|
25
27
|
## Set up the AAD redirects
|
|
26
28
|
|
|
27
29
|
1. Move the `auth/bot/public` folder to `bot/src`. This folder contains HTML pages that the bot application hosts. When single sign-on flows are initiated with AAD, AAD will redirect the user to these pages.
|
|
28
|
-
|
|
30
|
+
1. Modify your `bot/src/index` to add the appropriate `restify` routes to these pages.
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
const path = require("path");
|
|
34
|
+
|
|
35
|
+
server.get(
|
|
36
|
+
"/auth-*.html",
|
|
37
|
+
restify.plugins.serveStatic({
|
|
38
|
+
directory: path.join(__dirname, "public"),
|
|
39
|
+
})
|
|
40
|
+
);
|
|
41
|
+
```
|
|
29
42
|
|
|
30
43
|
## Update your business logic
|
|
31
44
|
|
|
32
|
-
The sample business logic provides a
|
|
45
|
+
The sample business logic provides a sso command handler `ProfileSsoCommandHandler` that use an AAD token to call Microsoft Graph. This token is obtained by using the logged-in Teams user token. The flow is brought together in a dialog that will display a consent dialog if required.
|
|
33
46
|
|
|
34
47
|
To make this work in your application:
|
|
35
48
|
|
|
36
|
-
1. Move `auth/bot/public` folder to `bot/src`.
|
|
37
|
-
These folder contains HTML pages used for auth redirect, please note that you need to modify `bot/src/index` file to add routing to these pages.
|
|
38
49
|
|
|
39
|
-
1. Move `auth/bot/sso` folder to `bot/src`.
|
|
40
|
-
These folder contains three files as reference for sso implementation:
|
|
41
|
-
* `showUserInfo`: This implements a function to get user info with SSO token. You can follow this method and create your own method that requires SSO token.
|
|
42
|
-
* `ssoDialog`: This creates a [ComponentDialog](https://docs.microsoft.com/en-us/javascript/api/botbuilder-dialogs/componentdialog?view=botbuilder-ts-latest) that used for SSO.
|
|
43
|
-
* `teamsSsoBot`: This create a [TeamsActivityHandler](https://docs.microsoft.com/en-us/javascript/api/botbuilder/teamsactivityhandler?view=botbuilder-ts-latest) with `ssoDialog` and add `showUserInfo` as a command that can be triggered.
|
|
50
|
+
1. Move `profileSsoCommandHandler` file under `auth/bot/sso` folder to `bot/src`. ProfileSsoCommandHandler class is a sso command handler to get user info with SSO token. You can follow this method and create your own sso command handler.
|
|
44
51
|
|
|
45
|
-
1.
|
|
46
|
-
1. Execute the following commands under `bot
|
|
47
|
-
1. (For ts only) Execute the following commands under `bot
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
1. Open `package.json` file, make sure that teamfx SDK version >= 1.2.0
|
|
53
|
+
1. Execute the following commands under `bot` folder: `npm install isomorphic-fetch --save`
|
|
54
|
+
1. (For ts only) Execute the following commands under `bot` folder: `npm install copyfiles --save-dev` and replace following line in package.json:
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
"build": "tsc --build && shx cp -r ./src/adaptiveCards ./lib/src",
|
|
50
58
|
```
|
|
59
|
+
|
|
51
60
|
with:
|
|
52
|
-
|
|
53
|
-
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
"build": "tsc --build && shx cp -r ./src/adaptiveCards ./lib/src && copyfiles src/public/*.html lib/",
|
|
54
64
|
```
|
|
55
65
|
By doing this, the HTML pages used for auth redirect will be copied when building this bot project.
|
|
56
66
|
|
|
57
|
-
1. After adding the following files, you need to
|
|
58
|
-
Please replace the following code:
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
1. After adding the following files, you need to update `bot/src/index` file.
|
|
68
|
+
Please replace the following code to make sso consent flow works:
|
|
69
|
+
|
|
70
|
+
```ts
|
|
61
71
|
server.post("/api/messages", async (req, res) => {
|
|
62
72
|
await commandBot.requestHandler(req, res);
|
|
63
73
|
});
|
|
@@ -65,14 +75,9 @@ Please replace the following code:
|
|
|
65
75
|
|
|
66
76
|
with:
|
|
67
77
|
|
|
68
|
-
```
|
|
69
|
-
const handler = new TeamsSsoBot();
|
|
70
|
-
// Process Teams activity with Bot Framework.
|
|
78
|
+
```ts
|
|
71
79
|
server.post("/api/messages", async (req, res) => {
|
|
72
|
-
await commandBot.requestHandler(req, res
|
|
73
|
-
await handler.run(context);
|
|
74
|
-
})
|
|
75
|
-
.catch((err) => {
|
|
80
|
+
await commandBot.requestHandler(req, res).catch((err) => {
|
|
76
81
|
// Error message including "412" means it is waiting for user's consent, which is a normal process of SSO, sholdn't throw this error.
|
|
77
82
|
if (!err.message.includes("412")) {
|
|
78
83
|
throw err;
|
|
@@ -81,138 +86,194 @@ Please replace the following code:
|
|
|
81
86
|
});
|
|
82
87
|
```
|
|
83
88
|
|
|
84
|
-
1.
|
|
89
|
+
1. Replace the options for `ConversationBot` instance in `bot/src/internal/initialize` to add the sso config and sso command handler:
|
|
85
90
|
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
```ts
|
|
92
|
+
export const commandBot = new ConversationBot({
|
|
93
|
+
...
|
|
94
|
+
command: {
|
|
95
|
+
enabled: true,
|
|
96
|
+
commands: [new HelloWorldCommandHandler()],
|
|
97
|
+
},
|
|
98
|
+
});
|
|
93
99
|
```
|
|
94
100
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
// For ts:
|
|
99
|
-
import { TeamsSsoBot } from "./sso/teamsSsoBot";
|
|
100
|
-
const path = require("path");
|
|
101
|
+
with:
|
|
101
102
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
```ts
|
|
104
|
+
import { ProfileSsoCommandHandler } from "../profileSsoCommandHandler";
|
|
105
|
+
|
|
106
|
+
export const commandBot = new ConversationBot({
|
|
107
|
+
...
|
|
108
|
+
// To learn more about ssoConfig, please refer teamsfx sdk document: https://docs.microsoft.com/microsoftteams/platform/toolkit/teamsfx-sdk
|
|
109
|
+
ssoConfig: {
|
|
110
|
+
aad :{
|
|
111
|
+
scopes:["User.Read"],
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
command: {
|
|
115
|
+
enabled: true,
|
|
116
|
+
commands: [new HelloWorldCommandHandler() ],
|
|
117
|
+
ssoCommands: [new ProfileSsoCommandHandler()],
|
|
118
|
+
},
|
|
119
|
+
});
|
|
105
120
|
```
|
|
106
121
|
|
|
107
122
|
1. Register your command in the Teams app manifest. Open `templates/appPackage/manifest.template.json`, and add following lines under `commands` in `commandLists` of your bot:
|
|
108
123
|
|
|
109
|
-
```
|
|
124
|
+
```json
|
|
110
125
|
{
|
|
111
|
-
"title": "
|
|
126
|
+
"title": "profile",
|
|
112
127
|
"description": "Show user profile using Single Sign On feature"
|
|
113
128
|
}
|
|
114
129
|
```
|
|
115
130
|
|
|
116
|
-
## (Optional) Add a new command to the bot
|
|
131
|
+
## (Optional) Add a new sso command to the bot
|
|
117
132
|
|
|
118
|
-
After successfully add SSO in your project, you can also add a new command.
|
|
133
|
+
After successfully add SSO in your project, you can also add a new sso command.
|
|
119
134
|
|
|
120
|
-
1. Create a new file (e.g. `
|
|
135
|
+
1. Create a new file (e.g. `photoSsoCommandHandler.ts` or `photoSsoCommandHandler.js`) under `bot/src/` and add your own business logic to call Graph API:
|
|
121
136
|
|
|
122
137
|
```TypeScript
|
|
123
138
|
// for TypeScript:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
139
|
+
import { Activity, TurnContext, ActivityTypes } from "botbuilder";
|
|
140
|
+
import "isomorphic-fetch";
|
|
141
|
+
import {
|
|
142
|
+
CommandMessage,
|
|
143
|
+
TriggerPatterns,
|
|
144
|
+
TeamsFx,
|
|
145
|
+
createMicrosoftGraphClient,
|
|
146
|
+
TeamsFxBotSsoCommandHandler,
|
|
147
|
+
TeamsBotSsoPromptTokenResponse,
|
|
148
|
+
} from "@microsoft/teamsfx";
|
|
149
|
+
|
|
150
|
+
export class PhotoSsoCommandHandler implements TeamsFxBotSsoCommandHandler {
|
|
151
|
+
triggerPatterns: TriggerPatterns = "photo";
|
|
152
|
+
|
|
153
|
+
async handleCommandReceived(
|
|
154
|
+
context: TurnContext,
|
|
155
|
+
message: CommandMessage,
|
|
156
|
+
tokenResponse: TeamsBotSsoPromptTokenResponse,
|
|
157
|
+
): Promise<string | Partial<Activity> | void> {
|
|
158
|
+
await context.sendActivity("Retrieving user information from Microsoft Graph ...");
|
|
159
|
+
|
|
160
|
+
const teamsfx = new TeamsFx().setSsoToken(tokenResponse.ssoToken);
|
|
161
|
+
|
|
162
|
+
const graphClient = createMicrosoftGraphClient(teamsfx, ["User.Read"]);
|
|
163
|
+
|
|
164
|
+
let photoUrl = "";
|
|
165
|
+
try {
|
|
166
|
+
const photo = await graphClient.api("/me/photo/$value").get();
|
|
167
|
+
const arrayBuffer = await photo.arrayBuffer();
|
|
168
|
+
const buffer=Buffer.from(arrayBuffer, 'binary');
|
|
169
|
+
photoUrl = "data:image/png;base64," + buffer.toString("base64");
|
|
170
|
+
} catch {
|
|
171
|
+
// Could not fetch photo from user's profile, return empty string as placeholder.
|
|
172
|
+
}
|
|
173
|
+
if (photoUrl) {
|
|
174
|
+
const photoMessage: Partial<Activity> = {
|
|
175
|
+
type: ActivityTypes.Message,
|
|
176
|
+
text: 'This is your photo:',
|
|
177
|
+
attachments: [
|
|
178
|
+
{
|
|
179
|
+
name: 'photo.png',
|
|
180
|
+
contentType: 'image/png',
|
|
181
|
+
contentUrl: photoUrl
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
};
|
|
185
|
+
return photoMessage;
|
|
186
|
+
} else {
|
|
187
|
+
return "Could not retrieve your photo from Microsoft Graph. Please make sure you have uploaded your photo.";
|
|
188
|
+
}
|
|
189
|
+
}
|
|
156
190
|
}
|
|
157
191
|
```
|
|
158
192
|
|
|
159
193
|
```javascript
|
|
160
194
|
// for JavaScript:
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
195
|
+
const { ActivityTypes } = require("botbuilder");
|
|
196
|
+
require("isomorphic-fetch");
|
|
197
|
+
const { createMicrosoftGraphClient, TeamsFx } = require("@microsoft/teamsfx");
|
|
198
|
+
|
|
199
|
+
class PhotoSsoCommandHandler {
|
|
200
|
+
triggerPatterns = "photo";
|
|
201
|
+
|
|
202
|
+
async handleCommandReceived(context, message, tokenResponse) {
|
|
203
|
+
await context.sendActivity("Retrieving user information from Microsoft Graph ...");
|
|
204
|
+
|
|
205
|
+
const teamsfx = new TeamsFx().setSsoToken(tokenResponse.ssoToken);
|
|
206
|
+
|
|
207
|
+
const graphClient = createMicrosoftGraphClient(teamsfx, ["User.Read"]);
|
|
169
208
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
209
|
+
let photoUrl = "";
|
|
210
|
+
try {
|
|
211
|
+
const photo = await graphClient.api("/me/photo/$value").get();
|
|
212
|
+
const arrayBuffer = await photo.arrayBuffer();
|
|
213
|
+
const buffer=Buffer.from(arrayBuffer, 'binary');
|
|
214
|
+
photoUrl = "data:image/png;base64," + buffer.toString("base64");
|
|
215
|
+
} catch {
|
|
216
|
+
// Could not fetch photo from user's profile, return empty string as placeholder.
|
|
217
|
+
}
|
|
218
|
+
if (photoUrl) {
|
|
219
|
+
const photoMessage = {
|
|
220
|
+
type: ActivityTypes.Message,
|
|
221
|
+
text: 'This is your photo:',
|
|
222
|
+
attachments: [
|
|
223
|
+
{
|
|
224
|
+
name: 'photo.png',
|
|
225
|
+
contentType: 'image/png',
|
|
226
|
+
contentUrl: photoUrl
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
};
|
|
230
|
+
return photoMessage;
|
|
231
|
+
} else {
|
|
232
|
+
return "Could not retrieve your photo from Microsoft Graph. Please make sure you have uploaded your photo.";
|
|
233
|
+
}
|
|
234
|
+
}
|
|
189
235
|
}
|
|
190
236
|
|
|
191
237
|
module.exports = {
|
|
192
|
-
|
|
238
|
+
PhotoSsoCommandHandler,
|
|
193
239
|
};
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
1. Register a new command using `addCommand` in `teamsSsoBot`:
|
|
197
|
-
|
|
198
|
-
Find the following line:
|
|
199
240
|
|
|
200
241
|
```
|
|
201
|
-
|
|
242
|
+
|
|
243
|
+
1. Put `PhotoSsoCommandHandler` instance to `ssoCommands` array in `bot/src/internal/initialize.ts` as below:
|
|
244
|
+
|
|
245
|
+
```ts
|
|
246
|
+
// for TypeScript:
|
|
247
|
+
import { PhotoSsoCommandHandler } from "../photoSsoCommandHandler";
|
|
248
|
+
|
|
249
|
+
export const commandBot = new ConversationBot({
|
|
250
|
+
...
|
|
251
|
+
command: {
|
|
252
|
+
...
|
|
253
|
+
ssoCommands: [new ProfileSsoCommandHandler(), new PhotoSsoCommandHandler()],
|
|
254
|
+
},
|
|
255
|
+
});
|
|
202
256
|
```
|
|
203
257
|
|
|
204
|
-
|
|
258
|
+
```javascript
|
|
259
|
+
// for JavaScript:
|
|
260
|
+
...
|
|
261
|
+
const { PhotoSsoCommandHandler } = require("../photoSsoCommandHandler");
|
|
262
|
+
|
|
263
|
+
const commandBot = new ConversationBot({
|
|
264
|
+
...
|
|
265
|
+
command: {
|
|
266
|
+
...
|
|
267
|
+
ssoCommands: [new ProfileSsoCommandHandler(), new PhotoSsoCommandHandler()]
|
|
268
|
+
},
|
|
269
|
+
});
|
|
270
|
+
...
|
|
205
271
|
|
|
206
272
|
```
|
|
207
|
-
// As shown here, you can add your own parameter into the `showUserImage` method
|
|
208
|
-
// You can also use regular expression for the command here
|
|
209
|
-
const scope = ["User.Read"];
|
|
210
|
-
this.dialog.addCommand("ShowUserPhoto", new RegExp("photo\s*.*"), showUserImage, scope);
|
|
211
|
-
```
|
|
212
273
|
|
|
213
274
|
1. Register your command in the Teams app manifest. Open 'templates/appPackage/manifest.template.json', and add following lines under `commands` in `commandLists` of your bot:
|
|
214
275
|
|
|
215
|
-
```
|
|
276
|
+
```json
|
|
216
277
|
{
|
|
217
278
|
"title": "photo",
|
|
218
279
|
"description": "Show user photo using Single Sign On feature"
|
|
@@ -234,3 +295,20 @@ The AAD [manifest](https://docs.microsoft.com/azure/active-directory/develop/ref
|
|
|
234
295
|
Follow this [document](https://aka.ms/teamsfx-aad-manifest#customize-aad-manifest-template) if you need to include additional API permissions to access your desired APIs.
|
|
235
296
|
|
|
236
297
|
Follow this [document](https://aka.ms/teamsfx-aad-manifest#How-to-view-the-AAD-app-on-the-Azure-portal) to view your AAD application in Azure Portal.
|
|
298
|
+
|
|
299
|
+
# Trouble Shooting
|
|
300
|
+
|
|
301
|
+
## Login page does not pop up after clicking `continue`
|
|
302
|
+
|
|
303
|
+
First check whether your auth-start page is available by directly go to "{your-bot-endpoint}/auth-start.html" in your browser. You can find your-bot-endpoint in `.fx/states/state.{env}.json`.
|
|
304
|
+
|
|
305
|
+
- If the auth-start page can be opened in your browser, please try sign out current account in Teams app page and sign in again and run the command again.
|
|
306
|
+
- If encounter with ngrok page below when local debug, please follow the steps to solve this issue.
|
|
307
|
+
|
|
308
|
+
1. Stop debugging in Visual Studio Code.
|
|
309
|
+
1. Sign up an ngrok account in https://dashboard.ngrok.com/signup.
|
|
310
|
+
1. Copy your personal ngrok authtoken from https://dashboard.ngrok.com/get-started/your-authtoken.
|
|
311
|
+
1. Run `npx ngrok authtoken <your-personal-ngrok-authtoken>` in Visual Studio Code terminal.
|
|
312
|
+
1. Start debugging the project again by hitting the F5 key in Visual Studio Code.
|
|
313
|
+
|
|
314
|
+

|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const { createMicrosoftGraphClient, TeamsFx } = require("@microsoft/teamsfx");
|
|
2
|
+
require("isomorphic-fetch");
|
|
3
|
+
|
|
4
|
+
class ProfileSsoCommandHandler {
|
|
5
|
+
triggerPatterns = "profile";
|
|
6
|
+
|
|
7
|
+
async handleCommandReceived(context, message, tokenResponse) {
|
|
8
|
+
await context.sendActivity("Retrieving user information from Microsoft Graph ...");
|
|
9
|
+
|
|
10
|
+
// Init TeamsFx instance with SSO token
|
|
11
|
+
const teamsfx = new TeamsFx().setSsoToken(tokenResponse.ssoToken);
|
|
12
|
+
|
|
13
|
+
// Add scope for your Azure AD app. For example: Mail.Read, etc.
|
|
14
|
+
const graphClient = createMicrosoftGraphClient(teamsfx, ["User.Read"]);
|
|
15
|
+
|
|
16
|
+
// Call graph api use `graph` instance to get user profile information
|
|
17
|
+
const me = await graphClient.api("/me").get();
|
|
18
|
+
|
|
19
|
+
if (me) {
|
|
20
|
+
// Bot will send the user profile info to user
|
|
21
|
+
return `Your command is '${message.text}' and you're logged in as ${me.displayName} (${me.userPrincipalName}).`;
|
|
22
|
+
} else {
|
|
23
|
+
return "Could not retrieve profile information from Microsoft Graph.";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
module.exports = {
|
|
29
|
+
ProfileSsoCommandHandler,
|
|
30
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Activity, TurnContext } from "botbuilder";
|
|
2
|
+
import {
|
|
3
|
+
CommandMessage,
|
|
4
|
+
TriggerPatterns,
|
|
5
|
+
TeamsFx,
|
|
6
|
+
createMicrosoftGraphClient,
|
|
7
|
+
TeamsFxBotSsoCommandHandler,
|
|
8
|
+
TeamsBotSsoPromptTokenResponse,
|
|
9
|
+
} from "@microsoft/teamsfx";
|
|
10
|
+
import "isomorphic-fetch";
|
|
11
|
+
|
|
12
|
+
export class ProfileSsoCommandHandler implements TeamsFxBotSsoCommandHandler {
|
|
13
|
+
triggerPatterns: TriggerPatterns = "profile";
|
|
14
|
+
|
|
15
|
+
async handleCommandReceived(
|
|
16
|
+
context: TurnContext,
|
|
17
|
+
message: CommandMessage,
|
|
18
|
+
tokenResponse: TeamsBotSsoPromptTokenResponse
|
|
19
|
+
): Promise<string | Partial<Activity> | void> {
|
|
20
|
+
await context.sendActivity("Retrieving user information from Microsoft Graph ...");
|
|
21
|
+
|
|
22
|
+
// Init TeamsFx instance with SSO token
|
|
23
|
+
const teamsfx = new TeamsFx().setSsoToken(tokenResponse.ssoToken);
|
|
24
|
+
|
|
25
|
+
// Add scope for your Azure AD app. For example: Mail.Read, etc.
|
|
26
|
+
const graphClient = createMicrosoftGraphClient(teamsfx, ["User.Read"]);
|
|
27
|
+
|
|
28
|
+
// Call graph api use `graph` instance to get user profile information
|
|
29
|
+
const me = await graphClient.api("/me").get();
|
|
30
|
+
|
|
31
|
+
if (me) {
|
|
32
|
+
// Bot will send the user profile info to user
|
|
33
|
+
return `Your command is '${message.text}' and you're logged in as ${me.displayName} (${me.userPrincipalName}).`;
|
|
34
|
+
} else {
|
|
35
|
+
return "Could not retrieve profile information from Microsoft Graph.";
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# SPFx (SharePoint Framework) App
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and extending Microsoft Teams. This project applies SPFx to Teams personal tab and group tab support.
|
|
6
|
+
|
|
7
|
+
## Used SharePoint Framework Version
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
## Applies to
|
|
12
|
+
|
|
13
|
+
- [SharePoint Framework](https://aka.ms/spfx)
|
|
14
|
+
- [Microsoft 365 tenant](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
|
|
15
|
+
|
|
16
|
+
## Prerequisites
|
|
17
|
+
|
|
18
|
+
> - Node.js v16
|
|
19
|
+
> - An Microsoft 365 account. Get your own free Microsoft 365 tenant from [Microsoft 365 developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program)
|
|
20
|
+
|
|
21
|
+
## Solution
|
|
22
|
+
|
|
23
|
+
Solution|Author(s)
|
|
24
|
+
--------|---------
|
|
25
|
+
folder name | Author details (name, company, twitter alias with link)
|
|
26
|
+
|
|
27
|
+
## Version history
|
|
28
|
+
|
|
29
|
+
Version|Date|Comments
|
|
30
|
+
-------|----|--------
|
|
31
|
+
1.1|March 10, 2021|Update comment
|
|
32
|
+
1.0|January 29, 2021|Initial release
|
|
33
|
+
|
|
34
|
+
## Disclaimer
|
|
35
|
+
|
|
36
|
+
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Minimal Path to Awesome
|
|
41
|
+
|
|
42
|
+
1. Install the latest version of [Node.js LTS 16.x](https://nodejs.org/en/download/releases/) (Note: SPFx v1.16.0-beta.1 support Node.js v16).
|
|
43
|
+
2. You can either download [Visual Studio Code](https://code.visualstudio.com) and install [Teams Toolkit Visual Studio Code Extension](https://aka.ms/teams-toolkit) or download TeamsFx CLI.
|
|
44
|
+
3. Open the project with VSCode, click `Provision in the cloud` in DEPLOYMENT panel of Teams Toolkit extension.
|
|
45
|
+
|
|
46
|
+
Or you can use TeamsFx CLI with running this cmd under your project path:
|
|
47
|
+
`teamsfx provision`
|
|
48
|
+
|
|
49
|
+
It will provision an app in Teams App Studio. You may need to login with your Microsoft 365 tenant admin account.
|
|
50
|
+
|
|
51
|
+
4. Build and Deploy your SharePoint Package.
|
|
52
|
+
- Click `Deploy to the cloud` in DEPLOYMENT panel of Teams Toolkit extension, or run `Teams: Deploy to the cloud` from command palette. This will generate a SharePoint package (*.sppkg) under sharepoint/solution folder.
|
|
53
|
+
|
|
54
|
+
Or you can use TeamsFx CLI with running this cmd under your project path:
|
|
55
|
+
`teamsfx deploy`
|
|
56
|
+
|
|
57
|
+
- After building the *.sppkg, the Teams Toolkit extension will upload and deploy it to your tenant App Catalog. Only tenant App Catalog site admin has permission to do it. You can create your test tenant following [Setup your Microsoft 365 tenant](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant).
|
|
58
|
+
5. Go back to Teams Toolkit extension, click `Teams: Publish to Teams` in DEPLOYMENT panel.
|
|
59
|
+
|
|
60
|
+
Or you can use TeamsFx CLI with running this cmd under your project path:
|
|
61
|
+
`teamsfx publish`
|
|
62
|
+
|
|
63
|
+
You will find your app in [Microsoft Teams admin center](https://admin.teams.microsoft.com/policies/manage-apps). Enter your app name in the search box. Click the item and select `Publish` in the Publishing status.
|
|
64
|
+
|
|
65
|
+
6. You may need to wait for a few minutes after publishing your teams app. And then login to Teams, and you will find your app in the `Apps - Built for {your-tenant-name}` category.
|
|
66
|
+
|
|
67
|
+
7. Click "Add" to use the app as a personal tab. Click "Add to a team" to use the app as a group tab.
|
|
68
|
+
|
|
69
|
+
## Debug
|
|
70
|
+
|
|
71
|
+
Start debugging the project by hitting the `F5` key in Visual Studio Code. Alternatively use the `Run and Debug Activity Panel` in Visual Studio Code and click the `Start Debugging` green arrow button.
|
|
72
|
+
|
|
73
|
+
- `Teams workbench` is the default debug configuration. Using this configuration, you can install the SPFx app within Teams context as a Teams app.
|
|
74
|
+
- `Hosted workbench`. You need to navigate to [launch.json](.vscode/launch.json), replace `enter-your-SharePoint-site` with your SharePoint site, eg. `https://{your-tenant-name}.sharepoint.com/sites/{your-team-name}/_layouts/workbench.aspx`. You can also use root site if you haven't created one, eg. `https://{your-tenant-name}.sharepoint.com/_layouts/workbench.aspx`.
|
|
75
|
+
|
|
76
|
+
## References
|
|
77
|
+
|
|
78
|
+
- [Getting started with SharePoint Framework](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
|
|
79
|
+
- [Building for Microsoft teams](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/build-for-teams-overview)
|
|
80
|
+
- [Use Microsoft Graph in your solution](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-microsoft-graph-apis)
|
|
81
|
+
- [Publish SharePoint Framework applications to the Marketplace](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/publish-to-marketplace-overview)
|
|
82
|
+
- [Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) - Guidance, tooling, samples and open-source controls for your Microsoft 365 development
|
package/build/common/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from "./correlator";
|
|
2
|
-
export * from "./deps-checker";
|
|
3
|
-
export * from "./featureFlags";
|
|
4
|
-
export * from "./globalState";
|
|
5
|
-
export * from "./local";
|
|
6
|
-
export * from "./permissionInterface";
|
|
7
|
-
export * from "./projectSettingsHelper";
|
|
8
|
-
export * from "./samples";
|
|
9
|
-
export * from "./tools";
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
package/build/common/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
|
-
tslib_1.__exportStar(require("./correlator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./deps-checker"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./featureFlags"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./globalState"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./local"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./permissionInterface"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./projectSettingsHelper"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./samples"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./tools"), exports);
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,uDAA6B;AAC7B,yDAA+B;AAC/B,yDAA+B;AAC/B,wDAA8B;AAC9B,kDAAwB;AACxB,gEAAsC;AACtC,kEAAwC;AACxC,oDAA0B;AAC1B,kDAAwB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"simpleAuth.d.ts","sourceRoot":"","sources":["../../../src/component/resource/simpleAuth.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,OAAO,EACP,qBAAqB,EAErB,iBAAiB,EACjB,MAAM,EACP,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,kBAAkB,CAAC;AAY1B,qBACa,UAAU;IASf,SAAS,CACb,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAsBhC,SAAS,CACb,OAAO,EAAE,iBAAiB,EAC1B,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAkBtC,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,SAAgB;IAM/D,eAAe,CAAC,OAAO,EAAE,SAAS,GAAG;QAAE,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;CAiCxE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"simpleAuth.js","sourceRoot":"","sources":["../../../src/component/resource/simpleAuth.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./concurrentLocker";
|
|
2
|
-
export * from "./contextInjector";
|
|
3
|
-
export * from "./envInfoLoader";
|
|
4
|
-
export * from "./envInfoWriter";
|
|
5
|
-
export * from "./errorHandler";
|
|
6
|
-
export * from "./projectMigrator";
|
|
7
|
-
export * from "./projectSettingsLoader";
|
|
8
|
-
export * from "./projectSettingsWriter";
|
|
9
|
-
export * from "./questionModel";
|
|
10
|
-
export * from "./solutionLoader";
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/middleware/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|