{"_id":"@microsoft/mgt-teams-provider","_rev":"579-1596988ac5cb8cf86a264d692d903202","name":"@microsoft/mgt-teams-provider","dist-tags":{"next.groupTypeTest":"2.3.1-next.groupTypeTest.e879764","next.teamsfx":"2.4.1-next.teamsfx.8d56785","next.fluent-deps":"3.0.0-next.fluent-deps.4bc5741","next.login-design":"3.0.0-next.login-design.17a198b","next.lit-element-update":"3.0.0-next.lit-element-update.dbb1f26","next.merge":"3.0.0-next.merge.cdd49dc","next.wc-registration-samples":"3.0.0-next.wc-registration-samples.6363b76","next.node16-support":"3.0.0-next.node16-support.f415340","next.wc-registration":"3.0.0-next.wc-registration.43194e0","next.fix-people-picker-flyout-a11y":"2.7.1-next.fix-people-picker-flyout-a11y.0210f09","next.fix-msal2-provider":"3.0.0-next.fix-msal2-provider.89cb1c3","next.wip":"3.0.0-next.wip.31dfb9e","next.enhanced-file-list":"3.0.0-next.enhanced-file-list.49c3edd","next.wc-registration-utils":"3.0.0-next.wc-registration-utils.6ca9b59","next.dark-toggle":"3.0.0-next.dark-toggle.5e7a689","next.disambiguation-util-fixes":"3.0.0-next.disambiguation-util-fixes.aecf062","next.preview-pipeline":"3.0.0-preview.1-next.preview-pipeline.8bf3848","next.fix-grid":"3.0.0-preview.1-next.fix-grid.a34c8fc","preview":"3.0.0-preview.2","next.mgt-chat":"3.0.0-preview.1-next.mgt-chat.6a93d6b","next.fluentui":"3.0.0-preview.2-next.fluentui.ab2ddda","next":"2.11.2-preview.4dac3ba","latest":"2.11.2"},"versions":{"2.0.0-preview.7":{"name":"@microsoft/mgt-teams-provider","version":"2.0.0-preview.7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.0-preview.7","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"75d5757ec74c067a7773303eecad60309f97676f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.0-preview.7.tgz","fileCount":18,"integrity":"sha512-bMlkBt5v95rVL4J2QLaCA84CWdHsF0eWb5jq2p35/A87lsHi2m8/KT9OnLFO93hOpcMzwj0ffwxjwZtiZwsv4w==","signatures":[{"sig":"MEYCIQDntTB/bs9wdsd7HUf+YxTKAONgBpYhfq8kIEasmxZdZwIhAIMh40N4Mh/U3Q7W76622x88z3Y8uCaSsIkgKySW1TYX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":489579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfx+AXCRA9TVsSAnZWagAA2QAP/1kxdn98/XCS+7f9pmIV\nymNStydCVAseKpGUnhl4q6TQktsYqYNo0KMz2sZj13mauHAI7yegW2O+X+A5\n8hfxtfAqDyl67Rysk3s9oONEwYLZVhgFTRkX1/HwXqwcOVbKN03L4FsFe4Qu\nrgH3yFJOQ12EQPAlssEa1h3lIYlg3bvp/o1AGqqvcWO+sUydNRbIEvs5K9U9\nsispi9K+JHQ5w9cf4+9TZKe+MkjPnhDlq2ArAH4gl+sB4RBOSIS3ZnZgkJCg\ne0fETdzFCxDVNKoCQskJ9f+aWyfl8nWcRM/FxEWtkqGjeigFLicni+0lyQoC\nZoSQumx7qVjU03cANeMXPGmFAanwR9YG+YYg0COmsC5jFaKbun6kEvG57S0H\n0v4l60lWL+jynlQ/szVf7OtnlXgDDouzhPOVuk/tk6kKGiRvzq6nzu40S62N\nCh68LIcMTg0IVpYGLak7dqccghfINAbXBR2JuMcQNeReNEf5dljP/yviY+VE\nDxt+zD56vhkI9xIIz32iR9oxdkZq0nvUoBa7rsKhs+mEngmfKKcs8RUIMMhP\nrMJ1nAO79SdjJRhSXhpLo2+Hjl8LSaqpRRajKfNIEW6IOxdElduUA43mUu0d\nwHYbL6usDxO++5berHyaoSaLi4jmVd4XtgT9quRkKLpNy4PDkcSqDxvVKAjt\nd2b1\r\n=PBNJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","publish:next":"npm publish --tag next","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft","email":"npmjs@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.15.0","dependencies":{"@microsoft/mgt-element":"2.0.0-preview.7","@microsoft/mgt-msal-provider":"*"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"cpx":"^1.5.0","shx":"^0.3.2","gulp":"^4.0.2","tslint":"^5.20.1","gulp-sass":"^4.0.2","gulp-util":"^3.0.8","typescript":"^3.7.5","gulp-rename":"^2.0.0","gulp-append-prepend":"^1.0.8","gulp-header-license":"^1.0.9","tslint-config-prettier":"^1.18.0"},"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.0-preview.7_1606934551080_0.8714259675420308","host":"s3://npm-registry-packages"}},"2.0.0-preview.8":{"name":"@microsoft/mgt-teams-provider","version":"2.0.0-preview.8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.0-preview.8","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5848d0bb9ab98108a1cc8823fac9bec99a86796c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.0-preview.8.tgz","fileCount":18,"integrity":"sha512-ixuBn4AYvuLyt4qRLu8IbfxRY8eRkox7zV8amwVRIbkaYDIEx+Hf5sQF1Le96BhGRSaIdGN4SQJx6Qj3WOlZdA==","signatures":[{"sig":"MEQCIC3gXsaxcUuy31zWQVeSzYASHa35t8xEc/Og2MXIwaVuAiBrkR8cPYWoCgz5uIz7JLs8TOn+7DIpn02NRzSLvlX4tg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyERgCRA9TVsSAnZWagAA9VkP/A3ksvhQpw0aodmHYy5M\nloSOKu74/Q1P6uqjmmCBLjP01DcgUxwMf5KqoWH4z1V8sdtojXfNDXC8Ii3K\n9pQCdoqhfUW8QuUBgzAe46I37ayfrquvK/eg35Ttluj2nm/uRgN3dsYjeRJN\nViXcHJz7fhh+TlswGksyCOBPJJxRXgjM1LySt/zxTJGXl/joJBt6JvuDw0wC\nHwq3uAMeJUOlPqEqsQMi+CbVZw/bYe+W6Eqxw7Fplxa7Et2ZNvLTa59O7wEO\nKvkMm3112b8Y50+wEG1sONonY709bHDXAEkL+24kI62IIorq9TH/FcZmJl+W\nBYhQvMeWLxKK/SWI9YzxfYartBP0wxQoV2kQnWcb6OdikLA0Kx/9U5pL4B98\n7TMCajJvHAJTaZpChNEpB4UOmMl71K0mzlTpO4Xe9UOM7AFF9Xh/B02Ee/1U\n9PbO048jdYmSbiOK3mFhGMJyVPzKN/YghGWXx/ErI09QhXrHvh8XxnWrjh7D\nziOqBcWXtWyrROjja1WAM8O6F4WY7WLRpNa+flyRXOODRSt4U6e+KztHaCX0\no+yj0lqKA9edND6HXWHKiPqAKhHcC5g8KBduovZshJCbpNGnMxqbGa8iG5NA\nTIpBCyUFt7FY0HSP0vwDr2Lh49m+KsR3dmx471D3S/DV90mnrGqFAYSPyXUI\ncTpx\r\n=WgD2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# MGT Msal Provider","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","publish:next":"npm publish --tag next","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.19.0","dependencies":{"@microsoft/mgt-element":"2.0.0-preview.8","@microsoft/mgt-msal-provider":"*"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cpx":"^1.5.0","shx":"^0.3.2","gulp":"^4.0.2","tslint":"^5.20.1","gulp-sass":"^4.0.2","gulp-util":"^3.0.8","typescript":"^3.7.5","gulp-rename":"^2.0.0","gulp-append-prepend":"^1.0.8","gulp-header-license":"^1.0.9","tslint-config-prettier":"^1.18.0"},"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.0-preview.8_1606960223959_0.5002841788972596","host":"s3://npm-registry-packages"}},"2.0.0-preview.9":{"name":"@microsoft/mgt-teams-provider","version":"2.0.0-preview.9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.0-preview.9","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e95e57abd59b340729409481187a0c40de9ae412","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.0-preview.9.tgz","fileCount":18,"integrity":"sha512-U93y2hzu1FVJqJ5OwDICtgeqV33b//QqnBNLyWZjCQcFt+5kLpv0IVTcL5ESlMptlTFktTL6UtqAxRV1LQ2NGg==","signatures":[{"sig":"MEUCIDc+sjyGi+TC5rUeHciZSJ8W8ZX9RbzGxM+Wb3vpCoowAiEAhN5Cg3BDZej+K9Q5qfGZpHUWEaN97wG4bcHjceAwIm4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyEjgCRA9TVsSAnZWagAA9UkP/1VTgmKmcXZcPyWJLKe8\nDrPeTaKS0YZFKTLKH7YdtIKSYqYEpS/TlfCPNicznVUG1S/fNTRT0pMm7hu/\n7nDXTQcCQwUluMltQZOL4BxqyySQXc8ma2WrAiESRcAbXmv+7sKeFperi6lQ\nZEvBDLY8d4AC/PVbikO/U1k22QKdgoV9QiNsHpBQmQmc3XNFSgOk4kKpgBH9\nvd6IMQeFliJlqHBZ32sbzzyRlAZgOCZISVEdZVjR7OL7YMz1P3zX3deNma3A\n2JTIdUQ7L9TWARyTvggsT8hd9HA33bvpnkbFGeDGOcdCO/yvyQj/FyuB0sxw\nlL+c6wKIFdb6wME/R6aAeAc3yWKU7ho3voagD3UoqBDz4tdUfQCLZy8sfm12\nceHEsIH85bxEmYB1nJ6/VqpvC3gn/UHIXeLi1bxwRS3sp9Gk4Xrp3CPG9wZg\n9k5Ft++8N5zZVa+g02368Yza4tkDHOtv3UFe8ez0hcUwf7iB+Pjwv8JiQjJ6\nQdVtk1VGiPvKEZko0MiRGnPb1LIeu5Ziy4/DjI3EvSJE4nK1N0b6s9YWhSSz\nIp6GIqS7WMuKzaX0iyymDMqKUgL8i2c/1xIjTI2rkrtQTEh8A9QrK4IeVEml\n7HCLzqqKxH1XDQo6uUNeM/2QORWUFTTgAVo5CrT5JfXKbG0Ug9yLcCESoIdP\nsOOr\r\n=q+Er\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# MGT Msal Provider","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","publish:next":"npm publish --tag next","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.19.0","dependencies":{"@microsoft/mgt-element":"2.0.0-preview.9","@microsoft/mgt-msal-provider":"2.0.0-preview.9"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"cpx":"^1.5.0","shx":"^0.3.2","gulp":"^4.0.2","tslint":"^5.20.1","gulp-sass":"^4.0.2","gulp-util":"^3.0.8","typescript":"^3.7.5","gulp-rename":"^2.0.0","gulp-append-prepend":"^1.0.8","gulp-header-license":"^1.0.9","tslint-config-prettier":"^1.18.0"},"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.0-preview.9_1606961376215_0.2715410445329418","host":"s3://npm-registry-packages"}},"2.0.0-rc.1":{"name":"@microsoft/mgt-teams-provider","version":"2.0.0-rc.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.0-rc.1","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"162c790a087e4f303fb60b3e231572e06c617336","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.0-rc.1.tgz","fileCount":18,"integrity":"sha512-giGxhoGpfBnx9gqkPCj7TiLEfvz2qvSsAgTpf26rSR37H3oCzVwz9FozZFUg5F1V3T4lVFapje5RQqnlIqSR3g==","signatures":[{"sig":"MEUCIQCYjpGkkkXLc1CWmX8BqNa8MeaseMlc+QXwO/5ZPGhNQQIgCE5W6gV2ata7ko6kTYUKlAObVCdPTOXim0BB0lZWgis=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":486588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfycMgCRA9TVsSAnZWagAA6VQQAJYIbtJB3FmSeKvxalJa\niPF8pj+cOtrCI9oY0BLk+0yRd8o1NxzpIhLHfdtCsulCWV0am1GVdid19n5F\ncA3emf/EJlo9eDdpIlTKu3666TvZyp80X0mfIemLWz8EasOSZ77WuLaUzS/z\nj9Effp5/IuFDf5aogi7EoyGFB5Tz4dNvNH/PNjgwFtrsrG7oRX2o+eDOy+YL\nDUMmSy+CmKCe6xiYm1wWoXhQS1f/AweQMzB7Us43awoCb3LzAsk+TilFoesl\nSZjrvn/25MYTp3YIfRN6u1oWWeL4FBPC9kSIEnTHaUE0OPrsAzW77xeUIfjy\nMHvAeP7u3PEuMnSMGwtf+/IpmBWxgMuVK3Qpwd5y0YMXl1RuHRd1IGjah9fI\nHenLZV8N5Qu4l2biTSYRbX2qzNVqmBlJt4URfZY0PRca3I1iWKRuL5JONLWn\nfWQsRn8CD82XluZOWa+aaVf0Dhj473+npY7HQqqlmfa6zfyYl17FgCbsK/hP\nOKAHSIRf5LhMVAHkqu7PyQQ8T3OvvSMxOwn6rBLegq6zzKrJkEByOilxAtmp\nqDAEqYsPBCM9IlhhbDUbAu2/itdc3oyiF7642qnlidVSkFQzVEIHCTBJV2nB\nLkYUS/nR+PIr365DcBlJTe3FTU+y+ZsLtAAAutYKJ58bvZ/pA9x5kgfxhXPQ\nBTFL\r\n=qFB4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# MGT Msal Provider","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.19.0","dependencies":{"@microsoft/mgt-element":"2.0.0-rc.1","@microsoft/mgt-msal-provider":"2.0.0-rc.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.0-rc.1_1607058208388_0.6028246242488853","host":"s3://npm-registry-packages"}},"2.0.0-preview.6594bcb":{"name":"@microsoft/mgt-teams-provider","version":"2.0.0-preview.6594bcb","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.0-preview.6594bcb","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d45fdf7cabefd68ce8f1ca00c44b33bdf3b896ea","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.0-preview.6594bcb.tgz","fileCount":18,"integrity":"sha512-gzwARNvy57WTC6QPfgIo6AU2t6ZnqEVs23SG46ZVFn3hax1YT2mcc13h6J8BXNzc5fOf/KPnaSPIa9FfUblN/g==","signatures":[{"sig":"MEQCIGGB1TkQGubNLMcoNjswgPMR/7+miN4kg/c4b4JjZb9nAiA9URBc34ywRKZC2nPM9JVR4pAugKuWw24VhcAyrQnWqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0qjLCRA9TVsSAnZWagAA4N4P/Rq9tV9k8E7RpvZ6gxvz\n/69f6L1cl7maRmx0dxp8BhmwDpuVAH4eEbLcjJ2CUIGK1YUmXMDcqJZ7mb5W\nhEcVOq505OztFUVDL+qswn+JQCdIO5PrXelMljvYy9l41pAPjg2MACa3iNHW\nIKEbuljaOHAHfPydo6cmO0M7uWIXveKeMAxXsjkLM2lukwhq2b+rCh43NdhR\nSb3fpY8vZ3dadFVb0gaPNBQse8x5aJN5b/IcYEZ8W+umPiR9Pv20HCbZOV5D\nS9taCVwx8ZVE09p1YVAdUIVU3cE30SWQpGvFhncmCrLMXdSirRwVjmyWuxgZ\nKc3LzTYQVamUR9w3QP5zNaiG/3R8iHFzu6oOMPshXDlQyf7tixUCsGTcBcya\niJjIRSELSipyvGLC2lhYlTYAmFXA82OxauqLFIlqEYlXw2TqhYHPp5gX7d53\n7OJC2THkg17AukQ+jC5u/rWpru84DzpyOvPlSCnVtYoPqdHCT2tsb7lQVdVF\niyFlxwoTV/wXhd868SsLwUUCq5stbwXIMo8re3X7d1suLM0VGwBlmlFA3s7s\nqgRwAzZH0cWbhqAuelsH1yeUKD7dttrSCxNTW5A8WxL8A3Qh3IKRNzNZ4ApX\nPr9OofgplMZYIj+ujBrwyPAL+OX/ddrpZmQHMfYdfDdbOGahWCcPfaj10U5e\n2sbr\r\n=pozh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.0.0-preview.6594bcb","@microsoft/mgt-msal-provider":"2.0.0-preview.6594bcb"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.0-preview.6594bcb_1607641291041_0.986623252882225","host":"s3://npm-registry-packages"}},"2.0.0-preview.6959a48":{"name":"@microsoft/mgt-teams-provider","version":"2.0.0-preview.6959a48","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.0-preview.6959a48","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"fcfdb204c1fc2f1f97948eba85467b71c67c9c23","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.0-preview.6959a48.tgz","fileCount":18,"integrity":"sha512-XaWjOuKwS7OacwzHe4Yoa6EfplqUgGBIyuvgskNpMsydXAIDfURfnr+3hSYxTYw0hBEx84lMMGWNFPC8DPsx2Q==","signatures":[{"sig":"MEUCIDB0niRxijWLqUGuV4U2wXwxZFxALNnEpzOf351XaPOkAiEArLAQGgroXwqojufAFCBB5buVxR9kF2HJR5BPukCgV38=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0quMCRA9TVsSAnZWagAAkFMP/AiJjH1nKwY+5Cq606xz\nBnkkDdBFW/jAC1z6i8pLLN/K4p1p8jeLqa6l/VeBnyv6GBqBGR8b5z4mORlE\ndrucQyot6qqlmgZsAaE5DDKsTWcyrP96Dql0XIPSvteWZwr677SUV0ZqY/TR\nLAyNMnsEDp/Nth95qS+V63gj8ZyqCoCjo0Ywh0EXUAG65ppljTlwYmdyiKmY\nXB+Wz7XRqB//okxLouSEqEkIqedaNdFdHMlyBXcpbZOqlnZ7yVjf/Lu2yBbP\n1NuBiH9FMaahYRYZQjeNk6TQj2uCWBcgfDdNYYfYA8HXsw6Gp6luw7QCku0U\nZLl8C1Dyp8tOmZhB4kQfEEkkVKGkdHZ50bDkwKbX905ktMECMFyIOvi+9/wn\nK0uk67eRUBGqHhqfe0Im1ArkRohFdcfJZDlGnS1PSq3bF4u8JGE4rBCSfxqL\nUctaA7HxnzlzSTE4FUoK86jBTMKfSzjP3kY2d8i0lqGKDauyftbYgW3fQcvd\nMIOSNwrG/Xm2P+ytWHlEexBS7eypEKS9uxddSpVssiO4Nj2ZY+xqy6I7atRp\nfg+01BDEu9N5FPMX2pgFiYVYh23zz3+lSzwRoWbhiDsg43uEAeojJ2vlfOsM\nryLJZ2wAjEW7fDriMPU02Jo0niIKFbDexGp2COFnAINkFqaQ0HFgejECfK4p\no9yr\r\n=YfVv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.0.0-preview.6959a48","@microsoft/mgt-msal-provider":"2.0.0-preview.6959a48"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.0-preview.6959a48_1607641995813_0.29099099570620135","host":"s3://npm-registry-packages"}},"2.0.0-preview.726deb6":{"name":"@microsoft/mgt-teams-provider","version":"2.0.0-preview.726deb6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.0-preview.726deb6","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"65522c3c7281336d9f58a18673e21c4a4ddd7447","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.0-preview.726deb6.tgz","fileCount":18,"integrity":"sha512-8WO7gGVNVQhxigJzzWIG9txqR4cUUORIF32IrvDTAw41IkctdqmTzSs0uPAoZ6LoQzO4du6P3osCFBfdick38A==","signatures":[{"sig":"MEYCIQD3pOsgrq3+K6kKSaxjF+QEqOJkp78gBK7sZbbnflkTiAIhAIizluUQ9/25kod+OZYTTD6GJbDHKKLgMy5GigjVgL2d","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0sPhCRA9TVsSAnZWagAA8rkP/iVRM1iQ6F/rmCQBFdZd\nVW3Lx83UmRFS5lQtQUCCykXUxkXdFeAJTQGdQzeHT4wluf97YkBV6uDpKYNf\nFxrGchhbcOT96EU4XCWVAwkUi2X59Ry3Ke2/sJBJYaCp7uoF9iPI6c7eaTjN\nHs0czY8zBOguJoMKxe3RPrABLmIc9sAILCcMdFBX7S6MsfmbteXNjb8umeYX\nrlfNeo1nbRObdRa8kvuu/fTA2giyEPPmcGct7dp2EdfrSSJgSYOYbHurezjx\nZ4/XDdHY4CLoEieaFBJ0QZCdqpQTBEc64U4YdF5EnIgEuY5WKOO3pj78CgLD\nMFONQ8KSf57V1ZtbPOr4pml84/Uw42rknRiqy4vROekOzFvAmbVOAxjYnbSp\nblV7MctbJy9k0bMhZ5LSxWIP3q9yPtjlu7XyRUeOfEBiEHleivsjmnV53W3d\nSim10pMH9Bpg9b4Y2ks84YTiWmSxfNqVxu/6TJx4ntx6WntlOYo5mJUuOacT\n1EBhY9eLE1lJ4U5LPHZWp2BTozPobMV6B16djXcb8n1q/YWDhxEvxbrTA6KR\nHqnio+bJK//cFJqo7U3hEtpBZjNod4OesWecJDacOuUgqETlUzQ7izF3nKLE\nX0R0hLt6SpCeqh/PZSjWN0K1TntyNVWPFbdHuGRww0CJ83Ekg2CjNAEu+Jg4\nCCpC\r\n=vMci\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.0.0-preview.726deb6","@microsoft/mgt-msal-provider":"2.0.0-preview.726deb6"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.0-preview.726deb6_1607648224746_0.19965752029441286","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@microsoft/mgt-teams-provider","version":"2.0.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"fa46dea211e8ce3f7f0b6eb9fdd52080bdeb6fc0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.0.tgz","fileCount":18,"integrity":"sha512-IRTOUghv949iPL7cKj/Gc6Ax2XToyBb48hOoBVoNZVs6qXvvVwb4q2zdW2VZ3I5rmc/KYEix8xrMZtY6/WNnZA==","signatures":[{"sig":"MEQCIF2NOaXKhN1MAw+p39MDAXAIRch/7WlstNv/bezD9o6ZAiAV+gWt8mOOQQabLU02EaLHf6WPWKFpB4oNNq1BVkOr/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483973,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0vo0CRA9TVsSAnZWagAArdwQAKDG6JwFy/hKz2uT4b6m\nhPDVBcfN8KX++8ckxvTfDA24AOxI7MLbDvazBZXp37rU6rLLxs/+XuF5TYqG\nVTjo9riV6fox907moIHX0DbMkMUsLR15L+r0Ct2xkeOywCVi5m2J2UuOClQu\njzp/UtzqjOU1hekqKOMXQzW4wwzaeqHrhkurDBOgZ/QNbEBqSCXgGha4+kdC\ndXyQuwzUEB+5XcIKZ7u44EmSq5ZTfQ5dshNpj5h5juamOSqAlGWHv1wT6IPg\nwSLqybkTV277E5kgqk2obPk9JEpssjhWhGdtm9p/rWchXEdwRLnOnVvPQn8B\np8PwLrEM8JxPI6Ted8iNBdRBP8R802XCkDxlDDzjR8xkKfzJktdCUsNc3GQ5\nq3phK73/KKckfLjtOjuCDPCipp1UsNGdvJcMLmI4OODo/oKMmy7VKMHp185O\nluXOjPWUBoX6eXpy3v0WXznPUt5BBtsvg6IAcwke4hT15VKk8pROVbeLr+yX\nsUUQYcHuFlnIxzmZQr59sX03DmaG6yuPHLFEBHfTXfHLEaPGrwlbiiGTewir\nAwpucnHgGbDKaSQ6dsbRQYD/UH+QB+pUJe0gKI6EHfoPwL2m6wxRz0SaqBIF\nquRfHSi7rSKa4Xo06lGdiGeJ8cIKa7KJKwmN6NBj4uNW9A610hTJb0ahkBAr\nY/Tw\r\n=M37N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.19.0","dependencies":{"@microsoft/mgt-element":"2.0.0","@microsoft/mgt-msal-provider":"2.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.0_1607662132563_0.462677605022803","host":"s3://npm-registry-packages"}},"2.1.0-preview.44812ca":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.44812ca","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.44812ca","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"66a5d8aca96fb58e4f085442aec68d0b6def544e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.44812ca.tgz","fileCount":18,"integrity":"sha512-a7tmVp9UDo7+03yn3+yGbM/oLZPB4FmkAN0leLB6oQbEOxJnQthGInpUXWmt4WlyDVaHEtMXOkP0ZdH9vkytjw==","signatures":[{"sig":"MEUCID0l9zdUtUD2jEQQSBZmzAOoSqKsEkmoFRIONczVE8xUAiEAlBmjjQ36meaqu6jRJLfqcl+4gsTeBt97bzCjNeeYc0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0v1bCRA9TVsSAnZWagAABZEP/3YsRjdJ6qLwhv4QSaoU\ni5/syI555sprFVx2yzmitx1MlIbswTnCksLzXgpmCAOLt0LaGOW50rZ4ENG5\nBzP7oc41RXakDcoUhS7OStPUbhDpAaLOE+NBDdFACLhdxEuV8r6/UwwSHtYq\nYFzlEcGuTYJFsXo4RFTC0HggoiGcdzJU82Jm67Z6yAzMjOtsk2bek7nZLwY1\nX05xKuW2GOfiBT+FrYPmnXvTDLbYiEuADsWZlw88yDakbFi5IFTN7jX6FO03\nhBfr6rthHDSdymHY7/jt/53LtI9HThv2UP/j+1mKO73zZJaSpP6aAWofRjyS\nyjut4lnIQpHypcRPTKN7X73C68NLienOzSuG+2iDWhiNMo3SRVjP3+ExytUc\n9PjMv3ZpaD2o0q0iqiVJqvkWl2QSM9bhAuxi4/IqYD60yXb/maCRhy9Tsk7/\nYuf9wEoB2bAFDcM46TLMm64RN20JjcmtM3i1X+rsgm1qyAzINdKGYEajWoxl\nJhfRy+kcXP4QYW/GMYNnyVVQan9twGf1Pk+y6wGDujg1jjRYTLxMmElX2wb+\nhQ6hDmku/poJZZKN9p3n1GJd/bXc4VXsi9RHJA8ypBj7iuLBS2Z637cE8jSU\nAZ19vxRdoEQgmgb48ULA40TbVhJbVZSVafQtC+H4drgX5VuYnT8bGj4YR8sW\n/pnk\r\n=4/2z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.44812ca","@microsoft/mgt-msal-provider":"2.1.0-preview.44812ca"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.44812ca_1607662939503_0.02402240888991436","host":"s3://npm-registry-packages"}},"2.1.0-preview.0ae5594":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.0ae5594","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.0ae5594","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"51a31a3f90b2be68ace6c9527114bbf69233b230","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.0ae5594.tgz","fileCount":18,"integrity":"sha512-UbJ+sx9bBr7bm1sTg3bER0HYTNQDNeVUcYB2bxc9ZVf8mlnuKCiilBy/alJTmiM1JpQ0LZoAWxpzWAcXHrl1yA==","signatures":[{"sig":"MEUCIFZUbvYG1rLQyzOPNWo/fhMHHtGpfchq6iC/HkspxDXWAiEAqLBVInmrMor7dcmWPCNB81YsluFm6i5uosJLJwOBx5Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2P2ECRA9TVsSAnZWagAApkQQAI2CaDBaMj7lw56ONJx8\nQrVqJ12iv6uof/ylCmKetwPrK+zwa/tHIZVbsQQp/RRNUTA7FIprnN/P6w6p\nz4gLxLntF1ZL9695eyj8iHvTJM8VCk2wil/5Be//0X0ZM8sp9GqRXqM9DMQt\njnEKOkRsw9NBqhKADN9IGVWqqzbLkwrbwDHZbxjJr1vmGIN05k1msGDrB/r0\nBEx8VsNa0Nhz/msbtoS0wNY3v6BmQFIMW/cO4xuBnc8upmiJ/hxn+AH49Yo1\nYYGSN2+VHDINrGF8nLw/xuc6evLigcwANtcXOFOLwNrtA6I8H40Npkq/9xZ0\nar4DQQc2QJo0DZmP9p1O5fLsIHYkajwDYz6z0HvmFHh0ijTwCdDREibOkaxl\n+IDHMD2uJOOFLFV2Cy0xjEde69aBKEVnHKYlKIJbYuwRcmPNXc5p60hS0L/a\nGzNldwu00IwwGrQGNOMyPj6TVO0pIImxVItwxw0QSJ5KsX87+OMQUYkDKw0o\nU64J3keamewX0op8qVNYBURq+Ahzl9t+8BSFovwcSE91CFNRXUBAesG5YBgx\nLWHc1Gg7QMgHyQhdjrkPjIMreLp+yrLqBHQcXbIKjO0OpfBbVTQEZFtsXZ4t\neE9LukOx+7MgIKo3K8m6qmbtOfb9kEx7ZC3HJ23pcgvqOn1CtfS4QpKPAEZ1\nGuaq\r\n=g8F8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.0ae5594","@microsoft/mgt-msal-provider":"2.1.0-preview.0ae5594","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.0ae5594_1608056195603_0.13500751211030582","host":"s3://npm-registry-packages"}},"2.1.0-preview.17ba514":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.17ba514","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.17ba514","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a412b1142301b04d1c794b50f3554cfc2f06e964","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.17ba514.tgz","fileCount":18,"integrity":"sha512-q/3XT5p9pYNMb809EXO4/L/AM6bgiIAhtI/iu0uxe2naM/z5nbnnPRay6TULUzjLMrpZylYWucFIGxADMTnx1g==","signatures":[{"sig":"MEYCIQCvoBt7zZa7rQJe+jQbhjiVR/uwhGaRSbW9evqXlyhizwIhAM7Tz3S9ST1MI7Iv6q+xWUKsgY/lFq6Wc7RCSPfMPaib","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2mXhCRA9TVsSAnZWagAAbDUP/3ppNDfo1GP2UVeu+FcC\ndyeRRVRfKu49rCS34p/rIJ/cY/25mU61+wT8fdnGr1USmunAV1ivLNw1492B\n4gnB3br0JfJ5q9lAZeQuN5lQ59xuPxuzTp2Sjd6GHyrAi6zs8qWfUlkxxtRr\nZQuw7Quznh0xY2neuA5QiprP4BuxuG/vm0R4q/eUVk3Lj9PKbU5sbkfAaI1P\nkjAAAZz9/rxVUS58we5BZy8eaqWXVNEckxFTokgv05Y47+KMjOJGEeC2D8x6\nbY2Gt67t0feOhvq3i/M1J4mIYhEmET7fFcq/MLLKhOfz7J/4DRwFbPd7hPOL\nTzFj+f8apKXEA9iJptMzXIZVZjOlcRZ/i3WsSGpx6YLaT9f43hhUcRReDK3M\nelhEfyKQRmQ1t/b/ENQ+HSpY78N9Fa46hMvz5xmtjHA8zvjmwYP75O4FKh9i\n6AIb2dpnJVOpjk2a/Lxxg2HbUn3boJud7e5ANPQ2DUqOVmSOqMnOdWx2DORh\nT/I22e0KKVTmdqh9W33L6idqPC80c/dHDoCEYHhoM15RIcgVJDuWi5XwlP4Y\nTbvR63NUdRKGLbRvD6SJlxOff+FvXh62s26VN0bL2LgCiczNLyCPY9Kdj6LO\nJc829CyvRtOF6z8EIqo0Ih353Mm6DPubSTY3OnL8R2Lel4klDgZKFRSR9lQh\nZPbH\r\n=xFXP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.17ba514","@microsoft/mgt-msal-provider":"2.1.0-preview.17ba514","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.17ba514_1608148448972_0.6317927729366342","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@microsoft/mgt-teams-provider","version":"2.0.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.0.1","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"33b7cdde51b3da28f5b2ed5237540dc79b3c2b02","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.0.1.tgz","fileCount":18,"integrity":"sha512-l+qe00KtZ5rqoGxlORMQHu9NyQ6yyi/qjfyuVU0mFhsR/9Caxo7MQEojWEnLxnmChX+W+O4gRbuphYc832xfcw==","signatures":[{"sig":"MEQCIBNKJK5y3CylEvvn+3/t5hw/cwYMLOyfqT95RsZbPTbyAiBZ3iqJToNvroDjEGRw371Rs2v++fULXoYWWxpAmiZ9uA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2u31CRA9TVsSAnZWagAAwksP/iD4CfmLhh5XGIMg7vze\nSqOh4sWJs/DiVKJYqKI4/BzMldbutQuUtA1D1K+QBy08Od+IaQnRTq8EHjRv\n0aZgN4JlK71Sl7m4pPWGy28wLtPc5W36UMmUPrapscWHnKtix4Z1X16Glrqs\nXqCrjKzpvzi+vSIQgaSl50yH5DwtgUZEBsX1h3q6OO4JxrjC88pv9Up7YYBn\nXJ2QLBlxti7AGGqRWGIkma9KXaXa3zI10/OLOsovED+dSN22zbS4wRohrOKV\nJhdyzWx+RU9pgtfUPsOrSi/R+6Mf5ZMhdauRa9fxutW5fZ64VE2RRwxwIjDs\nhL6j6lrkdIek+RumZW7E3GdCQEX/wsponguru+GVsodVfzkXARzdjg8kE5Rm\n3ZSaR372PPFUh9Ekpo4ro326oOkWNX5Ar8DN9O8eZW3V+G3KItJ9SCokw0+m\nQZZEClDU+dLt11UUqC2rYAmsr5Ye0aogpcrAEJX7ZFXAi9409Lzv5WoAc2Ta\nu2juR0QqoJb5Yc2WpQskckLJKhRm3M40oFdhghCFdb7M6J+1g6SG3gZZ6ldF\ncpfL4UUAoiBJPCsRgUREReEtuiZzeTTnbKxWkfqpNXiXzTjXrlGBqlPNqiTi\n017c1wHZ2UB6dXt2tQlFBTEG425lGEShuFytt7Fadca4YUDEOMJFwPDXagK7\nGK6h\r\n=Pve0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"10.23.0","dependencies":{"@microsoft/mgt-element":"2.0.1","@microsoft/mgt-msal-provider":"2.0.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.0.1_1608183285285_0.9992665388616102","host":"s3://npm-registry-packages"}},"2.1.0-preview.4c9eb38":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.4c9eb38","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.4c9eb38","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4f00f2b21b9ca36c4a40649c6f80edc7f6b8f5ca","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.4c9eb38.tgz","fileCount":18,"integrity":"sha512-q2Ca8B/Yr+i4PFpml5sPzZYNa5oNlpHaA65uuncg3rK0aIJn1RX6Kg7pYRDn/8pjk19lBO0KxEXegwaqX2yawg==","signatures":[{"sig":"MEUCIQCfCZMjFHnyJ6MUZNEh6ad8Ar2YtGKZLdLLAS8R1P/iQAIgZrqoEd8hbL3g9HnfvuJzLhrsAK6OG/+Bsf7WP0tGMvQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3Q5wCRA9TVsSAnZWagAA+xIP/1zJCxlqUXXic9ejQ1u1\nzTwgqxKVMhr3LE+/sT7AoEZMhE5Cur4Th3PnYaGMqGrNHGpCfkoJyir0ejV2\n4Yu1chw065fWxxGxdpz8zbHBLThuSoI22CqYlYtOdVN6qtPwDgO3H9Gzt+ps\n7urL7GQsIvTPdboqvnRKL8Ty/go64AZb5zF6LY1l1o+dPYMwz8Ct7tEGkSew\nrsRH0SNV6nWQAKN8pLDOKO0eCPqRgHDUkT6T13A24GyjSVTGSTLYXImx/NJu\ncOdnQfCDjF6Mua3D9RxYeG5Wn4v7aOHLHcijnr8+mdFU5NrPF18it3NXWZoV\n8iJd6AasigeVaSx3K1s5jGzLvqz5QxVuJte/UVPk1MInVKfbOpPL3sdNeHsK\nqAyS10MvLAFi20bVjHdEi4P1hZsTUMSlo+qHbqvCJ53FfUmLB9ICTLou4OIC\nKtNv249hi46M8vXInv8D8vZw/bLhgghoBqbA7GrVQusF3fwGWCVG6P48DObn\nKlzxZ7yN9MznUIIou6bGWOqbIsV9rHXlIxa1TmYJMQpjzZSLAA3kSIJyih+w\nW0fsS5qUaIx77J6XTSoosGdNbJR6fXW9Pt+Cw88Kf4l/eVLk/xLWjizmz21T\nVmbzi31H8usYqoiR1s3lp6alfrVlJ3m0iDAVXhx1EGLSMF4S74GL0khbi9/j\n0g5c\r\n=K6CH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.4c9eb38","@microsoft/mgt-msal-provider":"2.1.0-preview.4c9eb38","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.4c9eb38_1608322671951_0.7162358786821055","host":"s3://npm-registry-packages"}},"2.1.0-preview.56c1f66":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.56c1f66","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.56c1f66","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e9866b68b59531dbe16702ad337489b5f4d466c5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.56c1f66.tgz","fileCount":18,"integrity":"sha512-35hFLCzIulxwJHpuHmL79htWet7QiuIKi2kOBVfN0YPArqQ23MGFGLf+c/lYtr2FlBtYxBhifR7XNvEiMR8Trw==","signatures":[{"sig":"MEUCICzv5NJkdHrU0JbZVeYNeHQ10HUXwXo94ehlzylG/rVaAiEA8/1tHXCzw0j1rS4P/GUBW+79s803VfBhRecrmr8YqaI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf84rOCRA9TVsSAnZWagAAN30QAIGDxh5qHWx28JCPGSiX\nD+Ih1xg1GFD10S5ln6XB9PC3Ee3BOkMXMHZYWlfGiGKtMOGDq5jY/vPZGVVX\ncytvnk4aOipvaZpYXJtb9n7Zz7d00PsjZCt00auz0gxL4tOWLZJpur5Gv2hr\nnpITEHI0WW9Ju6lNOUu06/PQey70ay/qiAesZcZCCUIaBBrdRhULssgNuOaL\n5hNoVteuCCWWcGUSfGfbdrvoSFjSao1bYtOANVzdYU2andRCyu4NtgBh+e5a\nss3sK041O8EyZ+8BraRyGyERIyfubbt5pCZyaRe0PscgLIC4fZ6CKs9Mr5r/\nEZ5g1xe6emhsFTUSjvxppsaumuGP0yPZd3G6BpscVejA/+igFnvxxcPdBMlI\nDFTngqr2Lys3zDGvOEKeRdsHJV9Z7rOfvpEKDDc51U1uDfPTCFInGNjX0e44\nS+ZekXHsWu1XCOXfup8/VmqrEveWPsGjcuWinoG+nmoYwhrQj8i5BY6iadHH\nJqHIlFOiozFxqDhPmKOpeed5S3ACagOzQ41HoY+wThJpFLfdOG5p8nkkOAjq\nMqrKzEULOnkkG8gTbKCysZlNvxSUpEOUjykomGPIk8IahlzO0DbCjDnYx3Im\nkYaC5g1hasIeqPuT+fJtsKMYnIP55QwZiNdppTGUBMu04ZO1CJheCQS2IoAR\nxvB1\r\n=/CrM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.56c1f66","@microsoft/mgt-msal-provider":"2.1.0-preview.56c1f66","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.56c1f66_1609796302447_0.4044933502757566","host":"s3://npm-registry-packages"}},"2.1.0-preview.8e7390a":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.8e7390a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.8e7390a","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d713d93cd2b8643962b7e57c68ecd44d39d5f61f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.8e7390a.tgz","fileCount":18,"integrity":"sha512-Sd1PqhDLoN9BhbHijY023w0wIrNNPnJ/q883aURtN9JjV7VKsBc76RO89elUAvGbuJrcn2SMNWG7e8Ve5ldteA==","signatures":[{"sig":"MEQCIHu8uI5LhxzN/YuyyilrGSRuh6J2ojAfGQxMmtHbbhswAiB8mqKsYo51CQHOxQ3QiHwheWZReod5487P6kmHSWrlJQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9M4MCRA9TVsSAnZWagAAF5kP/07llYHs96kiILR4rks2\na0GnYXot4Epbz4FN3C6m5or7FgXqciUunqBRNwODUfJ58QnYD2KZ8SG0fiJD\nC1uh/V1hrkQH3PKmHp/KoPkhg1hgetKsGITCbfclwOZhIvvcjUCCgyJvmvgG\nLLkY28MawtBhNs7wDmA4Wh0lMxuqlHHyPcd8i6aVi5DwLnaD/kPP3NkW7Gwr\neUmigJAjFS1xie/xbr9zzXvkffONFBZ2L2tbbiJNxW0EwyYZ7t6rgMwN8f6I\nE3J3MeoINoeHcTw1xmzDsjCEq6nxA2EWahV4nWUZcpBdiyOLd9iZ8goT0s5F\nEv6YiEVFjIYbr6lS4aNyGjt5fUN9K4MxLygm0w5m62g0vB/BjCaYG05iUoM0\nOZyggFwkNC1eo76aVyCY27TyIKcuSxos2Dk4zeRbTztGgNp0UbhS8+kbSI9F\niGpOM6/KWh7/NGrg1a1JOSqw0K4etALfz+7gUzCfNZ512ZyOHbojpGYoVM2u\n4GZS9q+CqrJpjZvufdYMWf+fv2hvJXjC56NXJWXaiZzPkUje9m1/ohei2JqP\nmUh/vq8YIfvSdEa/dHKx+U7SAHYmZETuA0/cOnekdBx5zXuhfpZSg4HT3D2d\nOKVTPU2QIirIrpEooPlo1st2EpcaxywFTgkkMVHA0N8X1irPOi9zNiGxElaz\ny4/i\r\n=p7Ly\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.8e7390a","@microsoft/mgt-msal-provider":"2.1.0-preview.8e7390a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.8e7390a_1609879051655_0.6877414325727853","host":"s3://npm-registry-packages"}},"2.1.0-preview.b2d9eba":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.b2d9eba","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.b2d9eba","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"33b39469c159d0738079c96fd04f6246419cb605","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.b2d9eba.tgz","fileCount":18,"integrity":"sha512-zlOqSoDNCFQW93vo1OPoRvz/TEGqZjzoBU7jwbRoNEsWO0+4K3zvvr9BOpA5AdvASXU80ROQjD4BvTDjcmwqPA==","signatures":[{"sig":"MEQCIH/9d15RSep+uUMjq0arCxVP42plaSIZoqEZRjTdV+BtAiADFEr33p+xzvkDXdS48qKM+5Cu95FitCnNgRjJKrP6Ug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9NOcCRA9TVsSAnZWagAAd7AP/RU9nRV2VA8kgH1KbKSo\n8s1C8Ph/krzC9XBm//r3UBqa3yFqBvt50sq0izLxsWuH1yKIk9+o5K73e8ZO\nmN+VyzBXarad7B/5FeNfIHT6lMlreaJxMfXwbOrOeaQLidAh68O8A1UOU4/L\nLQONqmMBs1mNZLN1SbHqBVBTDD8E7vv1J5vi55bFENWWYPyKIFPxetoTyOCG\nAZad2KX6wELLILYw10BzUTR/JGa1VXoEmqPAOc+TYiW8VIeUI6BgpCwkzHWV\nmow0aKPmB3VC5WfJAsG3aCqxsQ48WXOqCnMolz0gmkErEh9m9dnn8O1cSCRM\nA9MF4RQWMeFUPDwPlqjEQxqn3JddTJaRLkC+ou08mphgnE+riaCIXilOm+MK\ng8T3Mmip9La5OmO/HKkDNeCfxfryvLMKHJonveI7j6SeyLZAy+WNRUQaX7Pi\npnraugxTSZoIb8aRa0Q2wWopzGPX8sJxmIuoT1OsuWFrNa+RH53BQZeJ+Bhl\n4aeJG2Gm/pEvh/EWZnvaNhbtvkA5HNJYkDfeJw71zgwfhVXas5df/qAzGkOq\nzi0g2xAJSeeiZNcL6c8CnnvmAyShiv4KJMyhqfiQgVRTvf3A9oeNAOJMhrFH\nSfxDZUx9W+wyrwQXW8WcNoJ/LqGzlMQKxJtgiUD917FaLLkqmbfoYhBQqVXx\ncFgZ\r\n=ZARQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.b2d9eba","@microsoft/mgt-msal-provider":"2.1.0-preview.b2d9eba","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.b2d9eba_1609880475741_0.20470562520079838","host":"s3://npm-registry-packages"}},"2.1.0-preview.5d4f56f":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.5d4f56f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.5d4f56f","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b22d72c827378449eb9178d2865c955621235578","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.5d4f56f.tgz","fileCount":18,"integrity":"sha512-KrWv5WIuNbKsqselCms2Cke0So5qC5cYcpOqvkPS5GEfZBeK+5wnrhfWyNphxvP1XAi3N3kYghGLGswJufLtow==","signatures":[{"sig":"MEYCIQDI1p0OjEJd0JyZKCfqkSMk8642usErc7YSckRffDk9gAIhAMyDT7QiYWSPReBwCYsKP6LKRjZc13Y9fAv/wK2P+I6m","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAIAqCRA9TVsSAnZWagAA0AQQAIpY4PxLwD7wsLNjGhwY\nBLmGFd+c4umRQVQzyy22CGyfRwWnOlxqJMMqlBEt82q3VW1R6mFZtrYIbRc1\nNieO1SLnnO+rfW9UvD7w9ddGqT5AA5m5QGQP1m+v0wLdNvVPCWXTJxgGjxcj\nZ7MTX1IzxMw+glKwwsn76J/74NoYptXWt8yenmJ9ebj5w6sarrmurlNOVDm2\narBEh1y7AzCmJckp6BORnOWniwM2I+0iU5cfY6IJbS4NJZSn/0L2Wy/PYSa3\nj2Wu57gVcUOV3JS9lfxaw42cmImKQwN29sEaL6Ixp/+5bpe1jGtNKUVyGEoo\nJYusxUYB97iwEUjf8HdxZOKZCao3XcT+gu9ly490ZjLjmbp5OK4/vsPy8NuA\nbP2z1wyYBy4+mP0C2/ETRYPQ+O0CM8SOH/PgDnTPeQPtgUIMscsRzggV8PAF\nhxS6Bzo3CvLxYymithvG4w+zLRhVnZv5eMhNGwZmueT/wz/McgQV2OSkiU9C\nLZHfTRB5ZPEYiWCFFElaDkl9lkVEIlCm6JQiWdk/dAElWQO18E9hOnxcEKHV\njTf2GxBi1aVxgq9zh7tvBcc42cxCb0cDrftM7yz1ut6MNf8hcARS1khDCJjf\nGZZvSED63da5w+biIlbqPEQdLzZzKZw6S5sWPJaDHM8pnRR6Bjh0QhDmd7qD\nqQRt\r\n=rFc9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.5d4f56f","@microsoft/mgt-msal-provider":"2.1.0-preview.5d4f56f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.5d4f56f_1610645546126_0.25604866981248087","host":"s3://npm-registry-packages"}},"2.1.0-preview.0f17751":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.0f17751","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.0f17751","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8e001ce2a5cdd0ef51c71ec38a2459b3cc1d2bc4","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.0f17751.tgz","fileCount":18,"integrity":"sha512-+hpJuWhq+erXyyDdxxuVOINGv0P0XJRjrcANiE7W6jlcIePDyqK+9PEkLbdpfgVsb9DZNCssfVDq1DF37MClIQ==","signatures":[{"sig":"MEUCIQDnTKcKTBuvkmPKb4zot8PJDGmls2ftYjmhQ8uuPWxmnAIgBiEA+HGYAxHPmC6fWz0FPS0tRV0HglMn8NrqI3v6eJo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":483439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCHX1CRA9TVsSAnZWagAA33QP/3Bh07avf81ysGOwIQl3\nDYeTRPejKvaRMWN9GyVLvrfkCKVMMrLptfDqQZigJDLxY2kewmjNq3BTWcAT\nHSwuaaBWFqoel1UwRZkeh75MsT0B0wrR/5XG4/Rn8Rx2WUcAlr7HA8lcpOJY\n2qEhOlE9agUu4g73DqTDqn294xDSU+Grcx+J6bFR+PvEqPYwI+es+xERpYVb\nQeDCR6BHzZI9h0c5k0i/myaClRDNYwMcrdrIDE7w36m5iR30exx/NptJX5q0\ns4jGP9msO88V5UffXfjDJxQHHSt29wX9Nost4jQYjgjPl7Pf/2JgXqvME35M\nOrq8rRCsrUUy2zRmXsXpkfrOS32YBWAnAv2dg6pZXqnmkd8u37gZlYeuFMfy\noq8WEc6Hl3reOqdA+mkzh7X84vqBoQdxtSX/im/h/P7COY8wsYmgPQZeGb+s\nnF6y15i8F5pNkj7H0KECNVHjcJwG3w5M1cxxj6o+wpGsbQZ9yyeI1sIb2eTN\nJNmSnB5URlxMS9uFxv0BVgvQk4M/PIQRQR5SEPgs6jfaUtJeCIBks/va4UpS\n4j5r2TX2DzbATqamCLFqqWoocAGAyhnlfK8uIxcNEOm3wHPovwK2FLxP6twT\nzuTNf9k05hBtAMvt6qZJgaJh4v0PG28fwTI4K9MPRD8p7+N3LdgZtudtXO3A\nhrv9\r\n=06YY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","setLicense":"gulp setLicense --cwd .","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.0f17751","@microsoft/mgt-msal-provider":"2.1.0-preview.0f17751","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.0f17751_1611167221399_0.22439882132597244","host":"s3://npm-registry-packages"}},"2.1.0-preview.4c52fa9":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.4c52fa9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.4c52fa9","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0c4a994bd6f713b4e047ab70aa10f6119f58c2fd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.4c52fa9.tgz","fileCount":18,"integrity":"sha512-7uAKz4mo60g57+4BRd9R4Sai1XsJr/lBgShJIYK6TJzLLkRpQEX4O9ctmToEZkugzK0jgSxP+MdiFyXfbci+2g==","signatures":[{"sig":"MEYCIQDjyLUNMM7PpImQOseVTJp8FtkPWKmKVO6jGKxjkgeXuQIhAI1nuMInD1+FIN6Ic/p9vsdx+QEApJ5i95hFWlBaDKIG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":474570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDvdoCRA9TVsSAnZWagAAuWMP/0o1CW9MeGFE/2Z3ugFu\nNbmpN6KwaW7917XSerK5w5ggcSF38CKcaUM0hwcOS26Lj2zKByGjaKLbUROs\nqVz27Jpi2ze1Wp8xZRceyAKsttbTfMc2VISSxoZSnPpcCP8DXtcN2ypjTmES\nYFTyZBHmzE9gbfUomh2uaDg5DAqpfDndmHC2SzMkvTIWCN3CsLwSSDw6pde2\nR4h4SOLIX+fghjgPSVq5wM2BMRmw2s1jpRl/mQH2Bw+H+mUWEdI6U+I0KJuE\n87uHmvCThhAzeIRURhQgnGwcWRf1EssCllAbY5ssWPqT8rCsj2H/P3jX5/Ml\n6pcbQ8zq+P4apRObqzG8GHXuqt9OLPucpP+8XzBnfqPLPD6HWZieWhKd7cJs\ncgfA8BhbR8v70R+PF8wCjirJtQHetRJJV9jjCPghZlw4lOvxp0nk7bhp53Cl\nXUlw7IWCFs8vLoYbPtWjJgxC5daRE1G/JJnwhOmXUV1dEXdcISdZ183/5DU7\nhrKZZGNb2nHmB7oNqdGI+8eH3dncSzqSyktrWlrMydfVGMdGFiaBtcG0qGpa\n1iAHOWkFqkCiKQOtFVtsGLLStu3lNwmQahkVoP0WWIuAaj2xWYHqzsI9v7k5\nzP9uWMCKYF4dm9L0rZczxo20wCxtNpA0QMa8MGYdNjoeqGcVbensGhYpX9MY\n68CB\r\n=55wo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.4c52fa9","@microsoft/mgt-msal-provider":"2.1.0-preview.4c52fa9","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.4c52fa9_1611593576356_0.9937099940444125","host":"s3://npm-registry-packages"}},"2.1.0-preview.234adee":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.234adee","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.234adee","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ced0e05c3690bb9ddd3b39e8d4e2f64e26d30fd2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.234adee.tgz","fileCount":18,"integrity":"sha512-j+OdtV+qvI6LbJyItZflkvSn7391UIrhMMHvpX0P09Nh6lQGBDCa85aiM16xjxkz2dkhKln50/o3R16jeakIpg==","signatures":[{"sig":"MEQCIC6D0sSUv52eOKire7+MEW6aHUPcieKFjf0dPheOaA0cAiB9LNtAy66nbKnS6V6/eJjYUpAZbBAmBYmurOfboGb85A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":474570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDwIwCRA9TVsSAnZWagAA35EP/2khukxqbwwTaIj0MoeY\nQ6ZtUZA9kiGL5Y/cUaG1LA/H9+lW3hWJi+ncySHiAW3DLJRFJcRbDImmP868\nzODhZUAiy9NJ7VmsfG2u0xZzkkSkxSyMzXqyslA3HpSzXDMvNHdWfBuReI66\nIGDuF/rIJs7SGZmWAK0HC1DV069kNjP8EiIp0ZaW2PM1btXChI5lV1XGnvpp\nQh0T+xFeefqS17r5+vuX+xQQXIjL2NPx9lU+wJAz4sVSelKbHmw8hLSsM7FT\nnrTsJDnwujO4jROwV0fBdncQDpJetGJ+4TBHMRHTC+CHYOmzGens1RmBssP4\nXSj7jyrlJQe8GVUUH/rwKINIcyj565fxXS6RmoWhX/n2CUDZgL3JkPN2GOTM\n0CL84ljPSrSKy/5pPN7lco+QSq3qoUdU33Yd4DEnWF57sC02YYQ5aGKrGh3A\nD969OsbLFocEy/Igiji4ifbtMymIVzDwhWLnodOmNNFjv/wQqJnzmZBjgLrT\nuDgl6O/kwAjx+Prc0xgrs+8om/3h4EwsQDRFmloMqSElYvqWbkC07gIuxbOD\nL1WE9v4duIRUVpPZ4ahmfovtk2qaMrH7o+xsevgSqm9GXFnqOJNGjm4AnoXz\ng5/0KFnCxOS1KVgZA2j+YpduaWhE5kXFp/cZVxLXrgl2JUwIYWSi9vKNRCRf\n9hf+\r\n=uEPn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.234adee","@microsoft/mgt-msal-provider":"2.1.0-preview.234adee","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.234adee_1611596336208_0.5383709842333477","host":"s3://npm-registry-packages"}},"2.1.0-preview.906c726":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.906c726","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.906c726","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"45b498c224e942da60fee1a083320331b72c7a32","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.906c726.tgz","fileCount":18,"integrity":"sha512-Kmg2O2bk1C5hJrkTGAQ57zU+T7gW5B8EUdoUdFH8nq0Xg3yUiJ9myovdVxTv/8rMmqCytk3b0cd+XOdHWOwyQA==","signatures":[{"sig":"MEUCIQC1ltJ8f7fE0KOa4E9pByeLSsNei1GKFnSUrpSfxI4CdwIge4+ACC/pykLVsox+j6GGH7xiHnsSqssiPgAq4HJO3s8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":473587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEFbmCRA9TVsSAnZWagAAD80P/3Gll1N9a1HOnivMr++A\nWRVgNVOhtJrkdgVIbUwa3t721JmnDg83ZgPS92VQMbs9pCOvS6vdcGaLSjqf\nAvZXjyj+WYi1XBrRO+Uf3S2sC8PW5QRp6+9Gg4Mo8fnv8/OXcMktM69u/wOH\nyU9nuNJeuyS2g78AoO7wyNujZ7iMdwd+fgrU1tR1SASUccW7aKH3i43SdF8Y\nY8vxjHLiVTP5mb96oCtC/Qy483+e7F+xKrVDwuxRQjRh6V+MUn/TOSwCL4uq\nmttbZT3bXzr/Sb1DN5lCjqdE6e6UstexL6FsQhiQgM6YmhlAI4VZ72JWeu4q\nzbunZxxLYgI9A6N/uWc0NkPyga3f5Rfu240JbvdO7V+mThvdZ74yZf+efnnP\n+YpSYjm+S58T9iBKyCryN27O+U2mIgmiQ+TN7jWh6SL2P8KvcJnc6qwmTvPn\nR/UtLxWbw6C70yOZIzVWDQj4gFd4FpJlnlgGMzzRzJulvzddRJEIr1ZxKmck\n+7vRJFPGMMj/E2D6dEudK/o3qpR2m1Fnf4PWVVDJWNBL1YFNnkANqZF+n/qP\nTd/jblCrUSNyrAyLwRsAc/yucKbnKOJZZYJnOc+gDe8x+We8YSzqZWEfooUz\n5tZDc8bS2ohZzXYO7ibeSnSCltbYkHfKCq8Nh1cldn9j7i9NAzs9tvrMhTEr\nfsYm\r\n=ZOy1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.906c726","@microsoft/mgt-msal-provider":"2.1.0-preview.906c726","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.906c726_1611683557902_0.15623580244918633","host":"s3://npm-registry-packages"}},"2.1.0-preview.3ad97e9":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.3ad97e9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.3ad97e9","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"59e33b87c6002ec26eea18136ee1cb9a55b0d19a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.3ad97e9.tgz","fileCount":18,"integrity":"sha512-+IDPTL83PUXFalwU8UOtAvh7ngtzJPF9QJZ+7EzFLVMMVGLrli38Tl3Hy2Kgn/yj1w7u5pABECkOQ/UIuGDVYw==","signatures":[{"sig":"MEUCIQDOzi3Y29obg8Bllsd7hw77SLBv4kXGrDe+T+tt5myHSgIgK31FNVod+tAJIBOnY3hcW7ppVwcY3FtIZWSnbvY8smI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":473587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEIm2CRA9TVsSAnZWagAAt7IP/1E0e4g0/f7xjfGmZQuG\nbWnGdsWfdmiv9tle6XaM7UGC4RGQGhcxYhLUBAkKs0al8HvwmnCDVbGn0gVT\nVQ2MXU3uzi45rjTq/bfEPJSyy5vhHqDQ3/dFZUNqPaM9AptiUGiLHYhshRky\no/S9UPJYDIBzr99S7YT5YCGkUvTch7AWn3bUPlptBWiVRrLnanrxqgbWnbyJ\nNSq/OVS64U8/01NQQRbpsajQkZBEI0FsRlHqe//Zp/ZTJxUCVDIPzRZQxG0w\nmb9o4iQjAc7yrz6TZlYSTEVQkBLlof7NIpMIIifJcET/qPbFDUWSNsdjWEbu\nt/fine7bEoqwLvjj5uV8cAd+a1B3ypK21QDJtHfb/HxHp1x9ehVafiFS1de1\nlzxn9TIchWd3+wJaan0ctnE2+6RWWuW27U3mj5RCpv4WYPx5PWUGSPciBL5j\nTSZK3exNlBJnrrtpaCj1ZP30465B7k+pZGpjX06UKinnWFR1KIdA3fhi6XbP\nfXQv2RRtb8mi4S5QNI92fayLBRB1WNtS86KMh/iDtN9lWHR/dr/rnfR/3lam\nOalze+5dcPyM2sBpDZgPm12Z3VOADNM0VSKz8986mxJOkK/gKWXxLWy+aljj\n7U3XGtSMkNYHMNy7CuY5WPhnVlm7CCQKLmioPnDcka7n8O8mMJ2vdKpUCwzu\n/UUL\r\n=DeG5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.0","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.3ad97e9","@microsoft/mgt-msal-provider":"2.1.0-preview.3ad97e9","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.3ad97e9_1611696565981_0.37155627369188804","host":"s3://npm-registry-packages"}},"2.1.0-preview.1d6fd02":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.1d6fd02","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.1d6fd02","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3b8bcf753c8208b53fb83d65574c764ae212b58d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.1d6fd02.tgz","fileCount":18,"integrity":"sha512-KeOlWWdzwTwmbYeA6luJFEztN1QjUmQfHxpTwXiD3ZyqrV/3mUQnOA/KcGRY8fNe+zpZmrjj5hsAAdyYcGXhdg==","signatures":[{"sig":"MEYCIQCvW6aKAYCuer6kmpfSuwFmnG0y2nmVJG2RttS9jZcbEwIhAIg8AnUAItbemdoNG2NOlF5jN9//G4JDj1HlO+vHMUmT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":473587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE4X0CRA9TVsSAnZWagAA1kEP/RQfuncb+R5wOz5prH0Y\n9pX9+md4VGHGUdAcLpeU6opJpB7udq171pSpnrWGlqOaw/sl/5YL9KJlwuN5\nuDtfNuJOxa0fAZdw3mGAvFMxl2UwHlt8/4DZeR7WWxQYiQrImrIFhIjzdX3b\neEK59mJHcf1tBhlA4PWMZ40x3kD8zXP65lHBid6xIBXOtLGRbgm1wR3XPAfB\nSLQjAZHZTpcbPpLrXRdAdr0ROvqgfy/9hAkb/Vii8r4xj6BSifXJzdX6yfu8\nYQfkGk/L1BrM9fiamwmBIJeeOmqtt+Zko6yMT3dwlgEKs0/YzZnsEK8p6d6e\nC358AzfFs8VolL7tCxAPwKB4AMSLc90MTg/g5EKFHEYs0kNqc/555Ocvzeal\nvfeITWSN/A5Q88K0hjmzCE7fFyapp+eneD9NnbKn8nVwOVmB8slSmDIUvL5t\nx1yedhDDvTgvYd94tFizHH0jQ3EEpr8X5lLVTtHVBXDQZ5+BOYUg/QcIM1ol\n+IkoH7dH5zaoWhqkmfzuKva171XlLQurkUmUvW/KWZeuTgHUBZuTrvZ0D6v1\n/7nta3ey7zPnnQ49qBvSBD/cFhQuIlmqHrj3vpAnq22Aa5iifjT1GxLrIGKu\nxqqqruTHk4ivNuG8uOVtaNJRiubd+pboFpX4vdAZ+Z4JXnZDg5gSr3j3A+v2\n0kx+\r\n=R35v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.1d6fd02","@microsoft/mgt-msal-provider":"2.1.0-preview.1d6fd02","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.1d6fd02_1611892212071_0.6041063413482128","host":"s3://npm-registry-packages"}},"2.1.0-preview.3e755ca":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.3e755ca","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.3e755ca","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"65dfed975573aa4eb862cdf9a9bdfe328a788d3d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.3e755ca.tgz","fileCount":18,"integrity":"sha512-3mwxLDXe0dUwQeiz1qNDXaQaZ7Ku9TgRa76kOUrS47JUvRyKlfy/8UMb1iQUdDNNVDdXlyy9hcu0mHI6hjGf5A==","signatures":[{"sig":"MEUCIQDE1M5yXL0Hi9sJj2ZGXmu+gYNbotOFjicf7MU7XinwkwIgDge1xxfZtzG2NQg5vEWKSmwdZY4hbrsMkd8MoC5G9U0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":473587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFELHCRA9TVsSAnZWagAAXcMQAINPAYmVH7gAGT7ujUM5\nh7aKuPsQH0XUY14mxl9su4oMc/e5aatRaiJwkQxrTKK+xnUOLL54oIpoh49u\n7zDRw3S0PZ4XTTDQMs2/n6LtlDXMZNxOZNIJeDxUqb/hOPuGezAk9FIL77SX\nKmDyD4yPRbgqN1VLFi/Uj/s/tEIHcOhYSF8t8Y8hMdRWjCntYVv90EEvCZEt\nHVJzAaAOVIW1bBQdFGsPchmyDqB0NSIOIerkM04Ipt+cRxt//De3xUsAbfZs\n1lRLM2O60jSbqJwejYxU2u5eH5PBDdgBuUnECitz7ZLADeyqZofvFpJzHjV0\ne8q2j3wNuSHbjqDLMpBACdgVynHAv+TaRZEy+lUW8U0GcQ7UfxTuYgd6RVfo\nUyMl1YB7FOtIYKoOBJL03L/Sgzd6HU/SBHwyn3C9h/nFqmheh7680y6fg6nv\nRW314Y5rGDSF7TBc/T8Af14jfGeUTzk2+Tx6Kp/tc8hswIb3wEIe5QEnJdz0\nDZsB/IggHELPmxotUz6O2Q7JVdGZbRVAxpiLQPhFmUCsNf1Id5upWu6E/4vi\nP/XcVKOtXQCK9Hx1bVaqqh2Tbne7yJ5mEla1lQCQOeFsIP5gK6iDPQ6b3Oyx\nWyYp2Ky9s0Bl0CboxWZ1RZ7tlMqeMV7c84I5zFYah8mpyVx30dxOwX/MGWkR\ncaCt\r\n=RvOH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.3e755ca","@microsoft/mgt-msal-provider":"2.1.0-preview.3e755ca","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.3e755ca_1611940550986_0.15189093908731932","host":"s3://npm-registry-packages"}},"2.1.0-preview.e61861c":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.e61861c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.e61861c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d1b8ce2b18ae9de3a5930aee875fa5f940ca9302","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.e61861c.tgz","fileCount":18,"integrity":"sha512-JN+5dXUaiD9sU8ckOTj0y9/DabPzrmrR73DfRg0JXlE0LfCz0XmHr0LH7oGlbWekYAP/8NyqJYyQjfZ9EvtS2g==","signatures":[{"sig":"MEYCIQCkOFh1PdiPQJkP5CvII27ijTJaPR8e2b0UUvK9CSvabQIhAOn1hVIa4jCpjfLYGI9+mstxVvV+yGC1uQKrXq2uziwE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":473587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGDDoCRA9TVsSAnZWagAAL0oQAJ2N3xShNwNno4s3TIfT\nUZIHBx5nfDkT54mNkTLyXumoFWcGqYhOobfK1ch2ZEKYQYiT1dDXYLGIxfh7\nqaMQegMGKl6y01XPHjmgxzDI9gg1kBTgi1g4En/XfJ9Bmxw08I5ecPoV/7AJ\nCuzQb3MxiijchDTtEAOdmSXwHIueL/0ABad5eOb0ubhpsbikAN5er+yl9lM+\nXmbfmZltdlEYjlqTsqHKjRx8SLiwqIRXvf864EKdaiwilYWT8uCCH/9H+I0U\no0gujM/0iUGF+ne3LX5dRsJTuhWpRSQDuppu5dwGO69zE7J+9X85oDfLvn1A\nEWEjTpcy36yHxmQC5BC6XW6hiT54xetbIicNTICIf5a6QjQ0RkYD2956jF5Z\ntvblh3QxvfzGXU3Nhn/yAHBV0NK4k1aSCaUYKPu78Kv/mSjPkgx895Q1FCQl\n0kZ/7+F/4R9K1b8HzRRVpF5MGCgwLqfmWu43/XhA7UV0uuEWW5GhJLgvR6Em\nxnxOhw8p3uRwx5eB9frg8TVLdOQ302UPqIa77acUkAKya0fioJmJaMfKgEyj\n5n1SYTYP7KISaTWOIsTke3D1BouvUoHvglnEloBm2UU1nFe6uyGzyFF1jF63\nT7o6M7rwd78X8uFCjeSEXLtbI56cwnfQpZzYGbLjFw6+5iNRi+GLlAl3VOVD\nPaBD\r\n=cjJ5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.e61861c","@microsoft/mgt-msal-provider":"2.1.0-preview.e61861c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.e61861c_1612198119979_0.7915180284188235","host":"s3://npm-registry-packages"}},"2.1.0-preview.6b153d3":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.6b153d3","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.6b153d3","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9d3d1ebce62c318c0d88a79afeb74d90e734df5f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.6b153d3.tgz","fileCount":18,"integrity":"sha512-i37edD+0ehT19oWsfp/nqQqXDDuBi3Dok3h8aZAHup+E6tfsOHt02xv/no8SDTsByO8TGJ+6I9Bo6PAw6C/ohQ==","signatures":[{"sig":"MEYCIQDrgNy8ggQU4f0/vv5sn7tU3la/ve+CYKOmP/0Fc1vWXwIhAO/wSgO1+KgZJPFg3jYKKBLGJtUDTAZKesKt6drFLQo0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":482569,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHZ4lCRA9TVsSAnZWagAAQ/IP/2aH3QPsN+oq0OGNdPW+\nEqCUg2QHQigtXJyeLn9Go3c8USltweLjtm6kcs/e5TtvXAJUSSZKDw7RAtvn\nGl0gke4Ilr242sh+54jufP597OESlbe8xIdFa4xXFNtBpFYrWgVvGRgMebhO\nNImKmwmM2j2IQ7J4YUIjve1MaC+dfg/YmFV0TTdAWNBlC2ivIjR2vVDVULL0\nnUFpJUdY0royFqxeLJPuh0ypm7Mw7tz8JCpdXlXNmvuOiPepxdYZVBliAT52\nMvWVlz7F5g9GNbo+egIoRU2Tx1gUXqVTXKlFeHVYk7dZhdDPFah2lse6dUgQ\nBt1vbJJw03OtmEYg0Al+AIW+xNod7Cpwek4Z3psPcqyXQUCn8Hew6RMOaGSn\nYH1azlk7DpUFaBp+kcDrkxN1pbB5+4WnFrs5toruOCpCgNAyy+5Eb1sLXw8D\nuDo6KvDH4gKtOLacx8X5654TCHHuoq5mJ/hTIP9bRZI0YDaICFL5TYdMbLMB\nN91HroQJSsCJw6A5PFvOa7zJSrWZqdLNYn5D9N9vAw4jwqyE7O0857pbxMSv\n1pLDNbO7BVAg74vS+yhxyCJUTE2RTjlyr7KcV+5mPUNm7bwzG7T/sjI1UVic\nKTtPQJoQKHcASAO/44qBvWI3VLgIFY2k77oX8fPImFgWwQqGDVvmQ6mFTUUu\nMZzi\r\n=ZZC4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.6b153d3","@microsoft/mgt-msal-provider":"2.1.0-preview.6b153d3","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.6b153d3_1612553765391_0.57486615116184","host":"s3://npm-registry-packages"}},"2.1.0-preview.f66db69":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.f66db69","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.f66db69","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dd21e1c891c7453a7060a1b13f527d1cd2c21101","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.f66db69.tgz","fileCount":18,"integrity":"sha512-BAeHWLD2m1cNH8QNBSSO1eS1QOpRSsYSBm2EzCTeeoTHH30qXaz9YAZ2Jdgy58QSiSth3si0ZA2ZH6anDhrlYQ==","signatures":[{"sig":"MEYCIQC2EATpJb5hqGk9RfZ9ZHZNPw/92SO/xfbvEfzPgSDO8gIhAOmP/Ks8nuK8j60Tw4DE63qguN2quxdbuK31aLcLAdk9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":482569,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHec0CRA9TVsSAnZWagAAj88P/i9Kjk+P3st4AFCzwTsq\nmz3J9a3SoNaR6HCTb+8tuVbBBxkWtFKeIvH3IPFs9lbINgdMLgQM7N9wGWaG\nIvnNzAyn5iEVQbBYO1dkqqSPOqW8ZXV5Isz9i14O9jqAg8yENi5pGtis+4Uu\nXGmkIoeccW9GbC2515YcDboZOI0SCFMarDMG11j9cTrINK2JILwItu6Y7bhQ\nzvje978XK/zAZEjNWDFBBPorgN3lj0flRCtnD+9+8wzyHba1nBH6MfP5LT6I\niIzm3SCkSlBrAzU9kzt4AZS69ZN8PwdJFsLyDFxYNVtNjUC8jbc5+C5PWtCG\nSyP2Y50QlXjkU3WNscb7H3ACzJ6Y64Hagrv/bssfUdO7BAvIPl/H/eN7x/NH\n7HmZxii06UYTcXdJgTA2KY5klLH+QAjZWH2MPtaUoXgQRSCwVHh/kZjBO9Z6\nIJuI9aEyJdY0845/TVnOntHV29PPL2jU3tAG5hoQNkWPnYOtwJwpHhfpEjY2\n0piBcmIjOrvpNEgSKxUpSE2r8jj4BBjqQ6Y9420X3ci/ZLzli4LDrv3yHoEJ\nc6HPurcTT1WR+0e+d6yO0pmTn6kDBCf76Fc7zj2d3sV22XqXv97VRYpwdcpc\nt1+vLZ0OwZCHPzPSeZeDMtKs50VUDz+LzGLJsO114unpqvO8C+tchrskjvX+\nekGh\r\n=dqvT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.f66db69","@microsoft/mgt-msal-provider":"2.1.0-preview.f66db69","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.f66db69_1612572468444_0.8022232333145678","host":"s3://npm-registry-packages"}},"2.1.0-preview.63d8467":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.63d8467","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.63d8467","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f23bf95628f626746ecdcf568623c6e968e3f8a3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.63d8467.tgz","fileCount":18,"integrity":"sha512-cARIDsINUjHexE7CuCi1r52yKdgdkzjVjbO5kMrc7Cl4z19VaQPTcDSUuufDQot1HOjEURXqc0o1b6tTxhOlhQ==","signatures":[{"sig":"MEYCIQCiN+wvjUpvA6SB8mxfcqIotFoHfq2NyOLKdkaPiMJW9wIhANDGl9G8tyf/GVceee+nR38rPjOXZzsrJz/X5Hg1NRqu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLWlwCRA9TVsSAnZWagAAicUQAI0B/D6AsLq7DZz6MsVt\nO8ICdgWKf46BRvDPJhJH4iYz99wCIVzE5RFl/f6xNjfTGHTdKHrSRVLFl6bh\nRD+R5z8maF/qb0fUFFKz5qtziDG874vxuao+KNOv9QhuGD0iBMORrzv4XwTK\n1t1Pl12YgctfgA2HHiO3ymNogsp0qwBZ1/Wn9aZWzZ8t3W+c+S1eB26Ou02/\nGCFw2bC8F3j+9Sbmr446ktfq+ryrhm525PzDbdzgCv6OdsA7QUkNA7epqBXH\n8uiXuv0xu8lIsSsWNZ7u5JW8xeZ88qoczZyc2+6uX8W/C+tzcZCUkXd1TAUt\n7hPD+i7ZXXoHbVANTm4Ld8duHmgNfKCEISGkc2i/uFgxWrXojiXJsEpTXuvT\n+8471ZPPl19SFMSGILovfbJCX2pkuKuN8aUybczSi9dusCkHkIrH8FIVeUOv\nuzWWiCSxMbkOnojVPCrxyDUWzQTuxHowEoIw80GBLzd7I8xHjquce/Vc36aw\nmip8h53jTJzMPFrwNkSxdUe40diE/qdFXthSQ6AQQAb8GCntkZSr/iJD7InX\nHlmpOMdrHij5/57vaI2RY0Vg+A/QGOThPpDoNmZk5HQf9jJDob16JwDk49Da\nf6K6MvTLZVz+Cjs0uluj4ioVDDtN/6pMyM04bLZaVld7Myh/lHq3BJvgU9sX\n6CRe\r\n=9htr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.63d8467","@microsoft/mgt-msal-provider":"2.1.0-preview.63d8467","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.63d8467_1613588848007_0.6486490485524374","host":"s3://npm-registry-packages"}},"2.1.0-preview.e85deaf":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.e85deaf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.e85deaf","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b2f9d68d6a832c84f51f392f470b4a0b63b6ac76","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.e85deaf.tgz","fileCount":18,"integrity":"sha512-0EVfUntvGG6wnwiHqnRhLtd1l8xFqDOkh1IFaFWeC7hnF3UjLBEC/2wE3W4ymoh05bLrDdahc29FRffBbJJ/tQ==","signatures":[{"sig":"MEUCIQCP0OFb6AhN2HGpKwtDqInJE6+ym2riUzbwaOTsfAmP1QIgKXEtHzoPaiZWgO8eXDdAOQi/9Os4xLXgK00qi/8EArM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLuXKCRA9TVsSAnZWagAAVyAP/jht+17wZTENcXxhd3fR\nlCHumKDHRhDzOfjWeiI56hzBzia/OBlceRQVPDsfmaQKNxxu6mRoaOjVLSm2\nk/IE66A1NeRnfRK6+W9mlKvn80WFW8lnBwL2JTksG0ynFeDoCZL1YrLq1nPR\n3FUezJcon6bID9bZsY0U70cFhtLAcwyuNWC9WZ0iZfCyNBb2b/oAwnmUwc2B\nKDVtgNce+JM4a4E4gpBtvZGdYu8A7ppJcxEHeLTgZ7BYl1SL4DkQ6YZZSFct\nzItcxjwD8SyNbjFnnIL6G7KAboz/EX3EZk3yFFvHptUOmej7rXiVMLUb+SU5\n02TNu1qj3P9qGh1Wj/sUYPu47TczagwmNfkus5A8XkdxARA8GqdXOz32d0KZ\nDMTUY3fb+DuBvl/Rhry5BDkboX8XkPpgSrm/8sHZI+02fPMVcqc53dbhOUMT\nnG3Ce2zbbXRtbj7EaV7JnbGuJJbupA00lvSeZhG3brfTlRp/qGG+BGn5DUTo\ngZCBEeXUQnbuaTBUcQup9NSBZUmSqGXcP9086H+zH4nFKKa6QoT5EDVbwzAl\n6qvZ4vho43+ArzL3cuYpCVWh/zgYYireyvJK3YlBz/DKvilsF4/Xa+hyU/8o\nULS5fo8gnCPymyX431YDPMzaLY57IXNXbUi4Up0HAJwP21vklIQmcMebsgxz\n8anf\r\n=bq+T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.e85deaf","@microsoft/mgt-msal-provider":"2.1.0-preview.e85deaf","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.e85deaf_1613686218258_0.03823326970910834","host":"s3://npm-registry-packages"}},"2.1.0-preview.30e4008":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.30e4008","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.30e4008","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"149ebc715222cc03c3453e30dcdc8b093585ceff","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.30e4008.tgz","fileCount":18,"integrity":"sha512-jtrsGgeq6fo8HpVErMPjE9Xl+18bPlpgTET6w+KDKDpbatrsqw70LdQ1zdJM0t0PcL8I6ONuuWgFZajp78Zh1w==","signatures":[{"sig":"MEYCIQCH2HCW5haVF5XxGwQ1kLjUks/CQ8OL8t5HBmC3KFMrQwIhAIM+pmdbrelLIWu+lEnwhaXFxiIv9zRgyMIFKFjP2zd/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLvsZCRA9TVsSAnZWagAAm7UQAJlxbn56lTq4Dh9MP5DC\n8iUy1syDuJjQs5cLDLOpi5lht74u/88ivZlCMWjhj3AqUuxms1bLI0UFz9Zw\nr5HVN8UrEz6xsdqp5MVwFuNjPXiZYJIG/6alon/Y85Px7RpzcGJ+JWGLI+4N\nShrcx95UffMXS1k7myESWhPDBLetKjoNLluuffwLj7Hhm10MU6bJWhHUmr4Q\nge72vjyVVEGBtUx4JDN8tHO5McOxQQOkYQfUCjcUoN9oxgFBzNUD4ij5PxQ6\nC6rOoYKSkbRGLm9t0ivCpUfFYCpz4a/3FodIMg28B7yRmReL8TFPe6uqEhMg\nHPYSsNibNE2LPMOY+yBEnFtskKxh6Vkb8Y3AF20SFM/c9OWFrngp6cMy93Gh\nhABcXjoPtiIzfZYgzOgYBQmRHH9j9DInEdS/s3yyhWry77meZg7oYwpGM1+e\n8GPMSajwjKo8OJgZ5WVU3gKLmn+rVDaKOyUvM71J0NmUUNj8bwf6thpAGsUf\nqWEkxhkPUnIXI6Nkd374hIiMF7PTJDKVBIGhddYvkdxia0g1cgoW5hJO5ICs\ncxMr9BhGwkoULcLXiHfrjRoYhKPpHqohtd6ioqZJNnIGNJ2Drs8fB10OdobT\nRywcVLoFuXfmyFIcrAipi5ODNjIUBwYW+qr0Apsd6u3SlrstgX1ClhoE+oJd\nVj/M\r\n=+dcE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.30e4008","@microsoft/mgt-msal-provider":"2.1.0-preview.30e4008","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.30e4008_1613691672837_0.6995947966299569","host":"s3://npm-registry-packages"}},"2.1.0-preview.8bfa6f0":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.8bfa6f0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.8bfa6f0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c4d133143fc05750117af4a35520589c91241620","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.8bfa6f0.tgz","fileCount":18,"integrity":"sha512-PG3UcQNHzKTGbfg/sMAiavFlzmTAEtwIJJtXwkersrEtfox9yVt8Pet8rr+8sbQFcn5JX8lDyc5kI9sFUhCkLg==","signatures":[{"sig":"MEUCIFTfumhIqvlxsfCZz3Wf9I8/g6mQYQNw6uPf/mkx4epcAiEAykkqD7gp45B2M/+R4jTDgChEpQGR6+TrCSShKp0NbeE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNU1CCRA9TVsSAnZWagAAwG8P/2MMDCeKWq5ZizdgFXSE\n8OSmlHcCfglbb8C78O5Lq5N8LtOucODnBG6bBK87YQM+xvtBzXjQ34eV7mVO\ngpiHWsKoUVKE6iqFIAnvTepjk7/4j3sCE115LQ2pQUzV9yCz2zwCAg0qYqcZ\nh+lPTHRwNsniZQT4rTw+iDTO/gbQ2Qn4XQM2Tyjsfv6hMOg3VY2Jl3yJ1BP1\n6bO3FozZKp0s9Wqu5zPie3yAE/Y+mBDUy5HKeLChWvoW5qab5xCEKaBG4g63\nKLiDg/2+c1PHIasI4npANoKIJQssAh8GjcuvfwlH+36BwVBnies93njTAJvk\n5SOXcwMYjLqZhbRnU+TasMDVba5Hvu5uQ7G1n8AsWAnP/XGPHGU2FD1XIWXv\nv/g4xtMcOf3Ve9U8W+eBtT3izh5vjvdmWTMgQLYmOrNH9h+dQeq+OPYsa/wy\nxsLVgji4a5NRiT2SE1NJ5TWyNkcXauYx9Pg+uGtA22b6RMmW1GqxQ13ceDGe\naHFHwGQjiFwphbJrTX42EIbexSYRpufC9QXwC5NK9TykjpPNoCUCmRi3D/mX\nxPZub5pGiu8q77vU2ljhBaYz/nteRHXpffmPqATuI7FAV/+KUAtMpYeuJSwH\ndP4knqM5xbYHt5VAXKeTFA310xsuilOt59yuiA33mgzNstrOcKYFeXQHDfZ/\nsPKV\r\n=T/3+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.8bfa6f0","@microsoft/mgt-msal-provider":"2.1.0-preview.8bfa6f0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.8bfa6f0_1614105922516_0.1680183333564238","host":"s3://npm-registry-packages"}},"2.1.0-preview.8672ba8":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0-preview.8672ba8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0-preview.8672ba8","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f8419a994627089db51fe330fcf23fbdc4b88a69","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0-preview.8672ba8.tgz","fileCount":18,"integrity":"sha512-Bj6MrQ66EU/S0tYvQBx1c/UdOnerz7lBC3/NYx/m9z8gux9bmwv+eE7M+AkCyPA+jDpX1vjTcGccI6M9MClz+g==","signatures":[{"sig":"MEUCIQDs5TBKuJI6niQL9Ee6pGVbc5ZA2bgsWcYhRWs4yTPYVQIgF7br6w40JjsTtG6h055uYxWJrZZ++jsB/yhnYQIoe0g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNVRKCRA9TVsSAnZWagAAyJMQAIUxCyDUa7q8Nxu8UGQ3\nMIMzdMuQm/w8yYcYL3Mt4yO6AWII7wXqTpqpY2FpwUz/eCBRcgFSjHyTsX0T\nmxGOtmsLtWY1z0/JMzBMs3/55zETbAXunXz0b7gqAcwFjcDXc4FD8LUXrlUK\n5uh1Ad39xS9womEbzNaR7OsMDoJQtepl7S0iTdlLNczixGE05at2KVh2Tfo3\n84oySxOLCX0E/KtvTQeErN8FcJoJkhHn8yxi+PrGANutMkhWunkGxeMW5BAL\nPDA72tUn4cowXnBAk4wx0wYfgULPI+6mBLM9/cX9Jt2N2ARV5yko1S7zQxIS\ndnEkpzwWieMub1R/bGSHKs4GW2jD9JWbUhSMhhDKvLd7RI57JyGUYIwim4FK\n3IfsCg1lNDmDuAvT/usKRmUwDv6yN2a3YNmn1Mjw04P/BNGFYCunDjCcDfpN\n0P/5HZhL2xd+NOdW/ZkzsJomgtSNtIiCATXP8junePAP1GuqBTJ+qcLazLPN\nGr0JPGJiYFJ+g4gRqGHbkzgKwuZa07DM43Fo8oWQt3NQzoQEvHDP256DVRNJ\ncpjmIJsSwAFoJuQDfRp1kaughTYGRNa2UzvYxoLOCcZuo8+Dt1LUaiCYI9Be\nAKeDgIGoZgMThKIraZPUJFDX0RQddbxL2ur6nlY9e9IXUSxG2PTnMPtEE+2c\nsY3h\r\n=QG2o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.10","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.1","dependencies":{"@microsoft/mgt-element":"2.1.0-preview.8672ba8","@microsoft/mgt-msal-provider":"2.1.0-preview.8672ba8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0-preview.8672ba8_1614107721957_0.5976160543815334","host":"s3://npm-registry-packages"}},"2.2.0-preview.6e3772e":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.6e3772e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.6e3772e","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"683743b6199f293c698105e80fea59fbf16a346d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.6e3772e.tgz","fileCount":18,"integrity":"sha512-0M2PveLGM2FWkL7n5YLqo6lyEVf8ydoJeBbczZgAeBx+jq8Ht0F5pOA/zcEcmW93NzhIRSLcvu1uPi+kqd++MA==","signatures":[{"sig":"MEUCIQDNoNSlyWQybl/pxhnlwtOI7pfmBTEK/MNcXPq5ftM8uQIgR/T5LS3LfVct5PjndPmtCfU6ZeX0NSYPSQmBkEs5HtM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgODFXCRA9TVsSAnZWagAAzHUP/R5e0FwemMcPZ9osVt2z\nYCZvgx5MJAfoK1wwelG88wEI1MALlKXwPOju0KZd+ags/R6h1+XMsuJ/5282\n0oZxi0+KvIQhhZdq+Or9X2s0ZiKCsTvwnrE3gqsMEQ9pBb8PabyEmXtEwxHx\nLz4hA1dX5g/jrHYFSykfFh5LAB+uVbnrFEa+qIl12rdW3dkd9LVq0EXxLPDm\nk+F2xt8uwvRHvqDQm4irQqZYRwXTUOLFcTHyPIxxYRI1UiiBMoHGMIHv1Sli\nE+LcyC/a1Fsb46G22zVBLiVlFWChio+m6o5sury73JQ2dC9dMs1D9D6lLmv/\nZJr23Wm+ixMKNm0B0Uz7GDWQ9Q7Lu88012V17h62G/+9R6wOkk+6LuOCoo6B\nZWytYcSI0IjazooXMjOTlfBoVXNeeSzRzvH06IYyXwvL1ty1pH9bGKSkzevy\n6DkxDJuA12FHG6kX7IuoAvKwJL9tZbCtDKFViybNsdcRzD9KVtVePznJSGuC\n71bijFo0ch5enqK8FrLLcWwCuBhyHJfFFvoUyQPl59XT1PrbDbBQpfrVrmJm\nKtnXZIkUMktTFoJlje5jZJoHUrLb6URIfvHnF3x7l+EfvWopwHnoTpVI3QEK\n+mUwRIgMMv03N0fB1aWbjPHi5dWdiMslm8NusfV2RCEXlXNMqS6/D0hkKNAG\nh0KY\r\n=0H01\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.6e3772e","@microsoft/mgt-msal-provider":"2.2.0-preview.6e3772e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.6e3772e_1614295383376_0.38536882158446106","host":"s3://npm-registry-packages"}},"2.2.0-preview.db82765":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.db82765","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.db82765","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cf73d2d546fdd5cf62cab6e56a42d78ff4427d7a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.db82765.tgz","fileCount":18,"integrity":"sha512-GKa6/+alOdaOuBOsq+85EoGzDhTzdSsenD3HDFuEjL6ORyxZkTw4EZBmy2vU+2USH6ZAvyav/qxh53P7fsbj6w==","signatures":[{"sig":"MEYCIQCqL6RLYqNkvcedgemajf8ALzEvZc86uvEkisC4P06VQwIhALmDO2LgkBIHLBu/mYvFbER7HP+DzaQkhRUAf+YHcs04","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOUqICRA9TVsSAnZWagAAZFgP/3PiZ7am3FddReXRXwGq\nDKqtFvYARInMPJAqCyKroTfzd3oWNj2wxJrEaQwRpa6a7g+qzIr2fYh3MH+R\nDqbws7a16ILnYvOZ8GQpR6gEPydEPgnKgxgKaTaGVeG61Y0aBN9HvRLDjYQ9\noTiZ674oQuXqx3oJDLDcxJ41QQE3UkwjDKR9glpjJwRmdLk4s9YsmJ1JpSWT\nA/RMCJcIgxTvDr2UrnVyz9n24veYZXnRTUWiFK5q8HDzi1eULKj8JPiaQPrf\nFd+lLbDwDYQ99Ia5gyhJUjNoaIjEEXFxMJr6A6RaFUE7lbiV6AHLsw3suuJQ\nJVu74yLtgYYQi5q2fatV32S+KHWiT3b4z6LKwGt7hRiWyelPSBu9Qm0z9m9D\nP1cmoZN6um84oWho3O/z7iDHVVApcfWMtRipapcgnXuDd1qWk2GDT/Rrxuwm\n1JbYedIcZe7Gme1Os5njZGhVkqpGQsmVUs+qyvFJLPTkWIZXcBWUlID4I8wy\nOFd5DE7KVQm1ROdumNqpTu/iWlme1fkadiezhx9haFfyKKBy7oX0F52cnUaW\nisAHfh+Z0f9jvpGeq8I9gOVMDUsPTkYezsHKfBMXBhVsA3BBP2SaWjGUtvU+\nwVnBEwyCU1YXm/EjXvxbsltrecrzMDfAH9IA3pCynLPk427gd19hZ6CTI+2u\nTP3J\r\n=EJQR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.db82765","@microsoft/mgt-msal-provider":"2.2.0-preview.db82765","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.db82765_1614367368343_0.056598788318593884","host":"s3://npm-registry-packages"}},"2.2.0-preview.db82765b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.db82765b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.db82765b","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e70532e6522000586b945fb40c1a337f16f2b881","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.db82765b.tgz","fileCount":18,"integrity":"sha512-qmzPcTzfCmTJMJJ3gMeYncFnPacFzDW1eqfeONadgZyZwZqTKqWifpF3bw5dHYww3bOIfmo8WDcXkB6Ntkk1vQ==","signatures":[{"sig":"MEQCICVJz56Puui1eZDMJyvSQ2WcCiVvioiqe9CyIU+N3GovAiB8RhMCy02G6AriHnWVoIFDV41T4QsTNUJvTiX4+eedWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":494153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOYyMCRA9TVsSAnZWagAA/Q4P/2E1HLSeNaeFde2h9SN7\n6nQDGmliPir6omlaa8SA+H6OVkxg9jJWnhbvJ2mb9ZS2qiyDTPf/duVdJ42i\nWFva1fEv9i+bcl9wA2HnEJA1YfaqZAA31WA9cDBNPSiIFLwaoAQCe25Cir42\nkbQMHfmpU32XZWzA77OhawMvALK6koJjOu0/IakbaGz68qwFsgynOTCpFq2Y\nc7AOO22XrPizIBO0M6GvuUM529H/YSN9c1xgqVpMnenJ99WY3pqlAg14O10J\nVev2467sqkH5ghzLv1oQx86zBiLnfsdRBWRccEKLuzExlaCw4sL5YhcQUCm1\n5bgjmW4HRRbbEf+XojahQ73jamIauIVHzmgjW5paUSOU21kRitWBs8rJnkSc\nrLVK8RJmqW/woKhACku8Q3CiMpnqPTb7niqtZl2MBpeKwdSatQJpoKsMJRg/\nMCWKIc2I+xP27tMABmLSXMN5GBjZ5ijNugd4KampcqNNPWPGoXkVfUgFTMCu\nkL0O0BBuTZMklOCBFDaKKRxOeEL3P+WmXEHGzhVSyJevrmiTqRrNSyaEPhhE\nX0/0Vwx91CWCVCb6uWcDG1CzwkOCqHt4bLu0cbZExhUpjXMggDeOfu1RHaMm\nHsRtvbyjaOcqcO3KnHPJvpwjspymEHufWo4EPmOa6nWiECj26uM7vC+YSlM0\nKeH+\r\n=S/3l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"10.23.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.db82765b","@microsoft/mgt-msal-provider":"2.2.0-preview.db82765b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.db82765b_1614384268368_0.7766876503820017","host":"s3://npm-registry-packages"}},"2.2.0-preview.3bf867f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.3bf867f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.3bf867f","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2ed4a6ec28057a065afecb79013851bf2b46e5bc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.3bf867f.tgz","fileCount":18,"integrity":"sha512-7GSlnM+n56nYVQ+n0zl7Pwv+BhBlwzyie0a72CjoXUZk3Cwi3a44nZC/YMPAuPv3+u5RRnnPMOkFjnjDclEV4w==","signatures":[{"sig":"MEQCIExhGAPrG65PpoB1n5Zp5zLBLvzDf178O3OYt32g7iD2AiB2sjVWwE5n510+eAmexJumaesufCAfQmDW0//cwh29eQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOY6fCRA9TVsSAnZWagAALGIP/Ax+GS5d6vQcTHyfMHYq\nc/Jxw+Zv7/pQw29ZwsbyimT1Ar4G5ywYy0+YKdbdDyKZoQNC58Jjx0rnpQYo\nrhciyEamhpkM1DNM7i70IqEAKKBKxZlS9TXAADif7A72SI3gTEF9+CvGGc2I\nO5V4AulATLTxtzi1Zt/KWHbHzTQuDmT2OqxK+pTJu0DQS1wf4TTq9H9mHqXg\nGPjMtlxtsTeIHMUE08RQCULTkE4wl0fO9UQ9gBFAFscehKXyXqPCM7MAzAbK\nsHVtMGEFxsxHusrhka+lz42zCbmjRaElM/c6gDybpvuHGTXGNXfodiD7esuz\nuOA6a27IFBp/L5ktok3K4T77oqDhho6PjOA+pjoWcM4mkI2M4gyEJ0zSx0LA\neMqJb/MPl9LjaGO+CHR9qltCn/ACpI4aRUOMhuYEMcit7rs5OdVliR1TEjSO\nMDCjHPNb6IBUfb9ban3lqrkE4TYtHJ3D3wGRufD9jsTKFe1ljdG+/KAV2QSE\nWqwO3S1iSEG+pebi/l+aSTWa/KLAVYnoVzn5ajqiACQLi6hu/nLXx6A3xj3A\nkos9EaekWPUf1NcpHZuq+oXeA834vZ/ZWqqak2o1GFDsELlLrCco6jNlAL+2\n9GZ9cSEVszezfrF8UhYT0oSZVTGnrTxAIch2RW4hMcGPbEhXD2QwL+KoXtNz\npwlM\r\n=UZCP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.3bf867f","@microsoft/mgt-msal-provider":"2.2.0-preview.3bf867f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.3bf867f_1614384798824_0.6609844139059344","host":"s3://npm-registry-packages"}},"2.2.0-preview.3f85553":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.3f85553","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.3f85553","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a45ee4fcd66104cdbe4a1b68e9c618f0f66f70be","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.3f85553.tgz","fileCount":18,"integrity":"sha512-32xB1eTdL4LpfaX3xlMh9f+8JoHk6FsIydmwxowPFejz7MfY9nAVKgwILGFUdCsvccxv7gDbTNmZyioe+aJXBg==","signatures":[{"sig":"MEUCIQCL390iR6dr330n9OIT6Fvsjvxpya4Fszxuj8qgLDUZ7QIgPAh2CUOPNB2D6VTypNzjU2dMJcdtKGiQDGYrSISXlgw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOZYTCRA9TVsSAnZWagAAVDEP/1EJpJmtAwqsRSZYjRM7\nrSYQoWNOT5nYN5kmfMcznUo6tBlooi3CbPdlTarV41X9OP+tDAIFOwrPZLEO\n4AVP3s3rN+o0M0ZsRa+U9hJ3GMvvZZkIQ1t6yHvDneMjFvY2gxy4EpIgYdVY\nh1kaxs8vfyWApRbypYgEl3RIvm27MECWFwXZEISsDW2rWZAi6AGpqsc/vbuH\ntzqPP7gTLaasvFyGw9+QurYD9rcw3cPjHrn2q4t3/VAHqjK56WMUwJzc/+wP\nEako/G0ZwePM2f9imWXN4hzKxwVvmHvgk0kxUDTJl+ismIXoDyVKtQjKm3Jq\nZiAjKLR8m2mtmQVSBoDUNKtOGl9IWy5AyfTMpge77n+pFrsUtWZ6wOz/ooBV\n+DA3G8p/M1iKIh1iA4P3Le4vXUpmI6dzuvgJdj8yOAZtBS/AOZUdO0F5DER5\noDGCifELPTqC3e2QWUDELhg+IJK7sGI6TQcqzjvhMSJkSLoEcX/7gdmdAgJ6\nmPI/42kEdiTD0fg/kht6o9iDl3yBu6NWkqzX4qf1C2sN6zciNTHVLe8Cf8bs\nBH6oAeix4nsT5zvWy7pzI6LqGQBhf1W/8BEgQ0+SI3wkM9vaJ94Ip6QimSxf\nvyM5FCXbsfajfJ0YOqlX5gk8XsZdpvnEDIdeVlAdQ8VJbnvzsX6byp8KrGzK\n+fo8\r\n=CDIh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.3f85553","@microsoft/mgt-msal-provider":"2.2.0-preview.3f85553","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.3f85553_1614386707384_0.5704492099719245","host":"s3://npm-registry-packages"}},"2.2.0-preview.56b7b6c":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.56b7b6c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.56b7b6c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d5a40af6d758c489fc99917abc5f6dc067798312","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.56b7b6c.tgz","fileCount":18,"integrity":"sha512-MPUwIDO8lwfFo6bYsggT5fXtoJ0DTlbh5TfS+4P/td91Fp9tND2CQn7IouhozP7WIrP7E7exRvodKmojnsyPUQ==","signatures":[{"sig":"MEQCICA5ACSZ5MejcxZavmLSCGu5jXLrZvElXlaAgNk5xKT1AiBsEOcZO62mFSt7+5Kfya1AF0JnXLpqFuYM5xf+dnGgNw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOZ8rCRA9TVsSAnZWagAAIAUP/1HwmDyEABUp1Y/U5Tv6\nRMNGi2uHv2titf7sjMJ4Z+KiL7tJA751hdha9Arg+TQkOBw87eOOSnfe/Gd4\nqCrQtOBFZibz9YYiG94X4no1ZLwOmmhUSV3Ni8HteYxup4cxmaa6p1qAKyym\nzRgnCSN4kuHLj3+ejkNtJctVlrqr8l3sJsTHiVrUCq1Ob7g9VI2odG61Hg53\n7QorBHoMGK4sSZe4e7tRkdFq2htZFXq6SoUONBuG2czViWuGAU+NIOBZ9gp+\nnsmBITB0qiWOH3HgEYX0BNtXBlXqPoWrz5v15FQcip0LWblIOAkl3/Oo6Puy\nOM2PfWmuRlpvlQa2xphzpgXbSRV5GiJCjoKf9ze7CAQZ2EW/t0XHPQ6Kwixb\nGTfPe1Mse7e4U8jZSJ7SwUiuN+qeBANqNaSCcwQP22Mu1r4vRc6LutVxtr/G\n0Sfy1aPooA+nQm7642zjXkozEDoK1rVipfXN9Q3/1tmHQmbYXjPzehsA274D\no+gDFVfIg9iUqDZMNEAtp2uAluFTXAVVJxGgMrgowSvUfKWB6P1dp2UVteXO\ncBAGHKmt+fXAlHhd7goClTp8hun5ALStDYpuuZOezszQituNOwthtdlVpRSK\nyD1+ADL/162E6T6aFhRj/oR7Uf86LFZDRyn9s9hb7oCE0j3IJZsBk5IOtSlP\nDegG\r\n=MFZr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.56b7b6c","@microsoft/mgt-msal-provider":"2.2.0-preview.56b7b6c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.56b7b6c_1614389035123_0.06577715734460177","host":"s3://npm-registry-packages"}},"2.2.0-preview.19a52a6":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.19a52a6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.19a52a6","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"42b1f25a9cf67dedbbc59df06c0ecfdf2c19e9b9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.19a52a6.tgz","fileCount":18,"integrity":"sha512-aTZe6d+kEzMTMR+E2e+P2JjweDUBz5vC1XTmwmfVtRbHUkzmTOfjuxjfdCAsMgO7wkIE1b49KswMcgzomURsHw==","signatures":[{"sig":"MEYCIQChTMrYyaNCrvU2eYTiWV1gMUqrNcKZ2gzokwxOLiG3ogIhAI2563PI2SWTE5CZ87bm0JHX5PPnmSR4wnMZW7Dr7vrR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPWJDCRA9TVsSAnZWagAAPzoP/jUcLMoEP13AWKnCUnDe\npRrTnHFCpz/Zq0uIdXmM/SiQ1V6OwDb/tKS6sYTH0ZuChx/MOuhuHUYdrnWE\nRQxP6/Yqdx2ipmhHauY4vzKpWOc2Bk9F/XfdyhzWyihvGj3diSzI0YtkV53g\nsGndfZIj5278tcsU96Y32NDdx4K185beNABV52EklY6VbdO4Zkeg7E02qw1M\nkyBsoPEDnWxXmC1OJ+oj01WZPTqYTtSWD2B5aBDy0EVmEGjir3BL1A8FSMmG\nGxgTnypIzqkAsEgUxbqqY+KO6RYBLuuauikCuB5UJpDoJmIePdj4TKOyBHgx\n0zFv2zZGPGXRDkXFRAN1CBUqLsa8Rol+VsZsDjvl7LFhq6B1p2cMO36nqO8l\nh8XysczLAqrij8vl55HxB2mDdt1xhTDRaAD8UO7o4NDhSJ8KGC/bMMc4CaQ7\nNddBP70HxB0pJqER4kVU0vXomVOate5GOha55G8i458OvCzXzRGfYEKsxPSc\neIDJ1a2D8KmYVEXX45gAsDIDly3g/vqYg9x++yK9eySz1kfMZ5NRNqXTihLN\ny1F1aCjusvdrPY86UaCemIUfq+Fa5T8ZSos1Qr6J2RDnrYA9sko5L0HZSy9R\ncaFHv6fQzOvUXsnzunDA4EBXLyyy8LeOQxiAEqNLlsCSM415EPXnPzjDuNwX\njpxT\r\n=3jxI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.19a52a6","@microsoft/mgt-msal-provider":"2.2.0-preview.19a52a6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.19a52a6_1614635587079_0.7246859535016164","host":"s3://npm-registry-packages"}},"2.2.0-preview.61778be":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.61778be","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.61778be","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2876d4c8b32777ef5674c712086c43e1f5df1e59","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.61778be.tgz","fileCount":18,"integrity":"sha512-K+V0xi5iTX3T29fzToEWqYC2rcnEYUmr209DU1q7+csufX/PEcT2WwF0bqyuwvbvV8tzIgHwno9I0z7SlZLeLg==","signatures":[{"sig":"MEQCIErgumu7DXRxJ8i4J7NYJf58buEYNGb5FkxYOYWjsomgAiAmXe+67xDsHtPRP8lPJRKkrghjdvQ4Ygc6ZS2juGrxZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPX+ZCRA9TVsSAnZWagAATaYP/j+mk2P5IZNGgD+ml7uW\nP7nGv3AHXVIeJ32iLeMHj1AbY4SjUZgivwq1hRvw4SkWNRgfKBv8fzHj2gD3\ny3yGWxXPNyE713M2X2Yl7h6gOc3W2Nr3CCfKWquOsC8osfadCYdw5LVXLm9n\nz+ZF+5dEtLfgRbA+TTXETruDUb7VOKvH8diQrfgOwKxr7SJmrWyIM7YqreHh\nWNu7CloJKLeNns5M5CQXuiRhZOJA+1ZAMTeMriiy92wolrIhcmMKh9DCVYtS\nB/5UqwarN+gORNwrcD3IMEfnl48954xVOF2A7ldZajjTHHfpn/DQu7on9SKe\n1TW8XuqixOQEIcvIroRa5YEs/WNrBMM+5N5gRPqxF8xWXlijxoObnX+vWP+4\nglFl9gDnMMlm4/CgfcvR8ZGzVBjZNaDl1cAjK17VXQNH+RwEUFAGT05f6eqd\nRYoijc4g6s+xSWNclvKEYkmKPIVSGn3CjKovjlWzli5P+zOnoz+vd/xo4Ylo\nM4VVv0iTKp1QQq/Dig58tFGY911zM89E2PZjJoEn3mXLTQCDb7AqYzK5CRov\nZAedl82l5MqXFSsqUWFhhJiIfPLCPRu+/nIZRpE2SYJNPLOyCFAB2wkNxLY/\nXqSJytNT434pewipCy00xYhYBwGaARwMdOcdrlw03TYnKULhkUcp66GM0RDF\ntxeQ\r\n=FPEa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.61778be","@microsoft/mgt-msal-provider":"2.2.0-preview.61778be","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.61778be_1614643096875_0.3733444878464367","host":"s3://npm-registry-packages"}},"2.2.0-preview.e580c1c":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.e580c1c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.e580c1c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3adcd6381eb61dedf984eecb447f90e748d8528f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.e580c1c.tgz","fileCount":18,"integrity":"sha512-uaiMQvqdEEuQN2StkD6P7kL8MYdFqMO3o2TZWN77vNsNoFUsy/YFjJHnKDyqMFXdzNAzBtPUSie2z03u406u4g==","signatures":[{"sig":"MEUCIQDZwB0b9wpZ3YVYYq7ALlTL7bDaU446REVYksRIgkAAxwIgKMiEwm+78oaQBTJBZcD+WuGNB+Zf432PDZRcgMraecI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPbPBCRA9TVsSAnZWagAAb8wQAIY+78G32EYGoR4iTGbo\nAecbbvh2Vy4XPAIzzJv9dSC8QSXxMI8bP94a7JHfBy31W30kUef1K0mdK/b7\n0OBaixvaBIZY4ss1AMRqfc6LhiL4GIN5v+tAVLQ7M2TzaIoNybYLgAdCjCBI\nYnAmNR9MMoX7tEHMCaApBY+TvdLMu4JpHbS6GZqZ89M/8a3H9VXseKmxudlP\nJeRGz+zoJYKImFbBXoaZl6zevpD3/9XvbUmvnV7ewPoIKiU7pmy6WfRYZmlE\njm1IxDMQRD67qZR95ewNYa79cv2aL6x237k4nmELk45uajcvoG7eAERccNW6\nR5D+aWsUlQt19pOt7CkCOA3comjhX8QULfgT7eOprYFHUZf58CMWZMWu/Nwb\n5H1kRFuB6Cu5bteKPWGKi+Uev+6FqykOknSmCRypWjxQya7E/M2I6VZoH/F7\nVw9T51Xzio0heK+WXf1z7OMvAUnF6RhWEXuXpwIyU46e7/OY8KaJwuIiS1kW\ngo3tVKF1RxYwxoFYbJW9j2H5WvKMOXHDotk/T4DfeR1vYMI/PboMSzVkoujt\n6DXJf6ahaHjA8A2zQCp2O6fvHP1NMiLOFHEOngkm8jo/MCfzzf6couMA0CFh\nI2nERSGP73cFVSZAgf61afx69lfm0jD0jlac0kXEGnv9NcUI5vH3OUUOEmvR\n26wB\r\n=BG5I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.e580c1c","@microsoft/mgt-msal-provider":"2.2.0-preview.e580c1c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.e580c1c_1614656449156_0.5115349189140499","host":"s3://npm-registry-packages"}},"2.2.0-next.file.e40e43b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.e40e43b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.e40e43b","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"62e6691b14e6b2fa61d8761c12f50bb44235542d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.e40e43b.tgz","fileCount":18,"integrity":"sha512-aE73N/xMhQfPVoetdW2v1YSevzq5NxA1MsukLq3mYB9aiJIP55fWslQjM0IMghl5jXrI0zvr2S4UPuILMNS5Kw==","signatures":[{"sig":"MEQCIEKS25qhQqIAKq7vHn519XDX78DNTduirgEk/aMLQanmAiAcJtmERcDaota9Q4yUPUi0dexVTVcqHIH8sou62pWjJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPr8qCRA9TVsSAnZWagAAAS0QAJm5YR8OPJgdTS0EwwQl\nCAhJxgks1z+Ztju4CSy1WymnBMb4viEplUcQTZejeWXC1BYjNBtkmvOTvjJM\nX03KzWQndHqMPRhd/3QnC0Tlk9H1Vs+UjqHMvAhxgdeewmyR4xhSNl2Mu5p/\nGSkKWy9aba36OJFaRqrUvhfZG7oVUQwy+AsKGI1PyOf0L2rI+NHCKAAzvyBM\n4tlfEAAIZSfEdtgxL2LFt79GkMeHtvQx9cjq+YVCjmMHOF1u43c+AeOJ49Yj\nVRUFEwXozLLuFip6AnQPh7PS8XZLALly/r5/TKLJ4BFwON1pILHSuV7qBcvM\njrMTJkaUZZetTyNSXybM0xX9ljyJNCOALW9+VJ2nasHaH79KL2n6lQoOvtqC\n0mmuZ8Te82QaPlvABLnLSci5zAiFcp91JPtW76fzivwWF9wkBkeBmNu0w/M2\nw5kmllpJJic6qugz8m6jLkUVVjWc/FtMlTKXIoHvMoKSqKXwKA9xmuQk4Lzs\nntnjeyj3QQW5iLRoRewm+V7oLjccIERltCCi5gTgPELtDegcG9yz9Z2JIZv1\naNsXGDZzE7zS4wERIlfyVnrf+HJxm21cwzDd5OP3jnWMhhz1VMTW7Dk1Pi3w\n120N4ofahfoYSucZty8EeFDXwSuKOLWnoCV6NW+m6QXl3MUDe/eghNg1ilO2\nPE+x\r\n=Fo/R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.e40e43b","@microsoft/mgt-msal-provider":"2.2.0-next.file.e40e43b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.e40e43b_1614724906148_0.8947847405305667","host":"s3://npm-registry-packages"}},"2.2.0-preview.9dd9cdf":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.9dd9cdf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.9dd9cdf","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"afb2ac469550ef6486b679d0ff230a781b09434b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.9dd9cdf.tgz","fileCount":18,"integrity":"sha512-rFtSjoeabBbOEQ4jp0Gxu+SS9znoMWAcJOOM3Ze1WXRW5WSXphTTDJGXVc/hgdj/S5AHsBXxKeFEI+Ps0tZOPg==","signatures":[{"sig":"MEUCIQDvkOS97BJmcP7KDsTcCIxgMEXd/ruKLZeS2w481athhwIgSMrfKpUGAAjSjo/5fSfyfl94/0M5UyWU+fNjD+jOxLE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPtRkCRA9TVsSAnZWagAAkK0P/iwdXHw1WrvTtOa9tfuo\nUKP9h6LR8Dfnoo87PX2ZrowJmAmeXFbqLbrq/Rzgdb2OxWi+XBRVJ4U6iE2/\nUvM/afNPo9Garlc/s+oP3sAL/61LLBrT/MqaqoMzUxJm5oLfa3UZoCfXcwyN\nvTikuHxHYop2pXq9dii5IyPGWfuIGnz1h0lDsH1e+sh/g/U3C2hRAo6m9eFC\nZvAaW+fcZsNh0W1RpQJ+xCAW/409ToL2do9LgYXNyE3fZ2MAkSQYjHG9mdvT\n//nvSddVycWrNVCPt+J1dUOP6uxPmARTuTBtKIvoqYsphNtL+sZm3L6n+XPZ\nYy7sBlBA82Ev4qqWZNdAhl9OKbsS1fsSE0T6jgRBvpi+05Um0Zzn0mCeDqXk\n3uZ6AFGfIrZgYB7U8aApOc+gpmK8NxmQHIUfj83N2mMZT0QhtqOml/fQi8Ht\nnG4SSlpCf9O3nwwqD/A9namecKVDTWrH/ILvyBnpzevvwsnnd+ZFSXjJfDum\nGs+nNdkkRXOMOb+Q8ilg7WeLN3h37lb9tlVWW5Vz6OwEsDTltx9/9EZ/nSMJ\nuzS0rNf8J7HQmjVeppA9O/Xqu1Z5fw2wW9JseelX9huA+jLhoN9M+Do+ntm3\nQmHyx1SP8KIXGhZkYZdB3lz091ODBGI2AFeIcdv+iWEcV3W0LD7IErvjBHmn\n6N0M\r\n=wZHy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.9dd9cdf","@microsoft/mgt-msal-provider":"2.2.0-preview.9dd9cdf","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.9dd9cdf_1614730339984_0.49890917343171015","host":"s3://npm-registry-packages"}},"2.2.0-next.domainHint.dccd571":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.domainHint.dccd571","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.domainHint.dccd571","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4d42ccd3891779fe648a56a8d2cc3ebf8c7285ce","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.domainHint.dccd571.tgz","fileCount":18,"integrity":"sha512-XLbr4vjJi9kJNJGNYm22OyEi8ma+7eTy0DgSyXR33cIac8H7zmr2B/1qoH8x3mLl599siPu25aipMz+1ezLjXg==","signatures":[{"sig":"MEUCIHS7lTgSaUERPktzk6gh2XYXItMbqq9a2WE60IYt2lOWAiEA/ygZzXiaU8D8IiMJjkeNCDNAaeW8Drh0iVhqtIg0G64=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP9C/CRA9TVsSAnZWagAAJuAP/20z5XZVwSePv8/wtCJ6\nqTjX7t28DdxOtmlMgIaIdwj7teQitO1tK3bGOHzJzey4yxkwbhYyRdZAjb9i\n8LdQwXDNq+269PxryM2uZuW1H4FcRIn5PqW/sRiscB+r5oMH8E8zr4gZekyp\nR00UMN8VVYVjDVfug9eSOfJ6ppq5haRAHVmkIBQ9uE7+jj2726yRunkll9Ju\nMTVwvtJAM2A8sZgObnN9g6NR5HmUpge9/ASov1IuTcv9km1TuvMN7N0+raIy\n7hoEdOPrqOtiT7eY830aC/GFag8BJK4O130hPnlFladLTrGlmVi100MB02dr\nJqIAS6zthSIJ8peH6QzDlFC1ypoeZB3sH4ouxKP50wvKmfasxnz613m595gN\nKmsv+jZBCY6Jb+HueUvcZX/iGJFpmW7sV7zJrhl7iOoUqbwf0GWRZfW0Dyxx\n5UInIqjziXficKQcdFsjywtf1u0n+z/BnNMFpzBqSJxzEY7WdRdh3+xJZMAj\nnRdIJIPrh0bdPxzIoLkX6nKclAyRuNOAmrwl0ooLcJ2GznaidgxPip+ri2s3\nfOE06GH4/ea984BxgAnXetku8cPYfSN4KcOvBaozDvZgHF9c54JcO/DwREr+\nlbfl28b+MUFzf+zGkdkYnDXuKMqwLR4o0Kuo1gVlD137zZklBZHnR0V76S/X\nj/9f\r\n=UXkM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-next.domainHint.dccd571","@microsoft/mgt-msal-provider":"2.2.0-next.domainHint.dccd571","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.domainHint.dccd571_1614794943009_0.9726539059334478","host":"s3://npm-registry-packages"}},"2.2.0-preview.3e7211a":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.3e7211a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.3e7211a","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4f70d0500f63a00ccf02433ef847dc8909669b90","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.3e7211a.tgz","fileCount":18,"integrity":"sha512-ZCf5+HrDBhzlOoWdi2/h0hSvuvKHhGeATP4Ut/WkSxZEaq5JSp6KjgjnF04Cy/nDOYUQ5BYTliIXQqMdftd1/A==","signatures":[{"sig":"MEUCIQD/VqEzTHmh5P0bCNvgTntl7Dx+lz3IhBUY90YmfuUaSgIgF/H8r0MqdMoSwvezeisCYDmItiA3u1CheSrbEDVKzqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP+FTCRA9TVsSAnZWagAA69wP/2DHd1vfM1iSdV0e1zMp\nLNHw6YmiZWa5VTia21dTC9P9VoBqOW0PLiPLyOcE/48w+YtWbyZJzAKi9zwm\nXLefCmMxsPqGnRONVIJM1b1LbosyGtUO84ZHwf74kkW6wWJC572vrK+yNs+B\nl82H6x4gDNTuHfHCQOfR4jCGZA/eoSkD+GhLyiQCwkEjSgJT84IwJJLhoOD5\npPXn7WJPOdkbAbqv7LMX27vQbgl4KvTSTrro24kaRLXsxyjSsGpx3GIEW06N\nZKU+pRDxpQDkh7RN17WL+B92azXHfZSHTMRw04uPj8WOMVB2prd5K7tRFCFh\n8yjWY3oBl0TwuJbmm8jEpolmg+m68vkVGE9LRR2svqQPzxX8Wn3A5qs8UdWJ\n87aCHkXB1YAbd1Ze+qzpTK5NY60zfuvjQbbUL2Y5CCI2oE/1YEWeAdaDmAZf\nbmtXy/qG8B2wAlkMa7VkMgfAqseACOljp81K33p692umLrZNxnM0fTusrOxR\nFKRKYQd5w2UOMc6qhY6xLG9A1kHZIi8z3TjdPzMPHxd/zYQyAwJ4QvX+l1wo\nxYZDSmUQxZhG1e8y8XVXU6yKCcsC+DvoQWuKiunL0wALnQx+uHpeLGoE2ufL\nGVGvdIDvQFyfzXPLB9JSWUywL4q0rYVS0btPrr0hdu2wD/YZT4qWKO1XPC8b\n+GHm\r\n=vK2Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.3e7211a","@microsoft/mgt-msal-provider":"2.2.0-preview.3e7211a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.3e7211a_1614799186830_0.20717629393231451","host":"s3://npm-registry-packages"}},"2.2.0-next.file-picker.bcc3b0d":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file-picker.bcc3b0d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file-picker.bcc3b0d","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"028c1fb850e50e0ee33dcb9b0711891b71c4793b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file-picker.bcc3b0d.tgz","fileCount":18,"integrity":"sha512-sSiGuuLBc1TPQqzhWegSgttWyFoFbr0x6E6zuwYzQzNNz5d0MAZ3EJL1OH6K1eR3eI/ikhzO4WpTSRFxSAPJCA==","signatures":[{"sig":"MEUCIAjYo7nn5rI2syK23LYS7xTZydRJXJGzwulhkGLXnZkpAiEA5KlWhzNGVFWdsMHMo2CzgyGIvbcJGI4OYF3uawlESug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQBBICRA9TVsSAnZWagAAdCQQAIbeMHpSn/1HTL7vSsXa\nc79tsF7wGfSz1vLMH4JKf/yWOi4vQd+2WhVSx8kpA6pdIv93tibG73zGav49\n2EYBA4SyIXEjmNPgYc1MN7yEZl+V2MRIeWfOLUSSQTrnNovenuvxzWKTjyWq\nZ2U6cIGK/cNrOp9eYBCzJaKJgrQtKiei5SfPq4Nt2WwbkKFZkDXbFy3Ak6eV\nUN/CRTj5kzGe/QdCYVEjOWZsKH2bhsZxCusT8MlTIHi0OT/gyassmF6knXLi\n/urMFxJ+aNchI2DbHJd+4hwgz4LvFR/ITLBJRqnVz1CucYRSDa7BVx2I+UTe\nk203VUIOcIVaDM7+YdccBtx/5s6qECZahhvz2iZFPv2pFJ4T7INLu6jrIOyz\nhAMxrT8ZwKy8y/U5pddC+mNW+j7pLq+TsCcIgpM9vBwDvLPESYFvbgExRzn+\nQ+GqI6Z6dJJBokeVbhFWck8PsvFZ198pfXopzeIwhPUMDLcV97gH+WsT3pef\nnuJhxMAT5CCTTmhmSZCYXAcvx8wzLu7W2n3DsOstuCV9NsEwwJNvJX4edEpp\nINCbFWZkgHFx6IUBuhmOH1lJ865/32NgSqaCjCmX9a7MRwo92dJAgBddy2dB\nk3J/paiyu9VCLov9zeJf4jeY6IBTCxEz7Xg7Hrplf796Odk25j3WmrE1ER4s\noG/6\r\n=hWAj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.20.2","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file-picker.bcc3b0d","@microsoft/mgt-msal-provider":"2.2.0-next.file-picker.bcc3b0d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file-picker.bcc3b0d_1614811208319_0.5082199506775074","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@microsoft/mgt-teams-provider","version":"2.1.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.1.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"431ed012f2a4481cdc9bb11e2a726a146255b535","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.1.0.tgz","fileCount":18,"integrity":"sha512-wHGupp01ikE0HRHU4isAs8UUtCxmX2A49jnfHiNg6AgHXC5oiHVTj7Z+TnEVp6Br3A5hjLytWMDVdBignb55eg==","signatures":[{"sig":"MEUCIQCQh6SHhhVbcoJNSQFBXfW+fnx+DAqN9vE23famMAQEoQIgZZorS8ID7Wh18Ml/J9zuNHOKn2VhnEjVqixOu8wLI84=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":494102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRkjrCRA9TVsSAnZWagAA6EkP/i/FtE+J0Cy9UNg/3/t5\neXBiDoZGwEJSt7HYSPuIJgVE/6xLEBJKCoB4EWxJn4pYYtYsJ3dlF///lhTw\n34W1rjz1YqjHF1u10eTNZiecaWAn5Zo/Ennbckr1YhP9KUzigMehJduj07RU\nOejFiuw71vL51WBkBkG7mFo4xWWKM4+8eigtKY9JNNc3ZMv1Z4fXRrX8gWHW\nTx6DDy9esyLcCgC8AR/NbyGH1URRghfG4eJz0jvDaD8O10Tc2WW40YNFBncU\n6PY7aqdYJml9WxLDc7zqJcMlyc9f2EaH5bXqD6fqieixjQHWFw4NI0p2sh+b\n2nywHdw8ZkoSRtI7XU3Z0qHyeJkXuVsBxYljcETUsmgj7NWL2BnS89rxPPNw\nhcvpeBTW425EE5T/8V6f6GphDJSTxn9xrrMY3pGp574AmXKEB/5PcYmHAjkW\nmAa68Eszs+PnKVHv5wCYT99cLE9Yk2Lf17W5HsuFLkrE8Ao5xBuV/rMocg4K\nE38Y/AJhx6xg6KNiN1bYaFOD/qJIPy1nCkNx3vLUzDckkzJ9jSLuuFv7erc6\njH6+Jw/3cBo7MGG42igaL7dDMivkCE593ScJeLTZiJVNA/YQXyKR8+azGtJ8\nw8+Mydx+JjPLqUJpbKCKC7lv8ym73Qy3r4wT+CTIM9EjPn0ZBE2CK75Apj58\niSlO\r\n=MIE3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.8","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"10.23.0","dependencies":{"@microsoft/mgt-element":"2.1.0","@microsoft/mgt-msal-provider":"2.1.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.1.0_1615218922997_0.9986090321766172","host":"s3://npm-registry-packages"}},"2.2.0-preview.ebac0f4":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.ebac0f4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.ebac0f4","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b217c467affd33df0d5dbaeb75a5c63ba968345d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.ebac0f4.tgz","fileCount":18,"integrity":"sha512-S6gylKA5y3/t7xwL7G1+G1WYgtUwjg97Ouo6pnoM5/c7DjrcFMhmXLPNbWYoizsZ3muu19qb3n57s6eXkovnug==","signatures":[{"sig":"MEUCIDTLarLt3veYuKtbjMXR/I6d4kzGjv40loyRceNrPEgwAiEA80mK6GIwyXRb9qo6cD1ZAHl7vK0R1VyAU7b7+tf/TpQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":487882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRpjNCRA9TVsSAnZWagAACUIP/3jAPXy1aGK1Tikg4P7k\nYYJF2e9Uw+2FZTK6JXsmKvFZ5IQtDJf/7wW7PqYHQ4HKFV7VG+munQFT7pPi\nqI6kaRUHMLk3b/bRzIikkZXSUgCcNCnFZ6kcxh3uY+/c7r8Ke07KaJHag0d6\nZmpv49Fn/fUQchPxfnTNjc/Qx14Q6HandMesf1mqj0R92wk0ftYA1+r2kwTf\nr2QZ2R5wfsA+ZQ2cwKYJXqIWE2Ek86TtBP4nvflENZ9/57/PQnf3P/CVm0bz\nZnGQlLxYbo2UR5beIzMW4ZN0cwtQeB63OcjUDMfaYh79P5twnoJV9/0vNEWZ\nuVvQocB+ePqM6odyMFW+HQLqIdAFrzI5sp/HgpYkmx75Tkl7hs7a34RJFy7h\n56wB4WacLvClpT0V1gWDOJUnyZKhj/Ybs02ET3vEoQPLt4uKhv57wW0yAWKT\n0URvuRIKShSDOF3YMeM8MWL/2rp7/AUAuAxxW+GnvKfvlFSnjzO9if79APed\nZPQzwDlyk6RwP/KlSEK/nclG9OLn3sdkg8PU7DAfu6hhzgzdll08bUuNpo1V\nU+3tBPwumZC60c7PON4LvoR2ABNVQIIVZnMzgUPN94KDGam3hjtHr7v9iCEr\nHhnEvF/nw6G6G8U+HJAg9jX4u+nyoAsXME09Pj1hvoloUbdxbSQ9FqpFRTn2\n/Un8\r\n=Vx59\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.ebac0f4","@microsoft/mgt-msal-provider":"2.2.0-preview.ebac0f4","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.ebac0f4_1615239373528_0.9357479971783547","host":"s3://npm-registry-packages"}},"2.2.0-preview.78568fa":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.78568fa","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.78568fa","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5665a58335d4c48546f2e04edf8ccc225c58c4d0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.78568fa.tgz","fileCount":18,"integrity":"sha512-HjVlIA+LBjJuHc8GUeOdXRMVOC0KVkAM9eleFhgmGZKpqKl7TP89cAvndu+0iTZIQTBVmgJuwbQGrg99xFxNJg==","signatures":[{"sig":"MEQCIAwgq2VOZ3FbmlRqoyrxI0kLv1lw34vauCD5G/tsQjAEAiAISTgxF1LEcplsbv4jkk80LMSz1w/2o6eBJ38R5W7bZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":487918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT9wTCRA9TVsSAnZWagAAVosP/09aY+IdKPs8yPFzH993\n6wLXU6oYJgPlXy5+RIv+JqJhZ/gO5B7vnROtFv5uKYx8cKaiM+8iLWe20/RI\n2DJVHgdavzoXabeODMmfVHM3YHF6Sk0AqxlGzKp/22mGq6jKFqcN2WScpLeR\n1kP8B+gXV+8wy6tz2aB0ugTPEuwkBIoFE3Sp2Kp8NEG0OMkpoazRGAxbI0Gu\nLVV0ZxkYIZ7lVLeJbbs4Zr5sibYjZUNf2s+puh4rE6V4kKByki13+e3Ou/Vl\n51A004VNo8P/cQY6O60TFj7QKKBuDRshedHJ/aErQaZMgWC2i9l+u5Ru9RkP\nTeC4SaCWA4ZZ6XEVnz/xBEqGSXfon50F5QM9Gn0bfOm9IT4vsXJDDODypcIv\nyA+8Fhq6qEdVxLxrFNCeCPrTT5XD194Amj5G7txP80S4BUtY+KWQsGZT5/0F\nEfBrFJAFLQLq7pOid+Tw2njEyA1G/LTUL9Mv35QDakqspgvQT9Xy/rTSYNof\nygYgVAV76Me8USmIr5mSvInu0zJVYWiK/5wY6HZJeivG1X0CZynsbT8PcIY6\neaDnLU/0savtBfgDp4+Vds9REmYK9Fq96xDJqwprncGQytpmUedK/plx9smg\n1YlrPkogMxOb+kSiOJvlRz7pIEb7DqNKkpYzQTWiUQQpqPQJMcERRm8GmfOY\nUcKI\r\n=koeD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.78568fa","@microsoft/mgt-msal-provider":"2.2.0-preview.78568fa","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.78568fa_1615846419261_0.04355653165663753","host":"s3://npm-registry-packages"}},"2.2.0-preview.079643a":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.079643a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.079643a","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"18af4650ad99c990077a6a5c7a3db8225e041ae9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.079643a.tgz","fileCount":18,"integrity":"sha512-NJQzOzLntV356X2ZuVCeF4+Xnj0xmW70kg5RLJ2U+MZYfjJnO8N4cboiW9SfNF6EjtbXQwOcH2xnV6LYOVCuTA==","signatures":[{"sig":"MEUCIFOlEPMjaKqwJayj/mhsK7X80ZjK9PdbyNNfp2TWDdx+AiEA03Fj/b9pdFDRBlUJuUmt1G/EdeHQt/o63Q2lhnHSGK8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":487918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgU3TNCRA9TVsSAnZWagAAgqUP/ApzdG32UcmbP4IG+PMg\naTY8vRUhGkH2RAkr6UlkjlpTl7zRpKjgQhtOg2L4lbvZGt64r4Jar7ww3vTx\n8oM2p7PJLU/LK0uPNWiAkf7b7NUOel8bLcqtrQzCLoQaZnf1syniMSHZmgEz\nu/zzUpe/K8AJ9oLWlIS/m1ILU15u/kBEMxWajb5bErTsywDP2nW/C1qWx+iT\nwlxKjvxGomftM03j2TTrvecwMxWZD7vlo6LYVcawS06XGGxmaKG2Qqz9MYrS\ncBgqEfY2ABkhDfd3tEzvspRPqqQONEOGC4c5UzDoG88KUsRms/+nmcDTQlw+\nDkas8fvn0PBbz7RJgYnjcJeX08Jg9MuZuSSRTqJHLwHrgFuBdSyr/sLDFHws\n6ajfN2ebJAQJt14OQCvlUuGVRAT77TovfbkZgO55gUb69lrVqyh1W5IzYBiO\nvnrmH2TicCSIjUSQjtsNUK5UA8mYX7Jb5vF2kXY7fYhVYW0/9X6ok//cwH2j\nArQHxRnm+Oet0vcOgHkJm35d1E9+/ZerCak2bS+u+dOxj34j6ltq5MtciEiW\nDYWVdvOY4XqCWotWw9wBWkRZGUOz5D3jxMMNhMappQpblkTyIrvCO3HbAdXX\nl11pdwuA53Fk2OpvE5qR8EY1MiEGAxmt9dXH1BmPbDxf0VUhrusCGmPjiTcK\njj+i\r\n=qf4e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.079643a","@microsoft/mgt-msal-provider":"2.2.0-preview.079643a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.079643a_1616082125025_0.043203164887765766","host":"s3://npm-registry-packages"}},"2.2.0-preview.0245c76":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.0245c76","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.0245c76","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ebf06aa914401fde9689ab24d08fb78633bff2a7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.0245c76.tgz","fileCount":18,"integrity":"sha512-cewTDkC9anTM0lsc0XUlaL2nM0UQM6oXM1GUi+Cs9cxd+iKqKNqs5Qq6UXR8JOX+2Hs9aS/QrQRSNeL6acJPkw==","signatures":[{"sig":"MEYCIQDMuRTyntWtcT1iYk3vfgE49IW2JL4Vc47yoVsVAGLzwAIhAIjleh+Y4HMKaUk7/VAMIzS1eglA5DDsfuE1glpgqoWs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":487918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgU8bDCRA9TVsSAnZWagAAkRoP/jcRJM8hYNAfkZ2ZF5D5\nrAYPNbo6AhFNsura88FUbef5oBZjT49f+I8aLqd/zwLAjqfFnIs89xKI3/5Y\nem37bxG8w/5T738RY6pKf3fQEbQMemaCpPbfS7EovRlkr6L/AJDJBdtwJ1vw\nfGfJu+lk+WYqelaasX441W6YI7rjX38BGkr4RuTSLAJHbPIxCHg3e5HT5IxO\n6uC1sALF3GuIZSVR9OyiV8/fAOSzhp6S/tWf7qMPyVWldP1Btcx0Wr+9BxIu\nydGxP+CgkUmYMZNpbmUKmHgUtrw2I6PK+j2qjGmyjp3MChfuLsQ+6tY3uKsE\nPvXD/zMufhv3lCbIq+fF/vTkKlsvlFSzUiQzg2xb9v5cQctf8uvDxXwVwrIu\nbtKlfTbweW+50388R9pLNV35vysWwIXz2AiISkYcj8u410rj5T9N/Cxutxmt\nqRYB2bBDjbyQzwuWc4JTBqZRYi65mqL9Gm/kqU4tTnD1qGr2fUrzje5XBGyI\nDEkJzf2YkBl7ssuMKVuYn4gcYhrgZvn1FidxtXq8+bhlz93Ax9SwMaMzEBwY\nyTEMZoF+CgPWjP3syuo3FcRFxVkPWwZGw+8wsN5hNo42IS8ZRQtn2hmm4M+w\nnnjqtWbucawp9BTBqAEXXlTv/JAuxRcgMNWPt9odmYmjzc3smHpFVM0rj9Gn\nPTNj\r\n=WWC5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.0245c76","@microsoft/mgt-msal-provider":"2.2.0-preview.0245c76","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.0245c76_1616103107108_0.5435450956049259","host":"s3://npm-registry-packages"}},"2.2.0-next.domainHint.75503b7":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.domainHint.75503b7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.domainHint.75503b7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2736c2805db6c63a68f715e66d13ace01be82ba7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.domainHint.75503b7.tgz","fileCount":18,"integrity":"sha512-3ay3lhOYIhXmrkBdIL8+m1I2nXuLuiPYz+XNyeGDySxky1pQwPj7oc1cnGWf9z7I2LpQMtqZNHRfe44R0u4cmw==","signatures":[{"sig":"MEYCIQDO5WidXc1q5kpJwmsRklnL+Gv1KXhnG+xPl2x5YK3OxAIhAK3ZvvAUYA7fF4CU/4d5p3uOXIahhhUzvfyEH/FZOSWb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":487942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWPvPCRA9TVsSAnZWagAAvPsP/2G8F0ORw1nBhOoLQN2V\nevpq4aqtAq05n5SWG/OuXO9OqnZ+MQYnCAxOPKtwLfIMmYjpDZxEwMQvVJdW\nI8b7GCLtfYIzzX7N1xyqm0H0GVreEcUl4l/Zz+6QGYNUBDTeCdErguAHoHMc\nl7V1/7xbLbSWkMYMTwFVOJhtUBgrPQj1edELwHnjhMI+Mp0ayyu/VVzdikOR\nZql9MDuDX0HjwH4yzHLThHPQncUv4ZNGoU7+5aNUiZiXmxCI9De8SHWNT5Oj\nxDfn7r7L91RgQyST1PN9l4kRZYO2nJJlsLiJjYLlTlX1XKkY+efJlYKtytV6\niDLXTfLt64yEChYrn56Ujv25ZrrpIX4ZzyMzrB6Wo0Yio0hFEBJGEU79STj2\nSiD9QcdsgLlR5dAR/2sMzhU1n1EN8BE8Uw2iM2Nc5QvUkxjrtPF+uk8OGvdJ\nAdVLYTX9wTmAqJyxJ4/+X0PHdlJcDoCUHZAlPWBnJAUSmxjedWE6nKtQqpYA\nEPRBQYSsXk4NiNsEIzoYB7wgWGzSb1A9Y5fyx7R4/G9viCUK2+Pjkz3EmxNw\nxHm7e3H43yhQanIH+5mjqdoPObhQg5AqGcHtLPwJ0rGkHD7XwM7vQNHhVQ6w\nIHffsgKDi6+fMOxWC+7kcQYt6CWXsHjF0HbNhIx59Z27eDBZ8xKoxg/jzj7f\nj59a\r\n=Jumg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.domainHint.75503b7","@microsoft/mgt-msal-provider":"2.2.0-next.domainHint.75503b7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.domainHint.75503b7_1616444366746_0.09357754926813411","host":"s3://npm-registry-packages"}},"2.2.0-preview.e4ae102":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.e4ae102","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.e4ae102","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"fd06e5058c410d6044d00486c7813f1c2e852e01","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.e4ae102.tgz","fileCount":18,"integrity":"sha512-1Y2xFDbf3gSu2Hgxg/PMmPHXUGBeZPm7R57WBr8bG5LncZtHvS3WV3pZ3aGkxVNDMmzdlXx6xMKSO0soHUtpew==","signatures":[{"sig":"MEQCIC7UkAgmU9RYy0svCgBOzljzfP53NGhjS3iEwZMjlQG6AiBS3xilm9tj+gH0UdJSc/IEWYyKXpTNSOKT4GoC0ZCNNA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":487918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWP23CRA9TVsSAnZWagAA3WQQAI1gWI3ha1L0udiTOzA2\n9URz+gVkgPOHGZvJBKJ8+N28u2ii6zWNsRNirnvl/jsq4pN7nnLq2rKKuqa6\nueHh/FwCvReiCp0wZRCEpeJd4FppdEIQCzmuWyWKhHfvQZpkGwogMscz+tHO\ndEpTIFxgHAz5jJK6q3RtdNYUoXx6qxy5CPbzzul9zxXVyhFu8tebWzumfvmZ\nfOc+VQoVtg61sLpTbOM13JYA8jB6/D7KV8KA2ZEbYnNxTVENS17PrDD7e8jO\nKde/O8QSc70qLnheVIYM5qqM2f2Y4l8pLxJZEX/tbWJ0g0eEOJByX0hL6gMm\n7pP5R+7u+agHf4Jg6Ccfxc5R0vn5SjI8o0t4zcZXPkD0lTaFtvKa+q5mdC/7\n2FGuqHLnpIl7eP9yRTfA+Gpi/RiySvpQiTSmdS9oEa8f37vu5xSGhDZJxvB5\n7lsGfBVRjSwb0IwKqx1BV7oLRjcZt6j5fyEufMjMipJwm/sr839DlZjf+6QW\nzvpK2vW3zsIYzkIeKMJzjkGUXWp/ZARdy3PZFefxP1KuKbH4LByrS2eTZeb3\nRu0678PtJUJEkOg9CZl8EgfPAMoup+OzwSHW6+SpUb+OVgtCeJZmWgx4/L70\nQQr71MO2gnZx+B+/hMQkBug5P0mzySSzY/yT3m6vxk+Kx3csyZ5C6TO3meww\nwRfi\r\n=MHxt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.e4ae102","@microsoft/mgt-msal-provider":"2.2.0-preview.e4ae102","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.e4ae102_1616444855041_0.8966549829171795","host":"s3://npm-registry-packages"}},"2.2.0-next.domainHint.f523b23":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.domainHint.f523b23","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.domainHint.f523b23","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8fe119f7c42de8ef24056af1f1406f5bfc391935","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.domainHint.f523b23.tgz","fileCount":18,"integrity":"sha512-muIDpajSjApWdUEadmtOmzvM0hU97oFtjutuOUjsvxhVvJfVAOFm5oSNjQT8+hGfJbnR4SdFkwyzYOdnFAkHQA==","signatures":[{"sig":"MEUCIFSojnzz2UIarR9OQ/nfa72e3kSHEYnKFoTV2tci/k2RAiEApKLHgcI0AxHG8+bUOsB1tQr0i47VQNqj8Yz74voPzFU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":492481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWT2GCRA9TVsSAnZWagAAZ3MP/1FxCnr+C4QjESTluamq\nwmQr+T1XWraY8VRpZlUIIoKrDQPeFaKoXQdEN7v18i8Ee6vFllZfuymbOpZG\nbFVnxqhjqvWwdbtR2WTZ4DHrZ44gttQVU1t2KNcGs/4PMGGgq7LurWdD6eKg\ntGuUWB/PhdpqXvBI9UnlBDrY6pIxsDF7k5LfhPZdO/LG6yw46YSeKL4t2wDM\n3/SXZaQoFswioIaROMKo3QGa3AdJ4RNEE42DPPZYenAxn9/M+KWELqyP/7mw\nWR4n1onHbbnEeQNlMGHY9/cxsBNjh8BA2hz77VDWFleRKLBWU5k5JN6WJXZB\nSYXiZ5hYsrxNpkGyBMrQs1TTNgM/aSMX+N5f9/M6q7awXpekZpseGPWe3TIz\nISx+wOye4Lzt2siIZZR7SgExo+W2rWNFM/xMjkUFn4s9yo0XgWbrlGfFhwAv\nw5LUqH8q1hpKcObn7R72ocL52/w+AN94XjWJtp83hMyaYMdsp4gvUdWeuyEb\nWf/svF2s7+87OD6ArkUV2h6dauFLzsxlSD6kCIk4HrZ25WXvzyjubL/STjGm\njzpsTfDqSSG8YRilXkLP8rq0pMqww/UA864bYgJJzkGbZ88GIK7GZZP3LlBc\nGkng1VatOD3tcGbVGqyoLIKlDa/PCHka2IAoN8KPkkqLRF8DM/glPra/eqoD\niEoW\r\n=4OHu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.domainHint.f523b23","@microsoft/mgt-msal-provider":"2.2.0-next.domainHint.f523b23","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.domainHint.f523b23_1616461189886_0.5225699654968143","host":"s3://npm-registry-packages"}},"2.2.0-next.file.d750612":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.d750612","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.d750612","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d89c5af7267907aa085e027f27b55e154b506b2d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.d750612.tgz","fileCount":18,"integrity":"sha512-S48elYE7eVAosYjPZ2MNanK/qn2aZGFtOP32/phyDlFH059i9PQBCW7q+OE7O8aE0CGpRSuVOu4Zok1W+xfz+g==","signatures":[{"sig":"MEUCIAUauHFh7T6o+LDs3V95DgPJknCmBrHxjPaIw1KrczNJAiEA9ucKOsTvb7Aitt1xOsOgoH91WHZGGLU0Wuo8tbhBC14=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":492463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWr0vCRA9TVsSAnZWagAAockQAKSbpd3ImfhrcHdsMgCC\n14rtBPFuWOxJJZjsM2NxUpR8facSKaf5v9WQdi41bfGxKYIp3OmuANGGuVH5\nHwPjZHZLd6ZJJ6gU427nbrLNY2o5vHkJ6fOlIG1zo082iHc4ReJ60878tjBF\nsq/LKiQSQaJDZMloBKBsDQtT/WUBP6LeBr06XEJ2hGg0797e1F1kHouMEf8/\n2CColHhaHQQ6T1BGAvEBdK/wB1MD0CD2i8mM9fzrZbSlRgzwuotRxEcD4myi\nKVGJpvM4AkyG7VTLBgK2uVismrN2mGdxqNcwD7QoqBNFnwwFsxKIk8ckFdTS\nKU8ld17WeGSVfAAVb6tVyDxTf3av+a0wRaWx0HL4lo7/fsIkwHwZk8oKRF2p\n+UPJSsmRkcrqFjMKGJrxoBOcfn5ANwZQ6UgEmz7gZxVF37wJOeIRVJVfXcKL\nV0EZkwqbAZw6yhTAx+TC0cTthZ849fvfsDaFmPFsVkpBH0uhqfRjmTldB+mx\nSViYCrNmlpDzvNA1ZJo4bXJ5nSeX5vtAOhyDa/YWhUwT9du9RJT9u6+Jg2Gc\nwfsafI5UfKqTp1/iTc2aMMG11BC2BwnXW2d4tKcaQf532vpUCZMXXN3XSNfh\nFKwmdyNd8Mot/iiN0Es+fUdAN3HW65WS9BYUWXFX6dOL6y0WEs5z0U76U04E\nFR67\r\n=0OxX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.d750612","@microsoft/mgt-msal-provider":"2.2.0-next.file.d750612","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.d750612_1616559407472_0.7502695993502448","host":"s3://npm-registry-packages"}},"2.2.0-preview.2b12299":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.2b12299","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.2b12299","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b270c2231d8dd2cf7a0302817e00fc7c30fbb312","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.2b12299.tgz","fileCount":18,"integrity":"sha512-stPWPhHcWM7+PCPm5nCuLXcYVuAi2ICxrsAfX9JS4vyyZtht9Smr1RVlq2WGMK8NxgNk0Mc/HQYIH1OuNW88CA==","signatures":[{"sig":"MEYCIQCyPY0fWIX7pIRFARx7mGWrDe4AhPWs1vmoTHedP3rRhwIhALaha8737KGwAYEF/Ie/MI53e1JpBFx01fjGkHRV2GRh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWuB8CRA9TVsSAnZWagAAD7kP/0GGTN2NeABM0qsIbxeE\nj6G48A+gfulpfQkCAkrxUBgxIDtdzjYRjVZ76ft8xelcfcyzr8qh7XKaNGQy\nKEEeMt+YmLOdfAbNgcw0iLOfbYeIQQU2vtviuHh4ePRZUGgtzH6/vD2oyNJ8\nGEmr96/hqV/hesm9crcawVNaHP/swv4aMEN02ifWC/rnjdjhf5eDtpYfJtBU\ngP4HzvNco6jzc5tDRZxZHuSufSaMAf6+tVv0xERuFj91I38AM/lf5BFwncOV\nkryPR42X0+f2wkWuVhRTa6PNzh9oOmY0qXXtiXz3h9APJMtheZ5QsMROjT7O\nfgpm8CRBT5U7a7cV7Svsns6erIYQ4V1nakGLYn2IIA/YeEo9++QSVZQeM+Ab\nQSmGA86xetvu2xf6XVtl7WWCNVyY8YCMdybXyowZvUSc79zwH1xjHGJkMp9l\nUYT7xuqZrGtsvngvTXAqgPua0quLzjQbmacdw1JcIbU2TrOEx8xxcvYTGzlC\nS87ZeUjf/L7GbTkzamxSGi9fjgOoUM4ko8yP6UM8RC8UT4xBRLr0K1U+JCFh\nrYMLrScfHKcrzZJ/7POCkswfgMz+gR2K8MYZkiL6ek7upTLvjHFjnkVV6GqM\nksIRwSYJ4v/yrYX4qx9+RhyGAf9rYZmIYUcwN+A6GyRDj6/i8FqyFzh1Tm97\nup6l\r\n=3dsC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.2b12299","@microsoft/mgt-msal-provider":"2.2.0-preview.2b12299","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.2b12299_1616568443962_0.18927813824012785","host":"s3://npm-registry-packages"}},"2.2.0-preview.c7c25c3":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.c7c25c3","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.c7c25c3","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d29eab0d426a68ebb42e4fb9f4e35ce8f2b29e01","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.c7c25c3.tgz","fileCount":18,"integrity":"sha512-kTuv5jwJ/vK1t3MaCZ0o48FNHzVBKXh0biB5VJ9wCu6nxBCt5K1HG7Ir1pgFLuSYbAzmrvKdSDPvYaO2w3o4VQ==","signatures":[{"sig":"MEQCIE82BIptdEDbqYjPBDlkOvPkTW8BNAEaAfk8a7uaRn7IAiBHhJ1vdrmY8I86t9zedPM4ya4vt3K8tAURhyAxMX9ZtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgW21nCRA9TVsSAnZWagAAIp0P/2j6YEj7OwOcQeBgtlU1\nAa1RnNBsoZqLlDr2FOiycUv8NnPeuXWdYPYvi6ANuon1llM2E9siK9vafYC6\nZWEAhFC8qRXyOPY4wczAHyL1B2XfJxu7yoonvjix8MIQw8xtb81VVAwVTjFL\nI4gf5M2Fws1GwEPCj98iOIS5tCRo7COY5oaHUYU4bMtGTHENCI0ErGsSrHCN\nB6wK3C8E8anmghyhWFZkl+rjT5yHC6r+jv1bts6BG86LXbn3usRTe/uZgNC4\nH9fs0DCyxgq7fEBKj1e0tpKHNwfJy4mQUCatdf2tPWJyRkoQNH3YXWb1EevG\nSfyK3qiDD0HmN+F1fW36NKmvrXQWBNSMhdy56mIZnS4kQlKxD3Uh6IPPeJfr\ny2xGyNxp18S/P8VGdMfC6K5VnrPaoGtl5ypA1ts03nN9SQeom96qad/GZyGw\nsnV9ZrZRoppci+BNXaq0I0qSHlDr5q/PmJRX1HFp02gehH2lqnaoybzwM7Fb\ntMDxrl0olVyB3RdCm3xPukse3d1M1E2SO/fyHpj4kUKLMgAKR5LtN3EB0f25\no9vYjgjxEO5UWLJ8Y2M1V/Ov1nJdigy4lRB6QiTMaVSnalbMmZbk+KHVByEg\nMWp9eNFbX/0iW/uzANB8/Ku8vMuh5kTHyBcVwAjhoMu+pGl9kTB2ZQpfA1wt\nWibC\r\n=KXfG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.c7c25c3","@microsoft/mgt-msal-provider":"2.2.0-preview.c7c25c3","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.c7c25c3_1616604519520_0.6959502422662982","host":"s3://npm-registry-packages"}},"2.2.0-next.file.349a93b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.349a93b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.349a93b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a4f3bb2b72de8eff57e5642cf6e35f223c0af92b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.349a93b.tgz","fileCount":18,"integrity":"sha512-BNTM7c81IXWZ+RyiKmnf7pnr0EMlNpzJlafAfRHOx5foC9fekcIkxwrurNntj3wo4UXJbF2A+thsoQPABbpriQ==","signatures":[{"sig":"MEUCIQDp4HCnpegWcx2ZDRSCD93afXrGnjpSh7I9ikApPmtiqQIgCPvR6D0iGptZ1vtigbfCgMx7595mTocXhxEGEtp3Ebw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXAnSCRA9TVsSAnZWagAAZywP/RU6HrlXq4BJtVQClUZv\nvr6+UeHVuPhV2UqVZaCv8mWImjpG4XzRTi2IW2pMpJsYF50n7lMSlTWkJAzt\nNC6Y/ga8tXz9eJb4vzdCveATxsywoTK8JALALd1ABG88kJJqsZW6lRE4M98Q\n2CzZp9QfeerZS1o6G3NBk+UjoFYGBsJZz40PWdUuUQcPo6wtmSlB6YWg5jAM\n8acAdg/RxnaRkoR5emrOwlWfXLMsK4fh9qZI6pWJ686GjUp5mSGn7p2hYnW7\nykc6auGGfYd1y22WfyRpmLHtHUDKj+zZxOkDzoiX6du7O7fBqFtJQoitS9Ru\nUAvt7jQUbfg2wYTHoKD+k425+bDy8kBZpXcFILewZxgz1Gziz7KpGzmup9Nh\nU5xAd1p16HPXK3R8WMdAkWfhNgsphUknh3+rJcH2tVOKpkjXuahPxeUe7NCL\n80owJv77FiDW7wJTw2bJFlhzL8LgoDgzBxq/IchHGRi2Nv6Xa+z7gd4roAWb\nd5a5wK8yg6vs4x8po4RcAbmtPwgKDY31hFXqBVxOAZXNLuYlSk1gXg2IJrEV\nM1kHWqIxXCVVLD4FPMmLGf8yLYp4TRsRoVfyW2alZbzOgLzF/R7CnC8Pd60i\n4YBB2ZvUg7OdD/sj5wLfuTRa2M5hvSCMQOKcn7WoU1rEGzHcJeSdDafdJFGf\nPEPC\r\n=ICsT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.349a93b","@microsoft/mgt-msal-provider":"2.2.0-next.file.349a93b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.349a93b_1616644561949_0.23313857756972745","host":"s3://npm-registry-packages"}},"2.2.0-next.file.b038499":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.b038499","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.b038499","maintainers":[{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"176866fe96b618696e8c976ccefadd0e62e6cf81","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.b038499.tgz","fileCount":18,"integrity":"sha512-RVMXc6mGuAHRDb54z1oW+DrsWCFZsTtGQb/f2MzbCKkbNi0dRs4PXlCBdp9jcZkqJRPxdi7feRjLumSc5Ce2Lw==","signatures":[{"sig":"MEUCIQDsN4NnjmTTpdi4jX7rMdxufh2hmqTTyqIipeszUQbz2wIgcRWuQdX3EEvhWSdT7Jh96actbd4it1reMru5PcvSqaM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":717710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXSkqCRA9TVsSAnZWagAA0GQQAI0PsX4K8p6rU1oOuTq4\nxung6KW8DZtrpLX9YDOkEhHiZfzBQX8x9PeSb/80w6vUo0Sk2csVW6nviRlY\nPTHI0TX6L/Uho65UnTB7fHVMdHopLTLlR/qTpYsJNxk9ZkOt03Fyamm94oQC\nG0rEvlGMFm143yjLBTOJ0qoojp5Q6Sp2wlTB/HaLERWy2PsUhG9usw4gbBqW\nBJWH7a2pT2mzu7MKimV25yZWqCz2Z+LgyNns3yJphqvvhpo+BVXnQUNb7Hzm\nTfy8UT+V1QP5Q6M7JqHduBMDhRTEbtr8xtjDVKyxp53LQcwtfhYdRIT/sRhp\ncWpT/6YET9kYUgp2C0GVxeUvg3QXYBGnnIw3pJeU0WonAN+fV+MP/t6eLnX6\nKvzZVV4xy2UCeLtPDykG6A/yftTD6gHWJgFK2yaGjW8zQq8z4GgT07fXhu8Y\nidhceo1uj30rRQHVyZi1vY8GC6zsgCvQ1z5H3jP5Nzgn4CqtaFHJZY4prpee\nwTPsIlQ/7at6uCIq2TdQr8KLH6DVwNBd6naWb3o2XLCdqRK6joIviTLmfy5u\nWDy7xXwuWLhyBivUFDMMhwtMXWeimE5WhNU6wPB7eispvyBrz9cXf2POnfgO\ngG9QjapGboP8PVaczgqRv6Q4jVtf45mp/fR+foG5hDFEdvDMOEjWTnJMDrSf\nDRTC\r\n=16yz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.b038499","@microsoft/mgt-msal-provider":"2.2.0-next.file.b038499","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.b038499_1616718121831_0.25672062191384803","host":"s3://npm-registry-packages"}},"2.2.0-preview.2ade0ec":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.2ade0ec","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.2ade0ec","maintainers":[{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2014f36098ac875542399c1041c836fe1d1b1d28","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.2ade0ec.tgz","fileCount":18,"integrity":"sha512-wImZre+EZHdLcjB6qGRnxsixSlyYPbu4AmmNpACrVBLdk8y6REsp9UifPXCCiZti8GGpneZde2Gv2+4sYQIfQQ==","signatures":[{"sig":"MEUCICMg9tSnKq41EK0zXA+Yt9ev4xC+SBpmSMjjBlQev+zkAiEAjhyE9xJ3WLbgJ3gZRKIeD2fDBZbIBEY991lVsW72k3M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXiWjCRA9TVsSAnZWagAAdwEP/j1xAw6E0+TubKEhkrUj\nfXw6bNvJrXbVF6zo0PWF5Z8gsf+Qi/lZAxDPz/b3MWnsMSMPeU0JWNNrbcI/\ntY6wrqKvtErfWHjC7W053YOGuPgtDTeQmVasQFQoFCRknR+HXB41B4SCiT15\nbhzyfGJnqcQcl8OPwhIjxOIKX6dhrwiDlqSSiN0XaFO0ugT+q1T//6uQVipl\noiZpyQ7MxuVO1+brzjMwada1sChAo2P2BetvDPgWqnF7NgWtDHQRffksOTN7\nrvv5Z2ktSJqkGaBpaNXEQEqDo24DWHz3ggZQsXtvpkkSM9OKQYKLwdo+5NeU\nvYtdo0m8qeM9r8lDMtTo79Ac5rusYIrN9Iyuk7PFklNHpkqjq8fwdgC+Styj\npoiAWLoObva0ro40oMVruFvaE61dPTCByuDP8F4oHhyBpDGzEO2myLNhB4as\nDVVtQQd4YCiIo/BnzvxOIaAifEORUx4FTUGbssRSY1BiNXpgcVoipI84qu48\nZFJEnBzZ+0yH07iDzYFKB1CyuNartyn+csd7+viaiy7Mb1ITZMh77E8aaSce\nCdhSYX4LYouBE5O7NhbjgVqs5OqGyJ4fvTVy8JdiKW02BH4w4LejM6xWKtPi\nMaaRgY4RSCgK1Wa7N5OCyOfHKk4R4eq+zH2nLWOGZhjQ3QEgKpVPodFb+zZU\n85r8\r\n=X90m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.2ade0ec","@microsoft/mgt-msal-provider":"2.2.0-preview.2ade0ec","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.2ade0ec_1616782755036_0.24690138155872066","host":"s3://npm-registry-packages"}},"2.2.0-preview.3f351ec":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.3f351ec","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.3f351ec","maintainers":[{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2f8800647deb3f5703a3b3f01d8376e2e61848e3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.3f351ec.tgz","fileCount":18,"integrity":"sha512-9trC0R8ib0sDTAPtwBtfu8XX8qi4F0gW272EMt8VvcF9OEZueQ55F/AfVlqrmcFe2klYe8GI05Nu44jcjBqShA==","signatures":[{"sig":"MEYCIQCxGCWAGJR9A75xDplTTi2LUslTlTGxNZftnvw/MNzKwwIhAIBYsRPBonbgpgiPnD6fW5d+7trigApZlfoVu1EBcP/6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY7rdCRA9TVsSAnZWagAA/1wP/AhX1YzFiBCWnbkXmwjr\nIVHjLs7Z29NYV2/LXfSgV/8wTQQjew3yc16ZW+6ZcOLOEFf8sOiRSi3raQB/\nbP1Lw/KlbRsSLlUqJPlgQKhk4SxXdn5tGLxrYhznWRvqvMzpuiKRaUjH9Cp+\nPG/gpKbFhby77IpwATZCHu+uM3/8z6DtMQejURdR7L96Ge9gQck6BokPfwHv\n71sG9DXIurUt7vcoeszn7Ul5oo771dW1D2uk0uMAvOUCCRzlTmM67SvSLznx\ndDnEFSrmi07PsiLzh6MzNw/7dfsFd5xaGyvXGY/x1eU9DsBhpVdzBwGLQIja\nFQxrTDQk1vLMpEZ27RkQ2wKaTU2SuaIlvEnXXckXE9tpm4lAkIk1mVm2saPv\n9KkF9dIWeY/pN4CYcVp6BlisIrcswaEyyErFr4OJ3F2cGJ/Dj5NcS/8MqItC\nP3VOt4DIU8hRzRWwCuhomlN4/h+LGBytd52U9tUD9xLuZJEJjDx8EvcI4Ewc\nQ0di4T2dIUqzK5LaHTRh8pXaPQc4JT9lcHW+y84HODvsLLjFxzw/Jp+ybm2k\nqS42l/L9h/bAE7jrXn911i+NNfkHbqVRlVCcsbcp/P4odcQwbgUw79x+tTAA\nrI+TN6PAe0N+RliOS2iklh8J7gzrI1ZjAU3i/Nvyo6oTlau7IqhVGftTKgpH\njY74\r\n=UeOn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.3f351ec","@microsoft/mgt-msal-provider":"2.2.0-preview.3f351ec","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.3f351ec_1617148637407_0.11077118757512161","host":"s3://npm-registry-packages"}},"2.2.0-preview.94da467":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.94da467","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.94da467","maintainers":[{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6f7d8b3744e27f7871c60963f479c41f46bc16f9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.94da467.tgz","fileCount":18,"integrity":"sha512-QZDO0SaqvxvF+J/fLao+G+VmeH6xdIi5ACITIBRtKKX8/8eVE8kZw8Z4VLOYe/5QJsKqqXCOiJeXyiyQN96cHg==","signatures":[{"sig":"MEYCIQCww+UkAShO8ZMGZFCOm6ILfxISULVyt+FsIGCG9YgPCQIhAJynUqaJY3jbvocYA5GOBQk2NtandFyw+xTHcIOHnFtc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY+kGCRA9TVsSAnZWagAANS0QAIUlsZUpJBjgqrHDgti3\nvaiRD1/M1AA95uJ4g6AQQKB3OWzzIkvX7v3rIY4yv922dkRC7nXlw48uJqMa\ntQviW7dMRzRVel6tT0QqPGHNpgv8OmoJiI3yXGJRUvcya2yCFBPAdasKWEnn\nFlGPX0Zkz/hLPlzXiZWXZwdZVDlIxisETm8Z4BaJrVptTdTSrrPiyEvXN80M\nwrqbEx53966hk9480iaiuW6CyGXpn8EGH8Hue9SU6inL9UCOi/djpMJ5QTee\n3EwksDgY6SO0voeCHJpnPiU3w8fb+FWTP28YiAjW1cmqw4v0i9C2pa+UGvlQ\notC5KUCH/6ddJxihEs6Gl+/SbVNKPSHhQuJ1Xd4gZZA4t8Vu/EKGeTs2Y8uc\n758ugIpT0luF3Iz2cl87YZSHeJ9g/FcDs/BLlVg2dBTIGWAunRcv4//7wOd7\nYG0TySfCqbgf2/7QrzObGU38RTVPyzBzUvrZAZAAKl+OcrQ11vFivl1QDxuj\nt0Dn0obhVuMeLHM5lP6HmXCCXu8bNZCPtsAybNTmomX9TZKgg8s8bEa95H4w\nCzEp4Tpsj5iNyaGS6twFkVAGDrYvRIHzwC8jP8mCzLTBicTH9JLFUb7cAnhe\nM9DbTBdymGfq18GAy5Q7Klpt8/hlRQtWe0fHgH+sy9dxmsR0FECR66E3sTSW\nwdBk\r\n=VTH/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.94da467","@microsoft/mgt-msal-provider":"2.2.0-preview.94da467","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.94da467_1617160454086_0.1028849871823847","host":"s3://npm-registry-packages"}},"2.2.0-preview.cea8740":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.cea8740","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.cea8740","maintainers":[{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8ec15d82657837768acb11141f43d31c95872bf9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.cea8740.tgz","fileCount":18,"integrity":"sha512-vBmSCNSqjl8dUoaOeP5ZR7+RJHOdsp87+SkskZFKNhL2zZaX+VVYKR5F78sBY08fee50rCRa8dJkWsI5+gTEnw==","signatures":[{"sig":"MEQCICcsU8STdhXqNox5Euz8ZuU8PAnRll7fI1wkWaYdFAPiAiAQ2XK7rwVSJANdJpPQc0FlHLLjTK4rjjAHe6tH+XydKw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZRrICRA9TVsSAnZWagAA0Z8P/AhHyI7NG9SmBBw6vG6t\nmoxorRuxcMYNmncqtQWzoPpaqgVJ42ppmWG9k5YHx7MoeZep9WTQoYvicIuk\nyry9WG/3fe0lobLDV086hUGlrJ14BIDwVW+Y8ZR94auNQcyOU/LC3Uc6yahN\nxQzl9CYaTAQgKtRjjvA10ULUuFVR91njn1zrtETc4S7QpbX0r5l0Hd8KyJhq\n23j2uZZcQpOGWk7++BPFZbJkj42MOsUZ2Dkkv/P3uZjWIxHVwJ5x/L6oSyuH\nlEn547m+XVIYGDqJPapI767ep73aN5nbQBMqdrIr1o1+ptmC/f9GOleyrgf6\nk1hL5LRqBKkqbZTTUUTaDYMdRVIvkvLES4JxA8jTmg5X9Q87JnDYO/T7EP6x\nhfvT0fESwHrFP2r7H2PLJlp1H6bu/zwESig/f5tbXIhRH0lImqIB/GOZWM2q\nPyswbh/dkT8Jox47fU/1jKl0dBBc6HEgIXwfEEh5SzG1GATnUsx9j1lRyliy\nGb4qyRisa8P9J1doYtAkGlDs7jlhoQOeU6xg0/nEaCgUwubIvcWQYwpoDSju\nWgbgKxRf+3e3Y2tMrjhXE+1CoJkAlk0sEXkTKGDXmv7rmShRlav5St6D373M\nxweLvR4sktbI6khHbSlFCOSBvwPxruEodb4f7tKawQXFdu4lK7L4eRUjyzzV\nCSq8\r\n=jtI+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.cea8740","@microsoft/mgt-msal-provider":"2.2.0-preview.cea8740","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.cea8740_1617238727927_0.9048039360856486","host":"s3://npm-registry-packages"}},"2.2.0-preview.8178bb8":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.8178bb8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.8178bb8","maintainers":[{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3c2795abf72179a9c1ca2f35e42090e61915ea85","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.8178bb8.tgz","fileCount":18,"integrity":"sha512-BhpDu3BxCL7bNUFDpCJQTk+CDBA8nmF2CUNStKl5tT+wxvlx8qbduZo+agEvqpXkQUlfevB1ofAdSUv56xrR6Q==","signatures":[{"sig":"MEQCIGbMAHwJw3lbbJ1vFgvxhbIKvgpWdDu0+een3c9SV3Q5AiA/Xjw5/c0ORTceqfAvrbpYAq2vOKypTBQd0IVR9daePg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZet1CRA9TVsSAnZWagAA+q4P/3bSHZYZkmX8Gvguf9ck\nG2REdCCTw3lZB1KZqPAAtr4kzFQF+43kBIg9SljiPtCfRhtXRGHuHCVEX5Yf\n4KCU53VVz6z2rlxJy5jz8n2XAlMbnO7tCZN40p/5j48WKstBQc/8AE6v0l0h\n+ZAF/CUe8GhQEkcVaj7bcrWI/wbBmAXrnga584KXYpkhU6cDdH0E7VGXfQie\nB9vqbL0h99jfRVH/XJHo/gzKx7mdpgmYZ5ky/1zrg2VGTm6EW2evwW7wyQ9e\nNsIvlYDjz06j9LA7uNGwIAe6Uf2t7qjhDPYu8SZzfwuBIyjoozpG9E+P3e3D\n5n6WnprH1uiwpkQLk2oAirGIMGI1dAg2e7+TZIqYgESNF7i1sLH5cB+JeyRf\n32YLeU0ArEIxhI4v8aH3EsENStAuJYzcjCwYdwL27kHipnVrLg0rflTnkuFt\nN39h+9EbR/OgDLlI1ZYAS8jofgAcFszsvM5qp8ziJnqtXYQSYBPBz6Yo9FLY\nmXfeeFrRsDverN7a2dkiFiIsShscywMK2dyfdK6Imz/H2GOCCrVm9zv7Gnwh\naXdAJry6vJqKUblx/gSjZzH21ibjmTB3mQLGCneI1WrQBA1baQWi8fH6ySCq\npf/liNecSiQJ9/x93HLfKkYobnzIa2qbovlk5qyNVUBiFdaESJUIJeQ70HD1\n4zdi\r\n=n/wE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.8178bb8","@microsoft/mgt-msal-provider":"2.2.0-preview.8178bb8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.8178bb8_1617292148909_0.3029842812048693","host":"s3://npm-registry-packages"}},"2.2.0-preview.15dda67":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.15dda67","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.15dda67","maintainers":[{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a8d65206fdfee86b989d6017843df9afa8a274d0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.15dda67.tgz","fileCount":18,"integrity":"sha512-MpcvLJgLeQPtH/Y9GEDH+FVe1uFuSPhYbHXoc9rz2D+93Hi14ZdSSNgiryPRbK5RsauiOfore4xLM/p000U9AA==","signatures":[{"sig":"MEUCIQDpF/ExUh/+G3XEYCEBoR8/0Avn2nYIoVBEHOjgOOnJRgIgb40Cmr1lA++Sojdtv14oSt0cks1tKbmlQliOuR6BHEQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbrnLCRA9TVsSAnZWagAAFgcP/R4bamFZiiRgFeYuWi4+\njgkDnhFOi4osFFdmjvYxalpynZ7CLWiSBAQK0+MiA43P3gkJADkB8Ws40CD/\nNRhyJ2ho0u0HJn82Gpd0cT/9tWjh2z+YivyBTDMkTvJL11cbvpRWlwqh9lfH\n4aou9ubMIX3CygJixZgdto1bC/Ng50lEXODtQdH6069VqFbL+M3kMOr8HD39\n5iVG7uGJvngrK5dwMyHPARDPd9M1Elxx2FWbgZkQOcuE9urQiSoe+ffOxrSD\nENKe0M4zcYhju4Zk2/ZcTJVpAV+F9OB9lyEGam26bK8xu1oYQD6PbqvKcFtR\nEar/HWb9uMKpGaD4HC8a+P5Uk+7HTGOY8CdLrEHDlSYScX1OMKiBBEvwXQee\no3RGtNWpc+oiICvh+1e1ONRxx5eZJgPjbkZdiuDhpYAmJ/qdJSFKI+fv6hG6\nTRO918o7W22jzH6yDaMTAekY53mwP0VGUfWfxt14R3qlK70MmtXBzBK6Bp6o\nofYrqo3iLfzsy0YhE8zYunBuHu3ql6gIyShwH07/pbokav99Ey4ZPd3L5sDq\nsDfhoIPuKbPp02UQneXyplvo+lNGjipkmL6uJMMx8wtDtTh3T85a2uhS/5H+\neuZOIjiKQDPefplB+5n2iW7BZsOv8jmnxh91dtl5XQtUeZ7VxMVrqWH6YsIw\n75b+\r\n=YjJ+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.15dda67","@microsoft/mgt-msal-provider":"2.2.0-preview.15dda67","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.15dda67_1617869259094_0.88923787144808","host":"s3://npm-registry-packages"}},"2.2.0-next.msal2provider.178cdd7":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.msal2provider.178cdd7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.msal2provider.178cdd7","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e3c3801b779e04cfbc9f038422e68db2e2b54cce","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.msal2provider.178cdd7.tgz","fileCount":18,"integrity":"sha512-dWrS/l/8IpaNcYEpbH5qjYAQeDuK4axwmsa58j8pecudUt32MrPvLKseo8sPrB37KVpcslGgB1jyrQTwH7TJ1g==","signatures":[{"sig":"MEYCIQDlsrTDbG53DMr4IqiSocL8JmFmfiGxETS7C5+UNCcYswIhANP4eSd40C0kX/gI8nTUFwmy0k1jI8nQIkESoftVCu4g","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb5R5CRA9TVsSAnZWagAAP8wQAJ37c7yF9JC387O5AhAE\npwp4CMkUdRthWnUFkVVXG/2c75anh5Mvyy2opf+PtLKoAjbBioZYEgJI5jij\nWIi7ZkASH/gqh+T/JUTt+N9riuXlUDERO1DbIQVZWeDuWLy5Z+dJLMXeJvCK\ncLfex1fCqPJpiTDRPOEndxCB1n762VEJOgnT7qzW0dxLFaTiMzMUnXqE3jh3\nUjo8dSZQU1YojZ3920uaFFoSni0TYTzuKthrxS/PVLVgHijAQh4C82rJv9Ft\nV6oqUu8Cb+ickOEhmverPdsAhAzZL7qwVdLXIwPe/VqLLyjiV6V3ncrVf5Eg\nWWKrXl5DDe/K4v+Q7QXugmEZXa13xDvmLXQ9jWSFw5bGkrz457v/pRrkBHDz\n+C0UDpC1ytPFf8ZdCPdCrGw8iDLBcJqP6Tci9+B3pEc89+8Z+njcgDKE2YAy\ngG30ls+NPuoA9vNzY1siLvxfoFQKL554DEjE91erDL8P4ADzbi+HdS3SDiIc\nBQN2Mn+Yy6QODgBWBa8H+4IQlAIIaUHtlRw4HY7W6aSIbpEqMAai0k3Kyqse\nTKLjDepXUxQ5cCjfm07IlY76/bMI5aLYu3IRmdbeHZf2simcgE/abn4KbfUq\nyr+buo7DJtLiYFHMUE594gYxNdP1DM3Tab2kyyP/lhvtfcWQBGXY5j47zazc\n1mBD\r\n=1JRp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.msal2provider.178cdd7","@microsoft/mgt-msal-provider":"2.2.0-next.msal2provider.178cdd7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.msal2provider.178cdd7_1617925241022_0.15036745643763783","host":"s3://npm-registry-packages"}},"2.2.0-next.msal2provider.a9b1931b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.msal2provider.a9b1931b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.msal2provider.a9b1931b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"14ab9da693fdb6fb12136ca92d6fa070624021df","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.msal2provider.a9b1931b.tgz","fileCount":18,"integrity":"sha512-skttTvAz88v1PihyGKKol/OL2df04rC+zYOs7O31b2fXkZs7YwCudNysdNraLIXoiU5DMCBW2TlIi2vD6e8y0Q==","signatures":[{"sig":"MEUCIQCObYmZjOGMR6oU4EHQKY9QJ28je90sMitewqP2MrlQ+AIgeybwi5i2/JxTZLGesIaG7vE44qXnqtROXbL7S9liIfA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720488,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb59ACRA9TVsSAnZWagAABowP/02xOQwcs9x0JFN+AM1R\ncvDUXgw8jvoxHPjM/zFnniMLDufGcUm7PIuNyCKqqrnzFSLQJpmCxIgONjtE\nOzccMxdlXdR/wNmB/WEoKiU26L6m+q+UmuG4tOn+ZvgObdeWly36bwYulbH4\nv8qIQjrNyTwWs/aITc80xkLkunh3Ub5Cy7bH6ULqNvgkHSjBLeL2b1u53Zcp\n0eyXqITJ4DMCthQ7Ccc5ALdHIa1XMOs828FbT8hP4zhy0Y58NM3h8LtyAM7R\nirDiJf7RuI9xca3UkkYS7BVl9YMbWeEJgz9wdwgeiVVVPRUjl0UMM17tIvfS\nIxeQGZVwGipU/ut3u285DsnyD1+1jkedqFl0d1/AZTUAG6dMOeZyLcE5hFGT\nkhG8oyEntUYFH6Dskw8BdFy4f02cHgqLt+aBMkOEiRwQjXhfM3hsFWYB0Wd9\nFcCT4r9wRQVIj9KDV28RtgRj1jxrocMCJGYJIdMTq7h0fjSErUzR1N4ImYqE\nnMGqyS7FUIMIhotu8LYbQ8lsaETJm13662N/Qpm3iXZxnnl1a6u493C4YMXH\n9leQRBpJYcf2EJgmTjCV6CgYcocD2hEBps3eZOMLlu9Vgc2d40d0PdE4OyMb\nC0ZZsHUAt5Dg+xTGynjWp0iZv7WpKlyOBEgFFGVYIC9Fw9kFZ5Dduw5kpUCa\nu4gf\r\n=g/xu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.21.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.msal2provider.a9b1931b","@microsoft/mgt-msal-provider":"2.2.0-next.msal2provider.a9b1931b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.msal2provider.a9b1931b_1617928000270_0.2967736793993845","host":"s3://npm-registry-packages"}},"2.2.0-preview.ef9b63b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.ef9b63b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.ef9b63b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dc5c3ea2a07e7e453e316fea1fb0226fb851c226","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.ef9b63b.tgz","fileCount":18,"integrity":"sha512-jnhkuyBkZ1z+7Zsm/P74kL7jeN9Er7IgPTzIaoJPQtiQLzvwFIfAV+jMvflXrHW78PzeiQPId9VgtD2xko7H8Q==","signatures":[{"sig":"MEQCIBdXu/Obs63t4JQTrzcJDpNoILORMFGj8IeIZpqzZOpuAiAU0YdQCsOdO54dMgjE6aFCcLgAWxfFvqJgI0RH2MDk+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb6MZCRA9TVsSAnZWagAAMEsP/0fJ54ZPGWEF/1K7RAUs\nZRsyngMbsuGkKa2DuAKKKi2rggYn4Orf/vUZX3igMR5qVECZ1kq/XBRFhIUy\nbS9rF4g8s9c6w15G1p5WDGQmJIttvudHXGC2itrJ+0EJE1Gfo6KGGkbdgKKx\ngbNsZzaWcXXI+G4MR+vUFbc1JAYDfDLCcSu6wIqqrZ5BwQhOpAadUxbQfuJ0\n+rA2lqHo2M2cNDuWkV1Au/e5oAk1vWzlsf0WAQ++IH1edBDRq3gNaTEU61qV\nVyCpqMzn1YOB5doRJXyJp+CjBBL8C56o4DGiqvmsJA78VEUzsigTrTRwhQIy\n+66IZjNtMxes6cR5AnNO65Vuk46I27++RJJiwt3hlGuE2K7d0ScwhAfvO7nW\nSm9EiIAXLMU/iswy0FvnnnH11uZqJxUIMRsiHeP95+AMapj/QOO1NHRrYzYV\nrAtNoMWUWwHs7giyq6cctl+y1ld1o5Cxs4E2VXtJK76jr+mhN+L1DApSkA0M\n2VjkWJIwdanryb7qmHErrWZaEH/U2IQ1MKX5flFT02ApqEWPCR+8vzbTZHpP\n5i9W7yFgeQkDAubo+ktQd5KFHe/GF4jc/LQJ+JHwXGIV8MI5R0IrhKhWgtn4\noa3itye24ItrgZM3seXjKy/nWgpMW2uSQ7gJ89SSNTpVzqZUj/MZzIojySWW\nx++v\r\n=S7wG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.0","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.ef9b63b","@microsoft/mgt-msal-provider":"2.2.0-preview.ef9b63b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.ef9b63b_1617928985012_0.4849962011097968","host":"s3://npm-registry-packages"}},"2.2.0-next.domainHint.399bacd":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.domainHint.399bacd","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.domainHint.399bacd","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"da7f9f1c0bc2549023d7e37855ab3c0f83180fab","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.domainHint.399bacd.tgz","fileCount":18,"integrity":"sha512-vpNAmRbHl3kXf/JAsNSBbHYlPgYFY8xpDHsFB9LQdj1OW5Rs0kPle7DzVhJTSpkvJi/QH0PImy3z0afmciEYMQ==","signatures":[{"sig":"MEUCIC3SS+rQ4gGwVoprngawJTaEEoeerEiWAMJEVXFg6t9cAiEAozxTCVBGUIXER7EonBlbuMIXZJu6Yw+p3Oy4kUeUhlA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":493744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcKZ8CRA9TVsSAnZWagAAQvkP/0WeAgx1szz9REG18DHb\ngVlO67HkmL4+CSPqZSzUmSJ3COSJF0AVASQ3eP4jRsqucBNFIYCld3UPG5K0\nsqyQVclMoNs8swWN+99CQIA/dcRlRaR+qKgS6DnFAeoiFkECR54Nyv70RXvs\nDSPq28QcmSsqVuWo2HORCe87P1VeRXCfua7RbWRaEtgrcj6kuv0xlf34wwt5\nzCFlwx0h6FApVIKT9zSEHOZjHdf3pWAHz46kj2sMpdRmCSh3pmpQEzIyERM7\n8hgqycSqsTyB3cz8B/03/LX4ea/uKcg/6vTl782QsJdvJxRMaNmJXuVoLRP4\nFCCWYeaWAM7XHc0H3XmfQKRD8mqbT1I9kwnV/lrcJmrDQ0yLms9RJ13RenTR\nUfPE6qZP3hDJUhtE0IBIKXUprpP6oEt9LBHGAfjur3VeBBnPa6MisfLjsZoP\nsLb45Ro44RQqEupdAQgkjbwuSk9pRwBX91uwlQc8PhebExNbUs2N/XSIszWG\nI3yOAZBZXT/eZa9I/yiMbSJJGWHZbSqK9QjjMehVbVWKlKt2YZPpEL6YG/6P\n2GrWJBMtGTyxr5AyXo1Ar7verKePxiSjankfj833QyR6fPhZcla6D88YgYgr\n4iS0qR7vns+6c86z+FeNJO1DT+tPeTajVoKrDSF4PQqRy85Qiwa9MdJd0mWD\nsXgT\r\n=hits\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.domainHint.399bacd","@microsoft/mgt-msal-provider":"2.2.0-next.domainHint.399bacd","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.domainHint.399bacd_1617995388471_0.23769878228209862","host":"s3://npm-registry-packages"}},"2.2.0-next.msal2provider.617820d":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.msal2provider.617820d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.msal2provider.617820d","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c5502e2847ccb02b13d0277e5e5e5c310296d5b7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.msal2provider.617820d.tgz","fileCount":18,"integrity":"sha512-vn9hdU08EA3I815kjXUrbkykfGy08J93/7Jyc2+dfOysLVYQYOU3/EZSuyzYqsCJY+bwEN/2YIhdmgetWkZcDw==","signatures":[{"sig":"MEYCIQCU+wRLf6MqXFkY5DJKCNlazXs8uAoPiIs3Vq/TpEOOAQIhANTxZ6MXuINBoUXI9F3W8EhQ4w/kGH+JIfmcMIeFxwVZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcNg4CRA9TVsSAnZWagAA8n0P/0CBx2CALPILya3wF5Fc\nF8H5QNJQJWampQueAYJWwueBtFUmKf1h2crKu/rgvP1+CEKcuGf9TaXy9nVp\nZW489/HWU7UpWQ66MDaBtg0KANk5OkyGSJlCLjw9Oa7JHXZrNvGGC1vmvAzj\nuep/HErfrvXf+UhCZmBT/Nwy8ugCm5DDUTqZUUOgzsKlpA83UYcaXCKRFyfo\nWAbDEMnaYxLzt/lBJB4NeqfZ4DTO+/JOj6D8qbLooLC7BXKkCiWf5nQEcB9m\nSXJnoPe8horVMawVKbue+BmtVp3rIoPG1zK+NMB1m5HHybQQm24NgcHUGSY5\nqFyfnYsTUtXTrf+gUurzHO55LWJWCkY2C4y6hIdRjfCT7LGbsMqIswqfqSp1\nLxQWJRq69BsZV7isq4vErhp01tALuJxngbjPAEnSSooos/yunwmONUw1AjI4\nWbBeTwx155wYhC5e22gjdeg5gx631ltWXBRKWZYpzYBnfGTXc0zb00udNhG7\nR25we49CL0GTt4Os3ukEbXYhRhCdt9GVo3APssNJ5zalS0LWMWdprtMpo9j5\nhzvxfXNd69aiJw7/OEyYQDXcLHLHdEmjTWX6uAlaZXSEtIDOUi7QOvtEZrXf\nUq93QRTQiFJ3hAYFETSdLGwG2RIulqPbjv5lCBXWSMDK41RmWkFybZGW8Okg\n+Ny8\r\n=8ruX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.msal2provider.617820d","@microsoft/mgt-msal-provider":"2.2.0-next.msal2provider.617820d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.msal2provider.617820d_1618008119716_0.6476387367988483","host":"s3://npm-registry-packages"}},"2.2.0-next.file.0e80deb":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.0e80deb","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.0e80deb","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0e368c45edb355511dd1765d0d9f3ea889072988","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.0e80deb.tgz","fileCount":18,"integrity":"sha512-+IWVQSKWOsNpsuETq1bR0120pL4NNzcW32z5+ZeOIijrVPMym1DI47wXKH2ViYsTDYBzb8kFxigHPm3zjiTXPQ==","signatures":[{"sig":"MEQCID9x2Prs9DxqfnntrNIulbiFW0woSSpC+A2l+K37nfsPAiA/m/LmicRetQ/7WT6qLpnLcH+FZao3ZC72PVprVBiiaA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdQiTCRA9TVsSAnZWagAAXH0P/15FjWOR5dlUUOKpRBo1\nnCU2pc8iBbbCwavGioN5KRr9ij31KJy0FZu52wnvVPfF2GmtyDMc2LF87Hw4\nIZP8laI1q4M1g5YI9uONzMtUfJMIJEvNxKpENaWDZDs8A+NV9B2wAAZJNrIf\n6PaBphix/mAxth3G6vdPeaS1LHx9MjViNqXHju7OgwUfAXz3U4NXHrGypm8W\n1D9UfgYvfTEB+i74kkLNMTvAU+KIknDOq3k16tQ1B5QIkxFvaDNKNoZsMXdC\nsW2osAXTikxmmvOUthD8fwKmLFKt66lkwSOdFYZgqE8esFCQZwvKol4StDtN\nv/EJr/36HOmI1SdLdYu+p3TAPdFGBH326fNX1+aynIrlJZbv0rgZChRKER33\nLk0liffJ8AG5eVFR5bh6v4JpralfEj+AhMHf+n6j0xcLqc6bUnheRhgHga4p\nfHyj9o+hU9FHIUqrXzh6Ksq07kqOGvo87DmNC8pkp0+S0U7m9bo/N+aooS2M\nHMITwwUZhIRNF+GqqXa3IGEgpSve+DNttE2VKSzrdYYC0RN6nZTLCSTZjciG\nG9p1iXZfATi/2yukpckKgzB+QiCRjyMsaCJT2FGbQlsxpiBYqOaUWXUB6Ueg\n4oxxm5T5YEH7I2LeIGwz+n72WoGUquU5GOSSXx8xTjR5+mtj3j7IPunSKRvF\naqzG\r\n=oAah\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.0e80deb","@microsoft/mgt-msal-provider":"2.2.0-next.file.0e80deb","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.0e80deb_1618282643290_0.9287604750616374","host":"s3://npm-registry-packages"}},"2.2.0-next.domainHint.a5edda1":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.domainHint.a5edda1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.domainHint.a5edda1","maintainers":[{"name":"fastsvc","email":"fastsvc@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"951eace5be4719ed7c86216c4f70bca3a2df928c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.domainHint.a5edda1.tgz","fileCount":18,"integrity":"sha512-r1JBJQvy9PaqH67KUjPsLWmUjQ+QXN7+y/tiXZkv65Z9knKJFVnTRSnZj+MFcPklaaY/06zTE5YRPHrnfnw41w==","signatures":[{"sig":"MEUCIEPt37zvHunf1tuPziaFkXhKs4EHnLlavWlELwoFC/USAiEArvLKOI2xjHAY0Azh0sKQ5XqbZMHB7PkaxcEBn3EvyKM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdl00CRA9TVsSAnZWagAAz00P/RUEp9BoHeNKP6NAx46x\nuhHcnhty5SyWH3OrMx79wtnJR/S6Ir15iJHJNIs96nj+s4Adlc+/rWcUUMh/\n0OiG3lg/EgrrDlhW3qfz1oP9rvpUnWDbU9xZj4ZAMTdxN4MtLlI+7Sem/q3j\nQyHbniDLUS2JzRVAXFI+qN4YLpL83Z0sIxj7xOed/v7vVNVFMmI8VrGCkF8X\nYkBTSelvfKm7znC8U5LDwUz1Gv0Yi6yObgEHGOchBhNlpullkiYhYN3lgV/a\niUrQHvBMD5feEf2SX4wjD5EhWjEai5gr0NOsddEr+71z/wT9esjghJnTcbrX\n3MTzrgKQ3XXML1ZaKAnh3GeQKc+/g+V8lVIoAl1GKmzECJd9Yk/78UA6YqbK\nOaOlG2G1uncnLwIEf/egzjwasx+CBc8zZ+/kPbgv0OVeBOGfkGsaVNajJTUY\nNcQOJuiUwX5ikHozEF4tmR77kiEnhvrsvSANN3t3jq4XIlF8LE88eDGHYIMv\nnejGgH10QwDGog7AOocYgJL4EtnbULgcjxAyPe0Rc5HI3Rlt+rb27mZYvDYK\nMIxJkLb7T8x7XwRl9WnD5u5SsbCyR6lkvtYOAuVNFja/naJpcwP9sIs2ajCo\nxC4mbNJuQ8gQEu3jXP47gXLz6aUbQw7pN1ofFO3iQrTz9auQ0OVnfdBauwg+\nddo+\r\n=bVis\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.11","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.0","dependencies":{"@microsoft/mgt-element":"2.2.0-next.domainHint.a5edda1","@microsoft/mgt-msal-provider":"2.2.0-next.domainHint.a5edda1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.domainHint.a5edda1_1618369843899_0.7300242978892351","host":"s3://npm-registry-packages"}},"2.2.0-preview.38766c7":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.38766c7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.38766c7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"27191d165ff0fd79c98e6e6fc60c90c58ae9da15","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.38766c7.tgz","fileCount":18,"integrity":"sha512-3bZccTVYeK7BgLPIEJvnUkMnbqtt8//KqrTjxYwPV4ZGglXdaTZK3v70GxDu6h9aK6CUmOmME91+fhv3QXCxPA==","signatures":[{"sig":"MEUCIFokjISj+4Xp7yzufTbW6tdBl+eGbqyfzHrHtOy90WARAiEAqGb4XBVkQRCqsM6OoMGjoFOEP2CrJYtdznIy6nw9Y9U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeRKWCRA9TVsSAnZWagAACUwQAIhBMB4+FxAovgSAKsLy\nbNjACdSGvIui3mVlkytX+vntSLUWxW1mLVsRvZ6xhH0ouL6BAT+4mEGhCojj\neD/SjCpkTcYYKXWseJgC1BPcCUslvDtqirt20CBR6Hpq+k5t6QVvxl2j94ir\nUXlFKteqhL9ePX4/r7esAqTgYZypXEviMYlMrBVDgxiglyjus/L5a/avI+MB\n9gMEiiDbSvVEVkivjtDH8LraUxPFY7BM0nov9zzO+nQhwCt9nJ9JbiEvw+j6\ntxdK86r4PvQjOUDRXOljfwGZ6NCXeLRtv3+H0dc8bg66xegpkQdqAsEJ0cIA\nk7zHKS8sRACousBYAjC+t8QpmNZ0iLKJPIUuvza9Nn5pfDyWlAgbCh7LAso8\nuSyTQsxgF7Fj2uuPYGV1IR5PKS86ciKzSUjhYYWudlaj6Nl05KzL3o2qY0Bm\nZ5W6s0IqzjM26tVZzVsrIgHjnVz5rjfPMvvLFfYcuDiVaqr9P0YINKV/GfLE\nLctqb1Lz15hIkn8bzWmzwMsWlu1YYXAWYfjU7aoSMbkZveSEo4ws5fxz7ifJ\n3cbwrmXXA4WKf7Mor1bnUZoYCoKta8+kcX9v5LvETn+1ex5VMeUZA3adEUip\n8tDJwbKN9P6KhPOVNr+yQFa5GozJmSSWVF1j37yPFXx1jy2NsGqwrl1l3YIH\nRdNG\r\n=lDvJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.38766c7","@microsoft/mgt-msal-provider":"2.2.0-preview.38766c7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.38766c7_1618547350387_0.8759740594428513","host":"s3://npm-registry-packages"}},"2.2.0-preview.fb176f7":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.fb176f7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.fb176f7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ab7fa5e93ab66db0b429b6cc48f5328e9f2c0c5d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.fb176f7.tgz","fileCount":18,"integrity":"sha512-wLZk+syCAgfZUJlbSDECXePjIoy/yaBTb6n/Q4g0vUjL1v6AEutll2qAxxcFtNpWk+K26jCCtvD20AhScUkbnw==","signatures":[{"sig":"MEUCIHOZy52IoGsPx72RbNFEh2gN1LPT48JVIGIT0/wGYet8AiEAux+0N1fNXJpIkckRkfBpFYPnrhEd08lW85jF7wtozfU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeSJsCRA9TVsSAnZWagAAr0oQAI3msTbLP70msBjCCs79\n/jUyw6eX++4/LKRH4kDrC1plV1gK8iiOLb00a/dBuh3v5N0zP4HpNQJ1Vwud\nyt13dFqMSsrGtMCoKaavdqw9dQHIzrfI6Llmiyoe8Kym1ZCuHDpiLw5VL3aC\n2GzklrZKmXChPttSSpEN4L9c7QCGiHfIyDBmrnqINhnYU7v+hlVgyXNXPHfQ\n8x1B7S20IKbGcxZBa62b+wD4q8XPA/M58LP+kgTX7Kkfg8ftWtBa4t+phdXc\n42zgqHU+HdujcAgZupWiDTXlEYOvKTJ3zQNeW8vHCUt2OQ3xP4TsrX9a0GJh\nCYVasfYznw+U6tM7fVXMc+nLW292bFHht1Xln0WmArQcpEGsI62M7YPknpC/\nHdJ9mfExBBypMnRcz+y4XaA60+2LQRqzTJS93AFYUpvl1OtuDSNMbDQu37Zb\nxwDfjACniL5fCI6e5n1NhIMpPg/gygy0fftTVfdO9pfoIu8Iv+67MRdNQsAs\nbgkd2iHxE3BNy/PZF74N5VZhy+fIvBp0AqVqnJg0G9LHVmx1mfvJDXuUPKeV\nCGK6Lz1/MXVJ13+LP5c2soPbVyJoSZYYgdOvht3STcHmA8XcEOhpGJFhoKCK\njKmkVAVV9lwojujR5Zeohi0LyzA7rA+43l2NcegjRmfppuZ8D4lWJJrjFur0\nnzX9\r\n=BQ3/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.fb176f7","@microsoft/mgt-msal-provider":"2.2.0-preview.fb176f7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.fb176f7_1618551404248_0.21923483109832143","host":"s3://npm-registry-packages"}},"2.2.0-next.domainHint.0c13991":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.domainHint.0c13991","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.domainHint.0c13991","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5baf020a0ae6e7a0aa23140b9eb003cee1745065","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.domainHint.0c13991.tgz","fileCount":18,"integrity":"sha512-9bg35pmYDNjl7SanLPrxokd/VS1I1LuqQbFa6lPlMAdXHpiOMw+RV509kgE00VY6oVOJ9ZcjeML5m3fA/a+A5w==","signatures":[{"sig":"MEUCIHBwQ2J8U5DRjC1p00BjvkRnBhggX6stwwaBLrEJVMZBAiEAzRR1Mc3ry8bV/oZ65ROYTX2dGmbcWWACdwAEsLloh0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeSJ2CRA9TVsSAnZWagAAsa0P/2rF4WHR3TMRIMrJQAvB\nM0asHZqZuFxBtnWfAJ9KwCEduZamn10YLRCuycT8OwMFHAND2xz5LXY5eQoG\nbKq20jVPLkJTSv2RwfLBRkzgttDiKzYGddg3n8dDSQJi3Kfyms7wEx+Hk1FJ\nPJFeAkqx4WnjTiGg38iHVSC7sn0mTzAPEAjrxnbpdoFJ7pDGEHDTwl43aGRW\nzfK6mOhiw23kqbiF1qbIywPW/BARUKzguwnzDLml4/UF3OqZzb3DQzq/AGSq\njL+pvReFysimyRRxN3Hxp4plMBcL88dv49KTFZ4X/hV+ek9tCFS4S6DIiglD\nJSyUFD1f4bK+UQzkj6kWzr+QqPS9xOhinZf7lisgFTrtmVKVqMeVqCqWU0WH\nuWSt05H+ybOswUfnvyaGDo2mHnz7mGZOfDGev2/gMpD7kPSWnVnP0sf//csc\nxQpReJhXM4ChuLFM9qmbLpoqXAU2m6HEP0hR9Scfd5rj2txg1ThF2D2O3fAR\n8yhzCpS1gT5YxoJT8jXrP1l9gaDDoqTCMIIK0j3B61bOVLlM+dpIPwnUr9fs\nHDYmdi7ZabGp5RCDEQvMrtLKZFou2DoVcCH5vFkIjjFu9Nnea1JkyHAyoo79\nGM213sm6IbAMgLU0gcx5g7NbZjNEleLre7qyRuFiZ3r3Lb4sjA8x6YaOWquT\nwLuL\r\n=Wac7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.domainHint.0c13991","@microsoft/mgt-msal-provider":"2.2.0-next.domainHint.0c13991","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.domainHint.0c13991_1618551414209_0.750718725956089","host":"s3://npm-registry-packages"}},"2.2.0-next.domainHint.d04c186":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.domainHint.d04c186","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.domainHint.d04c186","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f34813d3e825e8a545ec0c0dd186376257a5057b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.domainHint.d04c186.tgz","fileCount":18,"integrity":"sha512-dIVh2bgP+CEbAnLkiLlSaYjuNZ2s7BpL0IGHto2zAOZ/JAGE4ts29TUEuCugC22m5TXaIxAP+pznpKSjHATfpQ==","signatures":[{"sig":"MEYCIQCwxuqN5lLHwjEaSqtMrjEf1Qofy3itgfATfKEjndRyVgIhALrQ0ay6025SsEdTt3RnD2TZzMN9X+E/k3nwvAe0dd0F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeSKpCRA9TVsSAnZWagAAjg8P/jGqvOoJekMZ9eKOlLsE\nTcdDOGMwlj47BF7OWpR0NbVKCMUPgODltWdIvHODDYLtDe7ZITYZ4kzuQj98\nDu8XHnx4CWoZCXa9eJmJJUVinact0ucODJvPstWTCjbCqX3YXcL2VGL4VHb/\nNRZ77cY1F/JEf299xff56PJJCOhrZk5Mxwl4dzej+gnkGh11IVR3iP0Job8e\nYQaJrKt/FOPpBsN/8oxkEv2u2cpZ/5/G7CsVi92KDEEPBj5sA3PKOx3LEibj\nApgVofhlT8wYv6ShBK/CdnwOp0JdZe/tkefTXaMemTUOrGZVc+uz55r/JV+9\nvFUa8rdU6RweXhocuVN7kfqCqd6ctFjT134vVIu1xxADMOOZIzcKoCbJSW/2\ngs+NRSTxHd3WREtvX9ZsKQFcFLdSKwcSZ4+UpQyoJQdKj6nDRYsgMnzBQQZW\njFTecOBY5oOLl/JouYHzBCVgdIrin0TBMClwHau9AvEvNSxMLfZpnOIZj507\n9QW0IWXEy/XUgQX0m1INC2gh6X5Oh2eJbQ0qDa2mqxvALhIFywJYJc8R7Yeq\nlPOGp6K9ywEB0cO1WcIwVXvBenj/eOJGR4lBU54ZqqD9L8AslTnWkS6VN0kK\nzOm8FBk2ePY1c06NYVqvtrzE198VkjrCxpqSbj3eq4eGAFVfTAGSInOhM+Fc\nRJ62\r\n=yoXC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.domainHint.d04c186","@microsoft/mgt-msal-provider":"2.2.0-next.domainHint.d04c186","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.domainHint.d04c186_1618551465049_0.3534703506508581","host":"s3://npm-registry-packages"}},"2.2.0-preview.95603a4":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.95603a4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.95603a4","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"31832dadf16349deff7418ec1d4b4acc9154c255","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.95603a4.tgz","fileCount":18,"integrity":"sha512-mkIZcMFbiqxxgukbTHKYTYd5npEWUU8QYt/nzZ/RWNXao9StmFBBOlBpbltoiu0HNzRBj15H1LYnDdWHAzJshQ==","signatures":[{"sig":"MEYCIQDi1yjhMQ4Ecv8+FM5bdRkloKv4bmSFVGgr2/9RKIh05gIhAJM4QMPbCQidyExK6ppVmN7XywZcIZtvgQCRvmb1d1gJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeSRwCRA9TVsSAnZWagAA6g8P/194oIoEmbly8CmBAec8\nu1VoT4ZhJutUpU3C95+WgUpkfICX5/03mWJ0SDokq+EACT6jgC4lbOlsMCTG\nUcIgVLdrBuXECDGslkDXqTpk0yWKjldcHSXQut/rezyubsbYxaKEMqADhEKs\nYun5CsWlHAY7Cma+acamuQdXMMDCbQWD5bwz4ws9o5gTi8kRaT3L3W51DHSZ\nPEIOA2DioUmygk0WuBLjIe6n8cglbmwnOtoT1Xic3bmYm6ldYQkRwIzPYfno\nC5L2aqHcsuFb5Q1nJkVHdfH6Iy87prjynvvsE8KzL6Hm9engUKJshuFS1gH/\n+qTU6lUqRg0FGjy98ltB7K/Ji0q4keeFuYeXUn1GBnVymadMA/CXgHlHtwbZ\nSwXyv+4QyQRl8GcGaEzuqzb6wfuRO3caNK4mYAO8q3kQqlcaZiMiRl4tVF0B\nYmZSVveeamIWU/TbzBrHfEzUWsoDmy0NjmZyVtOz+qR61spAvv1Ht+PNrqPa\nFUihGA8wqLyXM99tJ0VHBzTMtHH2YiqrK8k3lgTSL8VsjuHDzBgTw7dEsEvu\npAvIZSIfoxy5M8sKmJHBceHdeapBCPZy/slWBGe/nsnXc0P3n4gVG94h/7d3\n6ELxoiBApXsVC9aGHvo4+1+nlvDozv0JK22Jq/VQ6gtl3s2HN9EjHfCATHFj\n8gsG\r\n=NL4w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.95603a4","@microsoft/mgt-msal-provider":"2.2.0-preview.95603a4","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.95603a4_1618551919592_0.07274515220951772","host":"s3://npm-registry-packages"}},"2.2.0-preview.8efb6de":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.8efb6de","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.8efb6de","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"501a97b6e302a22c799957435b4549d5795a6baf","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.8efb6de.tgz","fileCount":18,"integrity":"sha512-FxWBcs6B22OKgejDjRJuA9xt1SDPtWurtb1+qy5JYRz4aInqHLPXG9uyPaY+hM79c93VE1TQdbTbDhDL0rCKyQ==","signatures":[{"sig":"MEUCIEpEnQR0z3AHeWx25eNZG/6OMrU20g5/+Riw5GXWAPDcAiEAyazvkpGtenmQN90JQ7rFyUU5ILwIjF9GSlO3yj8E8dM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeeMuCRA9TVsSAnZWagAA3tkP/2PYivd3INerATT/IMpt\nH0WEZ6V9aPkYJA98Ohm2iUwoVw1OF2YAN4N8SXsS62pQ7tutIMLI77UgsUBK\njMnKAYZJ1gVrEQxZZc7sv43xQZ3jo4HDWMBjzZacFYaD/+/eYi/PmHqUySIM\nvcEww0TypPXgLLPGXYkSxznqNHeMxBGcbJkn5z63YUQNmraP9qCtrhA0ytTm\nvlWRMRPU0vFbURHW3zcG6nw9Z18KgizePaYgkIGtI8mT6Z9QPMhPjVAFdPqu\nfpZAiiSQ6N9MY5b94EahPEsRhTQGHYNWJQ1fN+mNiJ8iaH5wuWHlXhrnPieQ\nLFpJyNBRkT++C63NE7fuNQRjg680hiAMpp50JnoZsTph+ZHmTU2DM83F2lFs\nk2z5D0bfvq8qNNxSQRJMpnKhqnyDAxfjXXuWjaPYG67V6j5jtB6JGNbCnJTq\nmzYo/UqXZIfN4AjwoV1Xe/OsYM60vps9VwRMr56NOhw2I5kje/G0iNKafm8m\n45nVuARYIeFN2A++ljb36C00X4qeW+lFn3jmFwG2NP0YoZXWLbpAnDgfU1vH\n6T22IXWnKyifYI84lAdqAGD5XyE5WpMZ0tkTbCSQOQ4y1gO+7yP+EZ3yUZDo\nM8SSjaWoeYPb+ufNZTNtzVqhEJ1ALZ80WARzpRZc8F7Gx4P2B9PZEhyf0OxF\n7hpy\r\n=zJ37\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.8efb6de","@microsoft/mgt-msal-provider":"2.2.0-preview.8efb6de","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.8efb6de_1618600750030_0.5346674363718014","host":"s3://npm-registry-packages"}},"2.2.0-next.file.a7b302f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.a7b302f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.a7b302f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1fb02fe0bef2133ca881169f277fd8cfdcf6f5e7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.a7b302f.tgz","fileCount":18,"integrity":"sha512-kewy5WQBjmjh1tL773HJLEhRL+R+UMTAJeX6Xtv/wFK33saR19Ig58PFrSnsbSJ/27j1AYewUZtt39iX1z6UIw==","signatures":[{"sig":"MEYCIQDJuELDD9XR3ytG3B7PnX4r6sc2zE0yUFYJPYrPneX9YwIhAL5lqBeqU2LAm258j39lf+xxclg7fqRK/95FArh0zN74","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgee/xCRA9TVsSAnZWagAAlsMP/3p9SMtM26JPiJGYMMgr\nh5zirdtQx40IkKye8EwiNm90uwM6X2XmbYcEg87sgxvoTS7yJT6yAR/BnfUY\nHGogbgAD6j2PPA8cgTblgRhO4ohbpNCPmzk8s72zelCwmTEby0tgLc/ZPksb\nqR2LD+sv1EjAS/HfP5C2nyJfoJO+1nNgCt35g6fHASfSeXJzvRIpHFuZpqtN\nqsbkcsJdRtOJ2POWerw3H1iOVX4kbHuv76Dmr3rW5luLIuLjT7EBD4Nhr+3v\npZY6qqfcYfm+4D9dxP0Xqsvxu5EqBUB1f53zn6WqaPn8Wj42a7MwnFHYhOBP\nBD6bR0bIOMG1ipYxmRI9tjVaUwxvpiPooFywWwjxImQ5tAHiLmmO9EMhwDFn\nRiI8C9qHD4S5UCqzFFulo0LCY/zFzRWjSciE3pUxVR9HoBNoxh9Cy1mzRrEr\n3WatsAZM6c1rdDLxkAi1wY9REon9SbJGs5Ogs9Xn8s/0lsbkESBuvInB4yZH\n1faOGOghzz54i7mMxn8rsLJ7MSNeBk4Mt0xjq4sEgfcPjpd5XZtbQQ4wYjJH\n4ZXJkhXxg4Bquyq8OLScc7SSmQfwmz9owNfxmAThM2pLWF3v04EtEhii4VwT\nwNuZTRu1AHDx/jZL/fsrjxrir4oLq5wPdtxjJUjftVSZTFQAlTqoIVMiyEwB\nDdwD\r\n=1A3W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.a7b302f","@microsoft/mgt-msal-provider":"2.2.0-next.file.a7b302f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.a7b302f_1618604016854_0.2471981857654888","host":"s3://npm-registry-packages"}},"2.2.0-preview.335a7f3":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.335a7f3","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.335a7f3","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3df82341eb6bb5d65d3cd848a5c56a61e308b9dd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.335a7f3.tgz","fileCount":18,"integrity":"sha512-BYkVVnCQiHLTnaGKZqaAAogzRK8WxAVJsfEkcpLLzJQz58RhqonHV3cuccvPA5TLqqDswtW+c5l5+OYhNHugPw==","signatures":[{"sig":"MEUCIQDrk69m+rxkALGlc1jHzwiUuNe7ErfnEClVUk+fcgxL5AIgeu0fRtRdCmkKN2swTkHT29oKEifYA6CAbUgpyU0D6jk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgehg3CRA9TVsSAnZWagAAeeYQAIF/5bqB/C4SpXcd7yRc\nMruOhyFpIHW6j2dHfJzjnaCKFwrwbzOEV3fi8Wsa8VlTquVlpqnQL8/UDZSE\nXjI6hhbQqTFu+q989KOg1YRBz1mXwmTCva30NI1RB+Ag6MbjMJnwH9XfzMqh\nxseD5nUirv9wiHTJWlohmrpQ+IeIY4hsCe6SvjoiJNeoRjEWpPMWuKw4YPyn\n9DvO7oDPBCGFKRAH/d5y5/p8641ZTMaI0Y6jFmvAR5NtlrZRe2c1M8QRl8Av\nZo5sdeZhUnP1N+FBkEC3R0/KGiJ7Redt5yALCvi6ZYjMWnW1ZeCH8fh78P5+\ngcesTudafvZyJgr/SPQSrj92jdtmKdbXfjJJ2/DjlZ32pDWoLW/Okdm7Zwj4\nWrI1/O6PTL4MhfOX8EjgGEV93ZuRjHnBrIYAAMuWrxQ/xpYb5wLf7ux5f10x\nloFsDiUC5E9yp74DxFb+osMjHVBje0VePbhkNekYVTgaWeWHMWfOTXErnuUF\njW3UnBL2F/UnqQEA9y5JqxEPE+YeylvJC4ZQFQFGxzf/NCi/i83mMSczsCxk\nHQgHJvslZTBrcV8yjLyJdbIhMZftNr5YI4OahI/hjCMPsE1lgsyz+LrDs35a\nAve4p/X9D2h+MzFvaSaS+3FQ17OuVArGE9wYjcOY211n2FrzCpp3pUTFJxX4\nOISV\r\n=yAaf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.335a7f3","@microsoft/mgt-msal-provider":"2.2.0-preview.335a7f3","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.335a7f3_1618614327177_0.2963441523051633","host":"s3://npm-registry-packages"}},"2.2.0-next.file.979a41a":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.979a41a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.979a41a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"edda5ad590efaed11e0207df782fe45edf7059bd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.979a41a.tgz","fileCount":18,"integrity":"sha512-12JjNMqg4UMfXw3tOS4ExCTsUd34sHgyzT+Z5rJphUmfCORvByRoOMZzbHUz1/bMhx94NxuceKJowD+IfQuLcA==","signatures":[{"sig":"MEUCIQChyQoR4WdTWopym2bOZHgBINJvuaoXgtEiENEJPscTkgIgV7zc6DJTny4wgMDuGbf+OaIKmAPWvQKwwGvG9Gjn0Bg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfblxCRA9TVsSAnZWagAAFAQP/j7KDchgkBS6+fpX/fsg\n5sjaowhMcX4+JbolNLYHulGYKS403HlMSn46TcG3q+4vNgNfa8AziTTW/stg\n3eNaazPNSvXMZUo/N1c920mo0I4BaA2RTC9Qc9aQtQQP1L0gThbf8LeuOzyM\nDnDX3L4NZztJ9z80oapGJ2oAVfGY8IqmYg1jZEsS1WkYEcKS41CEz4Po8fnK\nPBA1HQPdT/FEnHCww1gRJfOQvm5wBN2/oAim7ZlzJZvMFc8gMtG5v2vSjU8b\np7AY6rcrzDWCXmLVA68NNg10jiv6t0jE5vNJ/TFtaPmK1Spmz9NUIlV4JtHb\ngdfSVrtCSdNqFgOEFTFfNL2/trnnrq0ha4elfwwxywo3FCBzLZaLqBetiXUd\nbL5PuUnB3kUERrveIUZmcjqbsrcCYHegQfkeJQ/Gy2j/MJ6jK12iGtk1TZIz\nW42daVGTdLEBhZJ3Cvr19qtyje2x7thIbr5AqNWZvD6XScdQ+BOdfMCzLClo\nNsQa/zlzVyc6NPVSVZ6PctDPsejd+A35JBEuyqxglHvZNWez037gTsxPKe8e\ncwSLMz193Om8Fb6zMl3Nb7CPYV8hsZCyM/o4CeJ+aqUu4rbo0ZZbo6rAE9ju\nC0mZrF/HWDMHDAXw5sJWmvE00sc0qTwJCoTstQO2IJJJbiYN6wkxboiwbMkb\nkc3h\r\n=7QjM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.979a41a","@microsoft/mgt-msal-provider":"2.2.0-next.file.979a41a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.979a41a_1618852209058_0.4604654857443504","host":"s3://npm-registry-packages"}},"2.2.0-preview.3de203b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.3de203b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.3de203b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ead4046bd7b35d0c6fdcb47b98bc397c422c0579","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.3de203b.tgz","fileCount":18,"integrity":"sha512-sfyh9CaObLpRS6wWX3EN2Ro0+DQzrO69Cjdqe5B2xM6y+tXzFL0/P7W4VfhzquVJT6lkiDJ9tHI/XfSIHA38ew==","signatures":[{"sig":"MEUCIQDXV3jiKoYeY0NxUW2DCTGqxcjni+u9e05ujlQeXwO2MQIgC2XqjxMDl5xUc1qN/LmL0O+F7XOu3CjhccO+BmQSnb4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfj4FCRA9TVsSAnZWagAA4goP+gO33hvbvKJIDoG+iIRU\nalLvY8Q4X44v45R4O5bfjQeCmRnyt2WUQY8ep8SoUe9trUcdl8V1jtwEFPV2\n6r8ukvEMGXwS6Do2OfLxzs1fd43B0XVssmfhdFQonBC9m8pmFu93asaEq082\nM6wFPH3TrkR0KFJZncIY7T5SSB3L8KohPS+XY+naISw4qgqUTO1CPdQ6VFks\nR6IWTrcEAIgEF5Wi6/TOku8t7UakG1hjllR6WuZl62ehIKi1x4RbMWI4CDg2\ng1AuiOE9VNwV1LQp31CFjf1pd3QbOX2ecOIZHJ1ALN9VzC7j3oIwPrOSse2i\n+RDH1pzggopiKo8GI1TPEf1Cy/BekPWTMJg+Rvkfr+sNDrfhTdviTSnZJsk1\nN9g/bM2c4I2onlmiH0Nd80URSleOwtseomdMCemL57wJgVWhq0UanEaplrqT\n9EUTkoef/BvRUolnLVwfiHeFQQbdImYIkzcU6ZhuEY6E1vMfVnLwsIxhuN83\nCrkP/U5vOPJmYqMNSsmMIk498FldlVxgAlU7/4e9eXedM/EVXGa6DJAAa7GW\ntB87dwUDpJaO3+Fhi219Ln+X5MnvYxZQPp5SYX0FY5edGZ5eDAh36cYWs116\n0tkbMAxYqEJ0e00hiiQlUIozLRj4yjYwdStLjISqBI0jEfMzIp44MSC1F7rD\nc+dI\r\n=9Fgv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.3de203b","@microsoft/mgt-msal-provider":"2.2.0-preview.3de203b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.3de203b_1618886148827_0.22934963898276295","host":"s3://npm-registry-packages"}},"2.2.0-preview.ec6bdb7":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.ec6bdb7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.ec6bdb7","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0cbba60c1c0181779b5c0d8d30450e622420fcac","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.ec6bdb7.tgz","fileCount":18,"integrity":"sha512-E5v0gYQqIJJjMf3+EVs4kxs8BXB++Ji6NRGN4/989AF6qSr1VOOLyMdUiHsw7tesYW8PybBUuFA2NtrHVdCYFw==","signatures":[{"sig":"MEYCIQDs8ZDxPd3Xlokj7LPqv4bg0aGv2C1xsEwEKodDdzgMDwIhAJGcD9mSKGqADQg1qtLEYsiXsWgWIAKvZSAGENkbDAnV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfkd1CRA9TVsSAnZWagAAOl0QAJaFVs+5s/jZ4nC8uVQy\nspbA0f0L/0FLbBs9o2i0Zpta7Hh6FzI8VRiQADtGO4S7zue07tn2e/zu81/a\nZu4i2Kn7USvcwN0j3tQCxV6yf8h+7Bqa9tghBatjKfiqlWyq2/MsjK0LNbvn\ne6K9esm19Q8YnMZ8NBg2/trw4glZ8Giigu8cvWglA3vJc+SRMHeo/1gPxwT/\nvrHZADnKnZBSEn8ovgN1R2wdBTuDwgiKnL8MjlglLMZOY0NQFal6LMgA+eos\ny2Qy8OYhnsJrrQ9CL1gePRAIFHd092yo9tVCnjg0oHb11gm1VJauuJMlL4qy\n868+rY9jYY2+pOvmuPLinzG/qCNDtV3NPmgO85v5XSahY5YZ5ocCxTaivTQ/\nmJXHsC52XFmj1fx0hJXPRB/mZbggb6+6oO4h9EH/Vk8F6eG4UzxLsuCBgU2w\n7PIBlVMeKjTWaiz2jAQbYRy4Yh6B4g42cPAwTCIXg93iMQEsxY6RsPJ2DpDL\nt9ogcD7tp7cTYUCPOYrlLe1eM402jeYkD2UZEYK6MyNcou5LAkyPx7GkLEJN\n4rCA5pG87fd59LKzrDV/oC9vSPgPBuh2n5UlAx35TiOHmnHofhzgalxRb/k8\n9aag5J0YPSOxVB7Kv/1vwUiypnd72fwmb1hA9minKcdru25K974Sx9HbpmD7\nr2Eh\r\n=x3O1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.ec6bdb7","@microsoft/mgt-msal-provider":"2.2.0-preview.ec6bdb7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.ec6bdb7_1618888564518_0.12967464373196136","host":"s3://npm-registry-packages"}},"2.2.0-preview.de5fa69":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.de5fa69","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.de5fa69","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6fc688c693730c8fd17638c26d64e3b1bbb1aa95","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.de5fa69.tgz","fileCount":18,"integrity":"sha512-zkMzt7mrTd6XDiBJaLBEThfso0Fp8HfL/2mrjbxOmwnzhXQn6v0TqH02icQ4XrN3RkA2jIZLI81YOCNOMiwZPw==","signatures":[{"sig":"MEYCIQC8VIPqg+Lg5hlaoXbS9sOGIJLbyIG1Lu/UXNFuOQ5D4QIhAKLI1m1zVOnq0VtiCZtR2gns7XQHB+F4rrMNMGO4DUIx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgf0vACRA9TVsSAnZWagAAA+YP/1qrGSejVF9GdmkJWEHh\n0ZU9zRpjntobP6EkvY6hrNQHrD7mZzVK+voaXmzVfxrgKFEXpZC/oL/TGwGw\npoFeCUJ42I3t4RAMmb8kfRbQZvsK9d1djMeNhjUElySk5pRo2/OLS9Bur75q\nTLIhFIbkD7S0h1H49faypm96UiUXJ2iUrIu8Zbvz2asoS/wfWx9qtO+PcIRf\n66YqQWr7akImrp9bCcxriQicB+N2xrIn/DyZJgBLAxt8ZtMaQtEPPC0zCVLQ\n7arrtVFmglcB7oYyaImtsFaC+kYNV+3lT2BHma/jH2/WfWJpOzKCClKeg0F7\nzbJxUvK3xjemLK3sQi4wQtbmropoGCKeUWwRVun4bZpoFio+VAlJoUTWORv9\nJgPE3u1UlwHx7YJe2Mi6ldT4dbJ9lzEPGaKh/eIgnJ/BHfNC87cDinbnB9Wf\nzZAs/Ox4ALI4zfV41GYWOxMKugumQBBZxz4q8EM1rRn8kTAOBl46C7u/MqiN\n0mCTf3KT1MMQ6uXky2gZLFqQVeCEKTaAJVNvk2N6UP39EUnVlufQJdYa6Vtg\nJX+55clHspASwf8c1ug9+TRKEGHXo6dZlXQkOJbS/CLd4l9wMmPinsFLFGR7\noVUNWmzt34Qj7qXM9HPNVoyHOma9TnO6innPkouD9iBBs3yU1Gl+BtFSzZZJ\nwq8E\r\n=mv57\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.de5fa69","@microsoft/mgt-msal-provider":"2.2.0-preview.de5fa69","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.de5fa69_1618955200051_0.5286450159772127","host":"s3://npm-registry-packages"}},"2.2.0-next.file.3fac96f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.3fac96f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.3fac96f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8c633ec7aeed3e8f433afa87063035e721adb5c2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.3fac96f.tgz","fileCount":18,"integrity":"sha512-NYY+cNhZ3cgO9U6CPA2NUtvHi2402wYPuqP3ICKdDbotYcfn4xfb0ARHS2poyrTLCfwSxNgLWXJRAL2ejjl72g==","signatures":[{"sig":"MEUCICjOP6TksNqwTROZpNbmNPPNMfFqlmaRJDey0nhdFPDXAiEA361IEiB5RL/ewVjT6jB5mAjYjM1BApNoq+hjy60Fvt0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgf1c6CRA9TVsSAnZWagAAkB4P/1mwlnCJgQm8M/3EtS2f\nKuVlW/v+XCwRGNJeaoYD2nbZ9fHiubMqp+LQw+cs6dG6ku99CehV4Q0j4p08\nG2EMkdKnYnYO4aJ7J5a/mLHAiGg1P1agQjWqUWz2CB0dqnOBpb0LY0QCN0UV\nWBaPiE60FbV16qB98Giq8ka/jxZTkk5vd27V1u8ZGsX4eJQe7iWQDuzZtdna\no1FiAFcCOUuxgz9gkhEXUrxBBy6sUfKJOyPeHwsu112UyVbYW+vHwA8l0zrt\nGaODnFDV5tbB1YJrNPA4A9iEzmNF+5FFs9Bw6QEdCPi9hXTEzXFEmLVz+gJZ\nWULC3rVBc+iuhMlxMoPQxL+GIchbkiwtj74FKtnBgiFRkN/M6fX0heHM7KAn\np7waq1tPUMGVcIq6YGaJhsc/bhaY7KVq8NkUA9ESPork3/Pljkv20rLh1Q0z\nw4fFFOjqiRYo0Umjt+4QgIWt+9GunWLsYDjGeSyAcIIxdELjl6K99yFffF0p\nm4Z7NjuUmwyVFl5amU26JP9eyNeF3dEHv9lm93c5eoClYHeJpkhm9D+HBh+J\nlAgzZeyQpJoyGAqBFuEZHXdEZMZhmzWsYO8mUuB7o3FMXV3ovUIeA8shXglC\nCBBJkjbsgh48gVUT+MuvG8/g83aRL82gk6+J44mFQ6K1QHP3AIRTjX2zJCJm\nAyCu\r\n=ejhh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.3fac96f","@microsoft/mgt-msal-provider":"2.2.0-next.file.3fac96f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.3fac96f_1618958137760_0.2567145827572439","host":"s3://npm-registry-packages"}},"2.2.0-next.file.e5db5e4":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.e5db5e4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.e5db5e4","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f9ef6f27ea504f7f5d5820a1ccab26ee59780731","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.e5db5e4.tgz","fileCount":18,"integrity":"sha512-DEHyxUF73ldE824qYRjKFAxVzvH/2M1zoo6x08xkfo/CY7nZC6QPJPtnJuQZxUyrv6fcZHh5uJmWGFshMn1A9w==","signatures":[{"sig":"MEUCIQDdiYT1Sx9Pf6OYHvZkIqfLu6tFpH5xvHOVbf4Rg5RZYAIgF8egCC3vfm7e+0IbimNZnyVqUl56OLShGl/7KEQ9Nks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggd19CRA9TVsSAnZWagAABtMP/i3uASUOI+r7+KASD0p1\nrNwhChkS0zo9ZJGqwZTgMuGHI3SRfUDRpBEOVLNiuf2i629hBg6XGQpITw5A\nIUK4Wl6qCorn4BGlIWQSU29Vr81+7myVXe8FhYx/q40PpsdZGCFvM0Tpu+La\nGudj9B0En6JYpXEPUgs8nwC2XP162glk+UfQmKc29GQML+4FWCDuAuWkp48s\nmdWmu8iZPRhDG+9Ow0Gbqn9YVRQWQT8/bef7i+LgkV+8ObHT88VpRyWUTl1w\nHLuk7x49jaWgJAPskVj02yCHpyQFOnfczUSVPUQ5fSKdSYW6kvCf6MOfDX6v\nqhOoFEeU2QwVbv4PEK/7V+6YJorE3hcNi2VKDdra6My6kwEkDhFilluG+F+0\nPfF8S2qWc0F8k7j5Iwv9yqobOgYqdt8GK+o6vCTIvFvPQsGNjuB66LXw52rq\njoDOMWWMF8bv5Va20AHz9Dlq1yZVh936f/bUXvC37YTufsqoYV2OZpV7w2xc\n/0lXlwVAGLxnEU0GiEzjHBd8cr+zE3VH+BycFXpevIH43oUaMksdudVcjkah\nNZGbcoGzV60ebK/Kcz2o1ty4BvfVixKzOaKuQVTpbgXBVJKTg3Pop7NS4BQw\ncStEwGxz6bPGGKVJJjVHNOEIksykd/Oq3hhUG1wvaE8uC0qxKU4mHF+MKAoz\nzecT\r\n=6cVQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.e5db5e4","@microsoft/mgt-msal-provider":"2.2.0-next.file.e5db5e4","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.e5db5e4_1619123581230_0.05715465181344204","host":"s3://npm-registry-packages"}},"2.2.0-next.msal2provider.d842c5b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.msal2provider.d842c5b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.msal2provider.d842c5b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6c4a1583e4f382c2bdc3e4fcd4ff80dad70be169","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.msal2provider.d842c5b.tgz","fileCount":18,"integrity":"sha512-mwlZjd0MWpz+pFRHN+KMq3syUBIUy28HMKF/+u4lwl1lZiBOYxpPww9wRkVrjLjzx36xLVqgj9DZ5It2WyEF4w==","signatures":[{"sig":"MEQCIA9aVO+/KGnGgfcDflQTilG8Hh+iDnW5omF2adbVX1GYAiBIphto1l4i1sa4QTtoY02wc8IuAwnQhBg3DTqLpdX5+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggjtUCRA9TVsSAnZWagAAEBYP/RlK1fc/D/Kd/sdX2r2n\ngE6h9/QRrMj0DwFXx8y8RPcK6m8i5/Ix+gYioeMV8cKVT+TfgRc9D8l/KJMv\nlNC9I9FHVoTwqBqJ+G8Nmy3OV9kejYIvt6TfhPyUiTFLeKn7hcrSKJ61DOru\nV7MwldfK14DVF35spGnVWjjTVu6RdXyamCq5AVIOjF3M0E9V24uyUvvrMZkw\nWFIfH9BUZCzANrBCNOdOiJVxCGZcad3j/yyeg6AWCjuTpFA1uYyc0fuoSYS1\nioR9BNG2TsA6xt2kEcSsdM4LaeBfas4h+/7vWCa9laPA56lkkNl8DWhjM8cb\nc/GiqflbcLVQ+sP0FITdujnh9IEGlbzKjCq+lOJAUm3fgimMuGyPXE1oLSPC\nydw5fezGDo4KqUBYB52Y/0KEVHmNmEwA3pqsO282djJKcCea91kGRsWcQtk1\nLog0D+omp4ic7lkDqvksqW9jQqpHcRtMlSrILaFSSPz9+U233pPegDQCAE26\nK6lCpP1c1O/jONouxTKxEHnj1cHi21ls2wtKTs1iQTEKvDCVaT4dJWoE81d2\n5lgVrZicfHhAUvXwtdP7tc9RbP07xEgk7rHecMYi1/L/2LJWy9FVomDg5xRp\nnSCSD82I7uoqd4XgcFsw4GVo80JAWrREb2sgN2zsM9KA3kidRIzjkVS7Bjt+\nLsdH\r\n=hinC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.msal2provider.d842c5b","@microsoft/mgt-msal-provider":"2.2.0-next.msal2provider.d842c5b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.msal2provider.d842c5b_1619147603206_0.6421066072635135","host":"s3://npm-registry-packages"}},"2.2.0-preview.05dad46":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.05dad46","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.05dad46","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"84f80627a263a9989f9534b2e90514fee7ca1237","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.05dad46.tgz","fileCount":18,"integrity":"sha512-fsnHGecyS2QbuF1Vpe95d1FcI+xRvjJ+rwjO2kOk0ASpgbHKHm4SttAdrgGu3Gk4GSrtILv7yzTiF5Rnv9Q2xg==","signatures":[{"sig":"MEQCIBig3DC0zovb3rO4RLyWvn40SPPiVgE6XgXz0utMLEKLAiBeebWu1NqCxf9wIab/4NjFURm4+twdvTaDTKNm+PUp/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggkjOCRA9TVsSAnZWagAAYH8P/12a6h5RjTviC9w0GrKp\nmVCts8eJyrRgRalJTDC6VGPMwgM8z/f0c1njfzC/Vn2bo3AjZdbhyvOVOv6c\nZX/IZmeo6Bvknf9okBOFMvoh4kYfa1O2/pCOkFBj2wYHR3DenF5DKIq9mhX4\nrDB3DVqq4OJnBetZ70s/owQkfGk9Ch8n65qzotTVrKQ/FqhZHOfHhDb4xb2g\nAA6XBVcJaFbQ+b0/VB+vGe3qXjYKsFZS/yajHkKL8G/QQmy17SLEqi89jRIB\nEwKkbbIFYxVLh7SHHelHwl3Qv6//dyZ+ytXRVwRajHq64fog81canlRm0ZsV\nJoXLXhWcNWwIVHoT84i8x/q2nJO01pU2KDl12ekBHXHeJwLn5DnClPFi1IRr\nr+7Zcc1OqKf9pTQREi0Q6AO0ib8B3sBZoEfTMMXKgrLzdqbfMORvLEGS9Z47\no8Em8k0v5nYoEh97CPcUuwGt1rjkwHZOfRrPBLOKoTQsCqsSV4RZAAV/7Muy\nMAgMcL4BhmmQ2SFpZNMxAFjJYzZ7hIowxbLNPfq4vwJ7pOGnFPUx+C3btPF7\npzI4DW98LuQb+l2SZojMC7gM7UFUCpDdY4GH7EIYQphystoCIhtZ+UXztgSp\nxOpyXxOjcqHsjP81Dz/XP0eTU82Imffve9UjcoEq7GGRr2BDFN9Uhk7eZBZT\n9fUg\r\n=ECug\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.05dad46","@microsoft/mgt-msal-provider":"2.2.0-preview.05dad46","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.05dad46_1619151053963_0.1943035031979652","host":"s3://npm-registry-packages"}},"2.2.0-next.msal2provider.94faf9f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.msal2provider.94faf9f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.msal2provider.94faf9f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"bdc7baa59f141e776d3dfe975975544b9d2adef6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.msal2provider.94faf9f.tgz","fileCount":18,"integrity":"sha512-TLeuz48nxYYc0anqns3vI22uAGi0ggIJDcnqWpBy2ZlwQDP2kAHfMTf7qpVym3xW1EybErQo5+0TDx2ES2SqrQ==","signatures":[{"sig":"MEQCIDgWwDq2oDFDYMudkcG9HRC8yfmjwm3jOEFEDhpr86OdAiBB/U0Gf3/iic0Rh7hNZI6sbsAfTF2o/c0JO5Jb2yOodA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghwyNCRA9TVsSAnZWagAAwAoQAJmB5jpOfbAQLKcJrA3F\nJVan5EhuTT37O0D0SkVonRYDhXzK+igb7opzTMyK+V+5g1sKv5mBVU0DnghX\nhPtUo544kXeY3Z7Y6s7W6ilm4v31U/xiHzsldjWXq72AFCxjyq9UnbQluxJh\nSPhgVg7JOVCjgY3/7svGRgVNAuhBq77hC9L3c/BMFQm6A2kcZF65OBtHKgBM\nn7ls9EmH297Z/FFU4SPWfGMLbwXPmAmaA9wuzvcVlWkwjQXfoy0at3EGgu6M\nBR1+CxnOv6AqlI02qa0EnUAVoM6OGcj51u37w0Y0ZwyZuA2cQ8BhHxt/qPk5\nyARB73LrVJKInYMtQLhv4xKIGCenS4AmHHfVT7Gtr840WbZqycraySzPNBfZ\nW2xoj8K/1mEEhNqUNnr/ZD6aadIYe2sYqj8tDr2jdrvOSDC91BUUY8If0TV0\nx39X3OZ8CgZm6i/AJFO1CP8eXv4//PGKtJaO17ecNsJ2LulOzfMld83DhYVX\nUk7nJdeGl+hyoL+H7V1/dTL1jSqldeHGMRlC2AAY9u72x0HsXIOMRdyR2DZ0\nIApgICav17VvMBqOeNplCgkRHYXksiPxMg4KuyjfSUrf5Kt0/ZLMfuEx5NBr\ny5J9y2gFBclBT0mK332LTeYahFhzp6sACcMOBHEt4OefgTiBv+xCXa7BUhXZ\nksLU\r\n=G2Qn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.msal2provider.94faf9f","@microsoft/mgt-msal-provider":"2.2.0-next.msal2provider.94faf9f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.msal2provider.94faf9f_1619463308858_0.5141819005026134","host":"s3://npm-registry-packages"}},"2.2.0-next.msal2provider.26a2753":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.msal2provider.26a2753","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.msal2provider.26a2753","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6216090f7e589a389fee93d7edf7badee4def8a4","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.msal2provider.26a2753.tgz","fileCount":18,"integrity":"sha512-O6E4e200dLtmEpN2arZOw7Chg3WhEqMJndCZ221i7zpzG4GtKUwoCcSLjCFMb2acMRD47PiHckxJ2L1F5EPNmA==","signatures":[{"sig":"MEYCIQDx1SR6PuFsD0XWYcN+5f0djHSsxtkl5113ooMzBj/nlQIhAOEh5JUAhfRRogpJ+qKS1t3D51FkG8ijJKcNUbRXKC6U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1BGCRA9TVsSAnZWagAAT7oP/RABWOfDYn0mL8WNfJFN\nmyYSsGfXCGHfvdeDsfrA2vrlWj2kPaORSjQbkC/jlEQq8Ps7hdLWIpgaTjMR\neOKDhujg70mU25+iuUZEEXzp1sX7Gbfi7rgl1vHN7xZ/KcrHsg/kYTUUYHwf\nj1AV6bZxEswAM6jTyim9uCSERo7mHB1d5t4OkUmOOlVHnrLeCLR9K5KglWRo\niRAIiQqXVGmFGZqiInDvzUzsS3dGoaGXbJwMe+KvaCi89YhD1BdNijdOV6ai\nBmPHmwXJ3FBt+Rwusqm1esxlmtIUJx7GR4Dsh3s60UxGD+QQXvClsahQ5S+K\n7xk8X0latme/Nl3KMh/wJfKo4bDlsg1rd0eXiWS2yHbzTOe/2MiKglrXdW1Q\ntaGJKIxQHVvn44FOwwjL2p8cNhpWNpJMvNKjSkRAD7o+qZjt7wWWXEIYpY5F\nRbd7b7FNoSTrqcdcgcL8Rz0/+W7OaU0ir6mOC7VjAUmXJavPnFSVP4w+y7se\nECWvMaHJOQE1u7qXLiqTKP28W1CPBwM4KkxoFAKzu7UiTPm/d6p5X2ihktTV\nA27AjIJgIqv8F48NE38D+s4q6CHgnwU0ZpzWPCB6CeQIe5xcnNyrX3aXpiZv\n69QGS2XB/lEKVRMuYG7xnle4nDa9q5Tivsh7m6vK+t6wQOAF4rphCohqi/Dc\nYnBc\r\n=/yYC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.msal2provider.26a2753","@microsoft/mgt-msal-provider":"2.2.0-next.msal2provider.26a2753","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.msal2provider.26a2753_1619480645889_0.7324305965263014","host":"s3://npm-registry-packages"}},"2.2.0-preview.d9ced84":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.d9ced84","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.d9ced84","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3609faef8c42f27c27281f5401860f10492a4ee5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.d9ced84.tgz","fileCount":18,"integrity":"sha512-SO1JesjUypbnJGc6D0Pc+ItmTfuuXdmhvsBv58dPLZZ9wwxnuGqdiuD+53Oy8XLR0lNcX24vu3vRjiTETbCcAA==","signatures":[{"sig":"MEUCIGK5W/xjU1bJPiipVqjNrduUhizQ+Tz6fhN8KLR44Z3SAiEAnxrYx/QKtAcbh/6EGSkC+u5rHKxwJnrODFpPaSSBNRc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1RCCRA9TVsSAnZWagAAQeIQAImPjwa+7+h+AduGnVoy\nGkcfKLFNTtQ+NYwHGi9hB+PRgP9Aqi4xrSGyQCum4S9LaT/RJNDCjQpclaBa\nvziEDog53cUcyktL5lLvakRX+WiR4+WF0bcuPRTGyq9f7SMVTRqiQKS6vP3v\n/ISoRqUKSSRPU85WXASB0Vfg6/900GeYK7MJLFhn0uKqFy2ip3btu6uTG7jl\nEeG6nLwBSAGKuKEIQ/1L8eRLSBx5G7pgdmvXuJZQQjVDehNicfsJ0klPpj0x\n7Nxq2KlHf/JKw4spXk7jEmJodK66CXLEdXrqvy7mYpkEK+3IDyoflxgx9r8V\nHxy+pJLHxyd60aSF9guFn8u+56fUdKzpQLoaLDPm7nRy0FQB/KIfzMPTIdDR\nwE5ypmUfal2mYbF8g8KcihGgEBGnog9a4tTDDw8WHPYY4BQu4fK18+iDnEq2\nGMCvKPviKFHaOnJYJD+hplKhjjSBqzcJxMLqS+UJR12aacWXloC3NEiMnlNw\naH/X5sZV+0usUFewhlIbSZvzsb6AweC77JYCfL5xvhM+vm/XaRHZ+1q1SJng\nZSEnW5GfBzNK1ZFLbC4xvb6aTX/ghzHFtBvXwPPFRaDpAcUK7LIVCdQzj4HW\nlW1pbWW2VN6NUgRlZr08K5ZK/FxGSEjtL+lJ9tsSGjBrIqBlzwzabTRj5mTb\n2swD\r\n=Osqe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.d9ced84","@microsoft/mgt-msal-provider":"2.2.0-preview.d9ced84","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.d9ced84_1619481665878_0.38125801632481715","host":"s3://npm-registry-packages"}},"2.2.0-preview.58c29b0":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.58c29b0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.58c29b0","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8d198b3e72171300ce7c45073352f8e49681e7e2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.58c29b0.tgz","fileCount":18,"integrity":"sha512-oWRDwtJkInIavO90/YNjEhIFjQJKEUHYQxez+mVo0UXedyOECHdaf1TUEZ4tYZS14Ulro2HRAKaCJvlALZe8kA==","signatures":[{"sig":"MEQCIDvuyfyvmXMtFdPXcEpXJ6bYh+vfTX2rxla/pdakNg++AiBEDEcOr1vvZPBcq+ILY2mqyBoRzzO6FmDgVFViX0UsIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1Y6CRA9TVsSAnZWagAA8WYP/jBWec4PgofG7XPWcIZg\naRgcN5y2N/0oIFC5gPBTC8J4h2EfgwRd7PZYVzjnCebnttBQ3yuCgy4Zh4nQ\nVi0NjnR1HCV94JEMwFwjM3UHZYdVebCuXm7GP4gaQJSv/6+hgSs1UFm9CZ7r\nLAhZNbegGPHzKMuoJMvY9WUb/Pq6Uzquzu7yY3vKDtO+LtLJnJSAGecWCR/H\nrbLtKrsM6KZleD0ugSX0fF7hyLbRw1uY+vC9n4XP/MGJ0HDpuWU8RtGS+vVR\ns8NZIcZ9DnsCjwdc+HctR2nMKSl965IgB+9BVPidg31VWvcDDUDURIQohJGW\nNOC8NZFmo6vjvBcgFbNOe9NHkGkfzUsJCQV2nyc24lXQ3R9j/gEkA7oWckGC\nEZiTiUolGeFRaJYGqCMHlQ0xThgbv2j04Sys2e13ufkf2qYvFIp4uZFn3QH4\nLUC4okdTyVMvxuhiIsDZ/F/qG7oiuL94t5hC6d+reCadQhu7+h23GX/+WQLX\nmGdVITubx8doI9vChsmYT1gDIDKQcvF/ZRMjvr8EPC6qOgLrP/UVBBLsklu3\nB94pPujXZi/z4Bobjs0aWZhOi45WnjhqQSztjw0opvlXaqqMa68DZjBkK2sC\nLvXM9HpXdUScEW6ZgGWXtdOyU6n8HEQ8TgGAzLbwBPtmrBvjU/VN4OPWWqV9\n5nEp\r\n=duWG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.58c29b0","@microsoft/mgt-msal-provider":"2.2.0-preview.58c29b0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.58c29b0_1619482169630_0.5771925534504099","host":"s3://npm-registry-packages"}},"2.2.0-preview.4cd4f64":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.4cd4f64","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.4cd4f64","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e7df07e2261dc6b4a94bae7e723f1be82523f2ba","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.4cd4f64.tgz","fileCount":18,"integrity":"sha512-Mz6it/OfMcn/PySqVt1au25Zmrr7G8i4ixbDoOXzmJfMk4CuGIq8t4jPUiz/XHX4N9dY5hG6JXgi6B2IksXbuQ==","signatures":[{"sig":"MEUCIQDLzIb6oTRy6xp0VPcVJ2k3Wn+91mg1WA1QAE2mC7HlEgIgWFUIeEe4fZpj8dTdXygXyPanmE8JLE/5beA9NJiDbPw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1brCRA9TVsSAnZWagAAdroQAIpbe7INN8Fgh3xyWgly\nWpMCoc58fBZfhQsxsIdHDFMsfYBh+gBABM4O95M8BDwu0BbVk3DmSsfvT6ie\nOZvjHEnbCXczGoi3zfG/sw2XGZ0ggkR69ZDt/F9EltP20StydTRmp87E01LF\nUe1TNI2lTCm2jf5uumBm4Ic+E072WBEK68CHi2gC++FvCLjUHixxz10a8tq6\nhSR/DL2DNEzMfvFbz4tAIhvTM73WOhrL/D8ZfnF4GE3oskDbmdB8fKlCJuZN\ndBDLxowQYFTg442XjgP5I2tFNtLdFPp3ZY9fglE2hGyswWr2NT0xceIlnGqr\nr2iG4GyGkrQnnYzEOW1c1EJeEx0VSRTlj/riI2qgVomhzv3bh4SapUeQ+UEA\nnwiSn4AauLBGxECbV6bJ8o73K1TIkhKkJXu1SKCaRldMHesh+a7Ji0vcGThR\nBX8jc+bLEC7uis4vgTny1nmy6+tBu54M4XdxFgMAJ14+95q95DOXx265HPp2\nLURvxcTTVS8GBhcnPSBUk5aUx6zSobb5qVlDoIQIANqke5M5gwVYbvh9UgRP\nQa/d/W/8ZSmBEAI5tBKL53wL8wP41z8boT1ARpK4J58PL88E5K04WTaAiWUT\nkdJOCxYU81ONGszBmqIgUiCMTc9SIPZhwwdgZSuDAspTYY2WBpaX0Lo3sPbi\nQAja\r\n=Yot/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.4cd4f64","@microsoft/mgt-msal-provider":"2.2.0-preview.4cd4f64","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.4cd4f64_1619482346604_0.907576550750437","host":"s3://npm-registry-packages"}},"2.2.0-preview.6a6e114":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.6a6e114","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.6a6e114","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0eced4ebd05652b6bb2d7dfd8eb521408b0eacca","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.6a6e114.tgz","fileCount":18,"integrity":"sha512-Iw5PaegZbxJVvwOpYDdUOO2lP+X504ANDyZ4QtbYmCDIiA+RXS6ri4RTUtb+4hggFY5s/WvYyPVSC+GkiBjZDg==","signatures":[{"sig":"MEUCIQDXoIfU+T9A90kziTpYOX9chdjnRYjRnDHeqKchymKnbwIgb/wpnqooY8UVG1hp5szswYI0HI91G3m6vZp7y+wo2rQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1cdCRA9TVsSAnZWagAAQIkP/2FMWRDfxbvSiZ6jmpo+\naYZy0Z6yy8u8Nnv4suKYT1mpRWRWUlkFMMMBjWAk14iWHLy7orWEb51o2/SG\ny0P3w0FGwe1sCmmoIR55TWAmMHI/sWPFJCLQ4Rq0LOFJ7xjHmlMN2S8LoF+4\nZKSwD7LD65xYJs/E4ijhgWMyr4EuTAru8Dknye0X90poihfgrdL3hiP42SzA\ntctA8dr5dQZeGqQRtlphNAxUOqVwrIORMkhYFpLD31oSdRWHQK0RJF4O3g/J\negUamXWgr7dzqhDueJjKIehWgCmSUhtRMmmyg9WFqmQS8Ufnyfm7eQnTTHIL\nuNFnvbXBZPmBzx+3rVIotqP5Ub9+KNCpuI7Bk9yOGdv+sjYYWXLXCJHl5x7g\nfDDCRKNpnCW7xxo5czvZVCl8M7WMDDdL7EJR5dWHzX53SEGXzH1tlLOfKdkD\n35PmuPLghGoASsD8ZXUeXc7ucdfJALcyx+uAl1eEvQRvJGrFglt2sZsXs9gM\nNTCBi8Zgt7Xc2D4vx5ZKVJeqvWsMU37t6MAwag5ZR+eVEm0RGpY2Xxysj2aj\ntgBzQZOEn7DG6XfTKNZ9kNw7KwPVnkwWcxIaFtl+ea3IwTf7kIlO9wNfqONY\nwf1Zga1wKwK4rYUsWtvEHwBrXF0uyDwD4Re5s6a5fI4L3ldV1jnqArbuitkj\nd/Yl\r\n=Jif6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.6a6e114","@microsoft/mgt-msal-provider":"2.2.0-preview.6a6e114","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.6a6e114_1619482397148_0.7891303533282708","host":"s3://npm-registry-packages"}},"2.2.0-next.teamsprovider.9d48fb0":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.teamsprovider.9d48fb0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.teamsprovider.9d48fb0","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0058572c4564ce355ad43e6c13e4d2ed461979ba","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.teamsprovider.9d48fb0.tgz","fileCount":18,"integrity":"sha512-h70nviTkZN/zeInimi7WorW9qCLR4od6PbnyJawJDI11vsM2NcMN+OnRpvcrUS5/Jvka9NQDt7ZMq4OAHExnJQ==","signatures":[{"sig":"MEUCIDGIu2husgRldfHuIs9NV5R17PkCerXEUVmf1OZ04LAWAiEAoib7UJiXtQwhHVCevUI+8DZeasMdkpWTzyipI+5oH2c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1kHCRA9TVsSAnZWagAAV64QAICZOQO7VoSckcDM9xOv\n2eiQyUk5yv5DZH2v9wkZp7kKcIFjqxTgK6tudo0wYwKOrlvyjAG8eL4wtQYz\nqJWvQzIEMBekmqwvpLDgGQ0CUf+1Ia8ST9aHEXzZFSdA2eIUR2ebGtDXXfei\nCKza/+e0582gRmEdyeFstZJ6YBbMfDbssBvPgCcLZ5njh/UNba6OIIFCEn9r\njMIwZddFkCE+WPgbzIefunZjJWUqc34i82Ln1E4H1DiGSOL3Vkp0Ey9qSqQe\nN4DqzpoHLmO4uCGvI1jRYTP0EmakZ7CZ4jORN2IgWsDRuUnf4wbzeA4gANfH\nUnUgnQOMRZT/b1pmgJZPf0sTghvBHc9t2ZzNMHkMJokNbIfX6K5BT+XT4fOp\nTP7apt4PSw/FvVQ7EpZCBCzhiZTmCb0KxTTtDps84ppKKGnVwf38sR5xGJR8\nHHNH6tEUy6MfPGSzLEpc3fB76ZG6mSKrAIFwg9DsAC6ev2lSrPAD45RJvpy9\nnDGuaOMCcVb9gKv2cSly9+hGHJs0niuWHB4Gmbvq9D+5njOe9aNuIpwyApec\nFlpKr/fmK66JJ/s5nJI0OF8dKxgbZSV1YB69jDW8ql+N0bPK9WGZxkaHRNc8\nyBPmxTtvrvf6K8SPE5tcZ+zFJ84rzcAyO7kQWG0mYN5xSH4YrWQnlINi8uKv\nY8Lz\r\n=Z484\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.teamsprovider.9d48fb0","@microsoft/mgt-msal-provider":"2.2.0-next.teamsprovider.9d48fb0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.teamsprovider.9d48fb0_1619482887068_0.5403797132999391","host":"s3://npm-registry-packages"}},"2.2.0-next.file.fa685e8":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.file.fa685e8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.file.fa685e8","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dfdcaa8784e45c4554169e6c7fcce66462666b6a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.file.fa685e8.tgz","fileCount":18,"integrity":"sha512-SFO9lbSP94TZYKNoAK+aIvR3t4pr0OJW1cKaiL+X11ykwDydP3MDLV+sps9IVw+rmuhJJIYVENrQJc1PFNSL9Q==","signatures":[{"sig":"MEUCIAmiBSfTi8aBhtESTsMsEB/hKSFO2xslu0xKlIp7wcjwAiEAw12lKVQekdkMHvLUUrHk58yRneDl7zv9pueskjNTF50=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiLfLCRA9TVsSAnZWagAAHvIP/AtZHGP2rEDtHB0hM3pf\nqScTsyAVCYh9JifvHTrJELkClAj31hBKwPGFxsO9zTFLqpUKg9MinAFAfU6O\nuoBgPECWjcMaRvBqHRPWDlpcYn2wDB6NtNxnVCsjcMpR2XRqlxeRvjnLf80t\n3b7NFumZ5p41jxcCcM9/yLDhuuGBLDSS8Ud9zlzhcLe7ZHzbU6+2Y17z+n1o\n5Jhabv3bVP/EzpVRv9LbNBWDU6zbZwlqKyPKhxtx9mtFPaqMq5nNlb4s9Wzo\nFebVoG2lTe6mm1JmPniNEAr9Hp6xbfEvWP8CGy3lFCPFhHctb/ZXV31wfqwH\nD0427ELytgnWqFfHHgeYyCJNYsPhysqiBbqvEFZW5gZ8YtGx/zxdZg2Gj8tJ\n2jt3tdP6ZPcQUDJFW9GMb+7Ay3rlWaT9OeYi+cK+l1UiNC69BGfqbOEB0V8z\nXUdoxP1bETY1uDE5g5xXGyTN0SzWw81YdB0q6EY7VrWl3JdQ3JkeHg6wGVgS\nICf+JmiTlhSpuwnTz2MDI2HA3JhblDjKjJbzbZHtB/1oB2G4FQSAGMllwK5O\nkNOLuj9axXEXg7z6EVj/yUoEe2BNM+E8i1Jv0vZsnXBgvGkn2dyHqNDbv9BZ\nRdXXMlDHO5q95pzPu/z3xdeXC8w5+QsRILKVamplSQXtneJXBziYJcE2fGHG\nypze\r\n=bxeB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.file.fa685e8","@microsoft/mgt-msal-provider":"2.2.0-next.file.fa685e8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.file.fa685e8_1619572682639_0.31937823957002176","host":"s3://npm-registry-packages"}},"2.2.0-preview.1078dff":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.1078dff","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.1078dff","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9d9b4bf6a3f7963507f03bc7d1f15938c188e304","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.1078dff.tgz","fileCount":18,"integrity":"sha512-crK1SJ2aN+HT+RY513VW2ijSLd/DTWLuDe2QTWE+KApT38dOl3Ntiw+XQuI06B6CXXz7gzYEE6hC9Bu+G5ZICg==","signatures":[{"sig":"MEQCIAr7X3iwh/r+MaQ3fEvk9I6dFxBI1iXxie/bZHeQqyCLAiAOiKmIyZ1M3nM3GP2fXBC3GjqxSebVn91S972ib4RXMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiLmyCRA9TVsSAnZWagAAYKcP/jB55t4B0EeikyioFsOH\ncU9DpTRFX3VgxayaTFO+FQ5LjdQsLVKYUX52muXTHr8QBM70a0KFH3m2uiqb\nQXFGlh2JJvU4mgdtm7VOJVxpnbyrbBF3NqZE+mGLV5wDov8pNB2Xw4z4rM5c\np0BUQWpZfLhOodROgQxLtRfuXtwZ2MFND83iPHAL88uHhaiMmQ4XejG4Dnxr\ndoIJBynwwm6Yb2oiVM8ja3s+II+fWBxoxH01LNPJ8Y3I+NzlHQyfo3Y7EXS0\nIQq5otO8cjACq1TiR1VT+fbWrCGH2szKK42XWlXcqothAodGvx552fNIp0Rz\n8gAbWVLbZeHp06v8lTs6x94rkiBqICCzZoETMXpSDvavb1zrs7l/dQztmEM4\nwC1qsRzZqJdK7Z0uGfni1EjhOiscjh1EF2XFO2kQH8cSmmBmvDox6lK4STcT\nrPZ5xXn8jhu3Rl68eSdDXVGdZOdxdHsvLuHeo3N7rQTPQWmh0BWg9G8urbQS\n2HODGkXCAB5X+q8vIj3gy9CKpgWljgozcTBKPYwMSAYdQBfZ7G2ZyRLEB0AO\n1Xne4kGqmMtbQUYb5IrEpOTWQCq9bMCeks3oWT/JW706P6JelGepN80PXU5w\nTn6MKotD10I54WCpnu+Bc92UTUI985Q7QbrGMy2R9h/yQhd7/3IwNOndWv6W\nmRLA\r\n=ArVW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-preview.1078dff","@microsoft/mgt-msal-provider":"2.2.0-preview.1078dff","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.1078dff_1619573170339_0.8797810051836947","host":"s3://npm-registry-packages"}},"2.2.0-next.multi-accounts.1078dff":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.multi-accounts.1078dff","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.multi-accounts.1078dff","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c3786f9ff6f51830915602e54bc71245d7d33cdb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.multi-accounts.1078dff.tgz","fileCount":18,"integrity":"sha512-ePkwvzcMU3U92tqTctwwUhFdUrNpUavwtV7JVwws5FsMT4EvN4ierpL0u71C772mBqCRGWrt1kV/TzjYFpf/0w==","signatures":[{"sig":"MEUCIDEvyg3DrSLflGPrg0Wgkk6bLKq3RX4fcr53PVezhTknAiEAsczRpZZ7XPD1TQZXlllOs1h99lMsfyauzZog6aPItaU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiM3KCRA9TVsSAnZWagAARQEP/27sPbH94M9Wb/yRY26k\nCfgXkSjUmZhGbjYOHz2Wcc+izsrIpITPFPj0zINgu/7xZki9as+hU8MboOHj\nm/ycROK48OAqU5zjjcll+X98QA/h3peKoQFdg6+J/Xo475MLVQcaPQePdQHj\nbtSOLPRP7MIok15XXD8jKd2MQCmYx8335pfle1MKHIEdHkexDbS5hGht076C\nf7Z6L3x72rvRr2NLPWcrYpN3vBJz3rV/MubJSz8D+f7i18kHjgbrW4ptvfoj\nv+NJmQ3vT5IOuS/1oz2p2Q2Tt6PaTupKJHNYIxYrrDj+icepyrwx73vkp79w\notShXoZcoEjXNG72aqNDsYfKYYvCzH3NN7LprX2gLf2BZOmmoysfb8ZJuovo\nX+0GXeEN3xy4FYIGm8/840rcWqPOqj6ytGT3NSs4J2hWWxJ+bIKvsh6VuEwV\nIfUHlh9kG+A5mxTUPcePxiJ0NkkHjcwfqNX+tLynCvAJ6QBP5Ykr05Lcvlo9\nGvv3RAJCvbDcCVV/dLxryE858Ma1QFCiNJjUdUsKzq6s5tnp17/ltuSEJRrA\niKdy8PVd20d808jj6X8nnujRnnkiLoxfrWVY/AnVxJJeUACkYcLurB0VI1zb\namcpPOdHv6Mu/9JQlYMkYD95vWDmX8B8exo0N5Edol/RKLk7Wagfy0mri/sM\nIJxI\r\n=0ETr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.multi-accounts.1078dff","@microsoft/mgt-msal-provider":"2.2.0-next.multi-accounts.1078dff","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.multi-accounts.1078dff_1619578314411_0.9451484463928634","host":"s3://npm-registry-packages"}},"2.2.0-next.multi-accounts.5ab75ad":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.multi-accounts.5ab75ad","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.multi-accounts.5ab75ad","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f29dfe94c6cc62411998ca29e719cc49296b5a79","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.multi-accounts.5ab75ad.tgz","fileCount":18,"integrity":"sha512-P49R/imGPVo/w7PcwHAHNkQDasFrI3o074byUNpOHiZLKuKQpWHV1Lpn50Mk+lEVLz2dH4DfbLXreEqt3FtOLA==","signatures":[{"sig":"MEUCIGsazgPm8VKdNwYKeNtqOP9yc9du7hhZvZEFVLo16g6GAiEAsGCmFP5Q/yPsMLL3BhGHMoqGl6HDN18d+xxc2KE1bBg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiOuZCRA9TVsSAnZWagAA9T4P/2KiBq7GBPxoOeyu+m9Y\nByHYMt5c+Du9gjm0Nej/mSGuU5pv+VsEkYho2lMM71IHKhH9aRt2l6qBae2o\nzl9xr6+Csql0c0g4HcLsk7Z+7EJCMilNU3XI3J1CFoXpLc7iiEpLOS2u4tIK\nXa1yGspMUK/RqlI4kT9E7bowB0GDaB/3NVWKw1K+PlFCHuOtBs/z25Y5XGBE\nezZwx+Lw5YQFQUjrlRYFPuqi6eyIje2WXnLuk2Y/NGEXk0lyGvgvttnrI5xy\nxzWcGSe6G/XNP0mG1kEBSpVw7F89tbpj5ZcjNSBx8ZglkojisVorNLgxRH7V\nQ79etCFdTBkrFm4qx9WA2AxX2iUz8MIIiMjCDrFBsi6Hs1DZKpYH4dV/yPsL\nsLSpNykdF6hTgaOloYtEndpMUGXxgp2qRLTCtfNMEKVPxoLHZ7NTRTQFEL32\nlT50Ip8317EFSZQtSGsImKFoU3LPH1HqnRDpPb3MtsVOueokkuQOvYznpnNW\ngUNLf7ggJwa2vgpsi4Y0J0yXqUzauMW8w5Y6jd9CauHA1TM7kphpfVCM83Dt\nqHIWnYNF6aY2iQbu/FmyimR6MZk/BkdP3aQ+vYMmBw/PGjTuZYjEvE0RmS0a\nh85qSSn0EJs0XBKgASZPfge5RbswgIgGt3FCoxZdMfq1kjgPoSSG8ywI4L/x\nq3rC\r\n=+wSJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.multi-accounts.5ab75ad","@microsoft/mgt-msal-provider":"2.2.0-next.multi-accounts.5ab75ad","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.multi-accounts.5ab75ad_1619585944946_0.3048647772226083","host":"s3://npm-registry-packages"}},"2.2.0-preview.9f2ad63":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.9f2ad63","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.9f2ad63","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"543f54825c8961e979dfa218366ccefa448e4b14","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.9f2ad63.tgz","fileCount":18,"integrity":"sha512-KQCkyajRae0Klo723SX5BSJYEJTNqwZwu3oIHxANtMj2ej8orztVVVNh6/HEO9CGdoqNSqHq9vfsL3CqoqJaag==","signatures":[{"sig":"MEUCIBaoTcK7oVscE5VCQW297UHwJspeDNVFFEA3/AwuGEDsAiEAjBNt5Tkz4sss8VPRtHI7vsPAVc5Y6KTJHtqKAcPXoHg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgikPZCRA9TVsSAnZWagAAI2YP/1+bQS1p1Mte1g73GMHq\nbkVm0/SKKNNAq4MiFbmlc35Yp9MdjZDXbknhY5y+leMAep1pOXZ8DusYpdVw\nhUzsUXrk8mBKkWa3BwamShjCQIZhcrW6zI3q3w8uO5ZKI//ljH9atHldS5qy\nko96KzS/IMQ12sAZVYt0ph2y4pTkgRCYITiOP06wSNbyQ8NiiLqQRaUaqCAz\niaovVHOkOWVJLf7CIuOm07p6RQvPehauli7kyjmIW4/UduJxqWpUyvynGfvd\nJgRwIDb7pYrhX6DQaMESUPm/o32z5KEwpi7BXsj736y0h0iEI0M63h8GKL53\n67KJUPYd5Uk5/1kFpWtoMJ7bBx/7i4swddBlCtmFXHc6ihhaob5H9kSr4frW\nQDrAJGYrMR4oxZlCZl8XZV/lLAmciv2AZ7JIKOAr6sEN8I30IW5kaxCbDWbB\nyewOLrEM9sxmXzmmri2iVSiM5ZCgOSXmXFWUezt3xs2rSor9DUrzCHtlu/w+\nMM/Swxh8F63mN028D4G9RWfSSTpr7mduUIMJ0RvCDjJTKUttvM6WUMuNEjrJ\ng15M2Nq24sfSnRiSVTK0S83+rlKqs9wii0JJOsBtkop2Ea4TCBeUnZlwN+Nj\n3hFcGYUAAzBLr33YyuwEmHuiKluDPrLXbl/5SaFCuLemlypHhVxJ1EWcD6Pl\nBQcF\r\n=CNiT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.9f2ad63","@microsoft/mgt-msal-provider":"2.2.0-preview.9f2ad63","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.9f2ad63_1619674072801_0.08222636158771679","host":"s3://npm-registry-packages"}},"2.2.0-next.build21.ac47b2b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.build21.ac47b2b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.build21.ac47b2b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"57c47fe51f8c71d84f6abb2445132973f90e2576","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.build21.ac47b2b.tgz","fileCount":18,"integrity":"sha512-3i/O+fEHgNfUb5BoOEM8rHRb0uTsOGyup+Qdkea/njT7vwItujnSPTTeWAPzua7Lg4nM0IIdwzAZ4k/Ez76LZg==","signatures":[{"sig":"MEYCIQDtrQQUmdbgTEfh9y1lkFQjzOK+lRRjRZcj++7CEZTpuwIhAKCyCwjFjyujUgl05jo+TTaA+ECdD3qDy8r+fXZxVPdS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgivSKCRA9TVsSAnZWagAAHDQP/iKlfcIAuD31Drh2ilSo\nIe91VIwiFAWrook5h805pimgs/CgCDVdXhoPY97YIxMjz8RnrUaxis5I6CVY\naY71N1p/r8LeU4UGb2S8Q9jpa1iWqAMHJqmizxoOHCadFB4JR8L/UXpjTSTA\n65j00Wi1xUqQUptPszHwrmmiIYPQKza79uHWQU/ZPnRvAt2MiT467wcj+ij3\n43s+tol63mxIbUrWAg+1IS7n2i0cSEUf114RtFIHl7SlnAs+YXRP2kEF+9/R\n0zG0HexpQMSX7H9UoyPEupn7jJrBMmOP/MhH6bKmrlkCS997pquzEds9q0iO\nVnxgTyw65GcxqbV2F3D4ZKgni+p9Ak3d+khLKIToIOBcHIrJcU1dJuLrqWuG\nzldZq3CVp8ZhQ2goBUQUZca0WZywGhDh9xRPk2gTXPF/GmIrKS7YRYWwyQkN\nT4JZ+A0Gl5AOfV4NRUlAKrapsia2eb9Z7mAUnHjEZWFCshYo5ZCQmJa1m+EV\ngBVnlTH11FRSRMK/r2wwI/jcj4/e8svtd8FYHu76pLYSXmjpRZzgUmtDDSO+\nFDcbA2PvXMV8JmE/FJ0PNuJyh/Hh3mwIfFLBzLhaBmeKB2t/TjF8xzpEGHUj\nAU1DAeOilojVl75GfCCEl8b1/vobjEtwbLQfasKhDfZLmnfDigWzGp78TAno\nDq9N\r\n=MIUh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@microsoft/mgt-element":"2.2.0-next.build21.ac47b2b","@microsoft/mgt-msal-provider":"2.2.0-next.build21.ac47b2b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.build21.ac47b2b_1619719306164_0.3940193192867094","host":"s3://npm-registry-packages"}},"2.2.0-preview.0f11f03":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.0f11f03","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.0f11f03","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3c7f552bcf16199b91c6abc40aa3d3778c3bcc0a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.0f11f03.tgz","fileCount":18,"integrity":"sha512-te8AmMFeEbrKAUh49qKVzH3MCENE5aPcvywRZJKw24++2M8u1GdAZON+hyDYzPP5MTJGqu3Tg5iKb9ZgzTg/Zw==","signatures":[{"sig":"MEUCIQDF6eCf0DHUfrm1INgdMBOwkytEGPGjvMii0DTco+8eBwIgEbiVVBN/3XKTJAjDK+zX3Sywa8crcAp9gPCiaEuLMSI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkzMmCRA9TVsSAnZWagAAOSsP/jV7QKJEzPiJPjku+h7o\nPk0kGRCnu0V2c4qPu/I/y0CuXKjxlnz+Xe5CVdAJlpyELJAxj5pdgqM7yaTs\nMeafzHITSbE1H94KLfazqC5zl8MpatIpNsfJhU+R9NVST+aEEp/I2HGiDqaL\nM7Z2/cTKhmEZD49N8b5ozGtUvti0ELXQtQA9REA/RARJq5pzNUYwekPiULSg\nuGFzk+AckeFGKsMm7C79TVXyE/O2PHNbMEXNQKAxTw3AmrUVzzw0cA6XD1zy\ncDrkSBNdjNcdsu4fwq8PC52V2yj8JqRwJhRZqnk8uuXdgDCRn5t8cIbVfgQE\nOjHo8pKn/P8wIb1MQVyHoAhCGB8KoHxS2pgc6FKr6pvt8UI6ev2inxyGJtJl\nTcHZ3Asjc3VsV2BcqJJTKzlLRY1LAKnXZJTyRHB7l4LKfahHs7zIoTb4/mAE\nR3qS41KmD33euItKx8CdeSnRihpHpvEt6sOx9GMu1uvz63qBgiMCgTiQMe0h\nS1FMnZcqFIpsjCmFyANvdbJb2SA+LmEHN2kIRgKcqaOPj2FtdgJRID/Xqj8g\nRs0ZTnnVh+y14zrt+SZjqqblZsRaqBIcEDpL0VKgor4wQ5bVkBbdESXGO7MB\nlyIzaHh4x7CdBEd4CFo34aJmXvY6vhhxYUBuif6D/vwAFzPaAOy+NJZZqb96\n0A30\r\n=Ff66\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.0f11f03","@microsoft/mgt-msal-provider":"2.2.0-preview.0f11f03","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.0f11f03_1620259621905_0.909180852702915","host":"s3://npm-registry-packages"}},"2.2.0-preview.e2e7e5b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.e2e7e5b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.e2e7e5b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e3ef2e8a46998de1a6f0e3d60b0aa5abb46e1c11","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.e2e7e5b.tgz","fileCount":18,"integrity":"sha512-nDFUUVwyS1O0hbjUbCgNNZb79A/srCFGMhZAEBGfsquReBJzFtdVQNeUoPCICPugm7QHVRQs5zyZhsM8JubE6A==","signatures":[{"sig":"MEYCIQCoos6R6mbtDzxo7hyP7NISUgcgp2E9kdjs/2S5ytJaSwIhAMmkBzYSzvCIxokegKbPijuq3qG5o0XvpT9s1TEHqS+4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk2QqCRA9TVsSAnZWagAAT0gP/2V8mdFTJyi67nkbGSB0\n+egw8oSk0XXd7U7k/4oVGgiG6UThHCVSro22qFoqscCaASFPxrE8tNmCBa6s\nnBNMNzLx4Skr4IqeCe1HTyFR5ZPH8lhD/5vyhmbJB8ZWoUu06o55G85EXeXL\nHhmd7VulSFEiZeuVgIXcD7u3529N1bCOZmNqUhdC5y26hVrmfDtDqtsE6CrF\nGR9ZJ6HjT6g+fw7oHGgkROPzjVvhfxRooqOCxsLT3+LV+hmyhXz/fCJn7tNM\nKw/z/Upy/2gcVRo6x0vmj07Ju/CxvgnkudtlR9qWOso9YVaaiMATVk0kpb/C\nHa9OMbKvEhE3eMD169dX8yofKNH/jhtJQ7eAeDao2iNB1v4N3uMXpo2J6Hfy\nFFVs/FvhaNhtRfDc+gF5gWXcZC71N9Vvub2YhxxfDNq9amVhKQj99KDP4miv\nNmXLBfyf46ZB9m3sGQlrkCj0BdZSXzGAzPSCRswKmBjn/R203jxznq49rKW5\nf62TNtstU0GUxD55HIUXMoLpKbmNmERR3ZO8lLl3QRsxIblYWKHkWSCeLaYa\njdcd3MRxKc8oZn8osXoDzpwQZyZid5YbDg2mST0Po3M7czEVHB5rt7YPpU3u\ndRUsj14T+Y2JS4tbEVnHFNNp+JjPgCWZQR8GhPx13Zejsca0ow0tGt6WuEfy\nIPkU\r\n=blR3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.e2e7e5b","@microsoft/mgt-msal-provider":"2.2.0-preview.e2e7e5b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.e2e7e5b_1620272169575_0.8890863282480417","host":"s3://npm-registry-packages"}},"2.2.0-preview.4614c37":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.4614c37","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.4614c37","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"14680ce2e7ceddcfa93f0d89a48129ba45b0ba41","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.4614c37.tgz","fileCount":18,"integrity":"sha512-AAP9PnPVnE1RB0pq8/cr3fyRQyA9k3nLXlrRIsOCr97qQcoJ0DJGfFlbFaKaj8UzYb7Ep6hGRVtbHlOvZw6F/w==","signatures":[{"sig":"MEQCIEFpZyMZ+D4MRH5i5jmk+K6hVreQKpIqUXvWzZxFgRhoAiBBQPdsx8Cd9xvhUaeQLc41AWzfh2PttyPPHkdE1VASnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk2gyCRA9TVsSAnZWagAA45kQAJac59Ms7LmSmH92wboM\n4W5fRpQqbRqYRr5tE9vHdK88Mo7izzmZqAgE4DtrSqVv4WA37Oqu1rjgC+gH\neE9GTPV7DmC/J8aP5lnj+qjJjfbAskPeGkHZaTjDm4dODFXM6i0o/TUQ6Jpk\nAWbGj9HsDl6tpdcVlLFD5GGCg/iSTJw1xD5CKY2DnkOMFfzNw3rt5cwgX7kt\nHKGUY0fF1uRT8pmKKorEraQAyP5qxNra2uIa1u3aks9VLbPkJ0yqNtbjYdKp\nfqJVZjNeOq4/GjxLGVAEyJgnZUoa8YQvBARfFAK6bhRl4G940X7TzmyzwYGw\nPPwX6nX8PiB7jGSLtTw355T0geUWRTK9WMyZe7hGk1iUEsiXwqQWZi8dRkFc\nCcuvOJ2DIo2qc1Q5ow2BUo7Q7zsytrtXLU3e44xMHC/YoYbZZlPy28W1diKb\nhJTqkBKIy36yS/2ycVMrwhQGKZldW7G1CfcBwjm48fRD6JcfT09u+eHOiSZ3\nV6RsKWo0mZGN2bAxItCdLxdLcBxWxw0btKLJjhCtjUll7OPrg5iOKgOhkGRS\nNLJK7z/glFPNQVSl3jbeTYxj2pcb28BLQianUkxL8V30+XKz4oM+1MZ4Rh69\nXai1VWmzy5arSuqCxHS17k+m47aW+n3VsCwi/8QPhdiSN/+FD5TCPTX5X0CW\nUfIF\r\n=zWk5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.4614c37","@microsoft/mgt-msal-provider":"2.2.0-preview.4614c37","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.4614c37_1620273201744_0.4367120780279914","host":"s3://npm-registry-packages"}},"2.2.0-next.teamsprovider.16b1f8c":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.teamsprovider.16b1f8c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.teamsprovider.16b1f8c","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a92ca519760c1d7144718e2bd3f3f02c86a4f063","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.teamsprovider.16b1f8c.tgz","fileCount":18,"integrity":"sha512-uK3W+n9Ey9s7QqTca9DbYuDVSpNCgH5Scn6IFvyOO7fWJ4OihPCHPbVCV1wzEiMc0LbNwFKh5ozNhjkDvMgGUA==","signatures":[{"sig":"MEUCIQCWuMfwAvWv6qeKxsOBvlKsWUjLt4DUPQtL/h3po9qHpAIgP44uDrkHzhZk2uQ0Oqt7IV9DAu5Bq+G7k3znDTawJD0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk2zFCRA9TVsSAnZWagAA+MYP/jqoq2ukqoWgsQFufJot\nVeKJ4XkC91OLc2YwHZ69hM2UODX8pMAhxZ5S7WwvWvUZPpPlBkd7Vl8JfU4i\nW7flB4sHb5asLBfEQzPceKLZTI8l4gPAJr2dNuXxWkrLVmb/3FEAzOQ3YBUd\nhMvYmTUmIqlg1m9svhMuGrariiFJsh47l15pxFdEV4I01Y8cin3PJQOaln5Y\nkkJYmDGKEl8J5fOfmBHdEishrvvWL2QLY1g1coVu0EHWG9iFo95L80BWcmyn\nYohGyftdFGlmQVbGMYcOqakZwlANdicrjfEbfCc+GmME2OEMF+NByoz8HqHF\nmzdejRG2yY4MUEHhdg8n0piGaCZ7XPy7isFCdy3USLYIuGgTIKzEDNIHEUsR\nKONo9T9I/q3rpm1vYdANgSSbrVykgW4qxW6M96/MQ30t7BkH8jNrQb8yMu4H\nKsqs3GbQyhozxS6QQy3+PO23+VW7cVPp5xmB0vwoMGiCUoUsHbizsXh6u5dr\nP6fmMbd10MPkdqNY7U7nWecgWVunglawHf7lY8VRk1eRG/8EqNQFt8tbZkKq\nRpbTJb2sjgDupVcqFJOeiy4RRY/wzo4YhOUB4BDIUQPSfqVGC/HNZEQgb0i0\nBvowjPp5/jVcDlizDav+foliPurogYE5JR6JroeYFPBKxCkfNcDKYif2sXk1\n5H7O\r\n=EC/K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-next.teamsprovider.16b1f8c","@microsoft/mgt-msal-provider":"2.2.0-next.teamsprovider.16b1f8c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.teamsprovider.16b1f8c_1620274373058_0.17231749976213573","host":"s3://npm-registry-packages"}},"2.2.0-preview.f1e4120":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.f1e4120","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.f1e4120","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"299ea61f49e6aed65d00a42f277f9b2e5ae27fe8","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.f1e4120.tgz","fileCount":18,"integrity":"sha512-hscCGpw5+nHlzhKOebeRkwH4MRXcWVo+fLdk6UQpBh4Oga16Ub+GHHTtyci+PD5LCw88Eo5qM9A8ueus36gZ1g==","signatures":[{"sig":"MEQCIErsjf2wxa2Cz5liKXhDeWnqOVFffo7sXdVZ37TXVziEAiBX5lasyjC6JNk/jt1qZi3Qvm18uoN9bhM1WRvb2ElDOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk243CRA9TVsSAnZWagAA+DoQAJb9RYzUbsW0cm0XxTT8\nTyBJGzpLA5urI6q6y57/XB6gQyzSeB+/Ws/0dpi2VMKa3ksg9e7wsgzOWCOW\n5LLYrLdrSqp9VoKsvJmghja8cgssNjpgQMoa6kkSjSw5i9SHJWV099rqc68P\ntgovRPjr0fB43HxuRf69uL++dNBG1kjaElD5obJEKDUUv6DMKVLSqiZpBvs0\nnTRsve+DXIXUcVTVkctNIC0ViQx8PwLcBv63oktXnwguq7ZmgWN9bJHdhziE\nNRzFbkCCJ9+w+axgqJ9q5YX/fkkSpF+TNpQ74uK5m79ryjF1KE+n+BZ/hwzo\nlODOt8xPVgE62waFun64xmnzFHnqgl4qfX7H2unihCGHMAKsLM0xhQMHkkYu\ncN3EWNqFV5WGHCZuCq6QVy5o4rQQOH6LJp6i592mhYBJ69AjgygA2I+whc9A\nBxDo91YAk/M0V9UOnVBJhQbmnMxhO3xMyIWQHJmVx1odYsDnjv339xEgvZf8\njCDeOEDnRulbrintu1NlNWW2tie+dIhtW0AUNES7Hd9S+aGV0QG7/tYDwROY\nZFDGEFdVFP2OF3hbOnKTmVnflddlDrX66FsADTTnQXHu6UKoJcUFja/tH1X+\n6kuKLr3UmXwxNLquTC7c8EVOJPcSzg6KbBK8V1RCaxydoyDJ5Nw8UB3JQje1\ncY91\r\n=8QhV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.f1e4120","@microsoft/mgt-msal-provider":"2.2.0-preview.f1e4120","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.f1e4120_1620274742997_0.23308542536786336","host":"s3://npm-registry-packages"}},"2.2.0-preview.fea9bdc":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.fea9bdc","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.fea9bdc","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"62972409957b46916356b3d985155e6f703b5afe","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.fea9bdc.tgz","fileCount":18,"integrity":"sha512-00oJSBYcCpBG+SOqWOGJ417dOFoLgjS2VyXiBYlPmqOAcIq+0rpZ+tjeSHT5gOfm56qwl4b0EL1vZfTHL7O83Q==","signatures":[{"sig":"MEUCIQC2vcoO/s2PuP5yn/7bulx5RJyX2tPpA2+VpBwx50fXrwIgcAbFI/PhAZikMeaZqrZIW5umkjrFWZyKFbMHqv+b3aM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk26FCRA9TVsSAnZWagAAOKwP/0siwA+RwKW8+cuFeY97\nV8uVmWF3qjZ8oitxKv+V7zmaE0bASNnxS3JArsM4MvOrzydvDn3GAbC2Q/fA\nI81YMrZl5OMuDEV0fZ4UJ3zq2c4NRjXo0/ErmmsPx1uxJPmy3HAp89/NcZHQ\nMzySY9SMY4zL93S4BSDEY29R2EEz4xv+clAiIxjrBWapd1fQj9Qar3vs1H9m\nfmurAlyis+CgpjmH6OvLCGlTLzhFFDBfaxKZijPKlMBpRmmdQTJzwiVYDEAb\n3WYAcrEEnSwiCqv0gdLSMmqsfCKUZVoRD97EB9fBYW3/jLqhr4JSRgW9FRIY\nJb25PwcGVZ46ooWe6K6nO+/urhByGJ34Hr5gHj5zB3q56pT3o/qjMfhxtcaQ\nER+E3PnOgKl54rkpM6hx1rp3IPyBGO9lbEi1JCPfy3+hVvUtkSktijMGBFcs\ney1Mb4hwiRx64zAGN1RighFfYwAr8REuurn0Hwj5YbvfvLzNgyJmrpqZ7G+J\n3oH5tnM+ONqegoYXvUqQZHqvBQDNQlBhIO+k8H+PjD6IT0vhnDsqipf3/IGL\nxmUoirDrVod2dgQhJ71tUCp8qwyRjAMbadf7sj8RKWZNoK9gi6vqGc+XisjL\nLp1DURxpUJ2gK5QsD5caIt2nRJkzxvng8AdJ4blKimKMD6ELwY2QJJMqxEKj\nQXuJ\r\n=Djw5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.fea9bdc","@microsoft/mgt-msal-provider":"2.2.0-preview.fea9bdc","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.fea9bdc_1620274821589_0.4047703302818859","host":"s3://npm-registry-packages"}},"2.2.0-preview.cffdc6f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.cffdc6f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.cffdc6f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"429b6227b0dc3475e55838094d6d640b6cda5fcd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.cffdc6f.tgz","fileCount":18,"integrity":"sha512-QjjQ6fQW9bFteaQ2qQ+WUvJqqvwYjYObvCgJJzJ797B8SWbXaMYzhHLmcpuh6iSTR5+KQEU4lpAbZNAecDv6Dg==","signatures":[{"sig":"MEUCIQCR+XcrtDdkNDxHcs+u+dieEFZI16E/pORpCfP7W+bI4AIgUd6zS2rEvx+PfxdaQv2lWJJHhobtYTgzH53SPFXlNfk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk26tCRA9TVsSAnZWagAAMb8QAJTHJfpdvITwb6skRkKI\nQSBW+wG8F7WfD8GU1eL+dKvS+hxJN9WACWt45EbJZFLezjQ5g8bsOumXOPCO\nZgXhGLNKWppj7pW6lkcl3+xc0uJhkP94BR8VNlJ5jaK4evvycmGrm4skbQci\nw40jyindCkQJutvnJG5K6PlemIu23IGmyovhexZ4v5D7dbJZAUbWCNizsI4G\nBKZlSxKS2OXkZM8tSFY3lo33P2EwMC/xAeGDVoJjSawvPl37uZra4RJQ+cPF\nvPxevCQEKy1ONLqsnMuYfO+/iLZRdyKYakAwAStB4PpwkJOusIF1rGytXrsW\neY4wbhyeVy0rFu7mgQtRGUgTFB3YoPxX081DJjbm15Y25Xu+kJF1ghtpe6tC\nDLe8fiQOy1WmrnysUBeg0RrQfwoUDXUuzpGHiHPouM2eLCZ3vJnxHdsuAd9W\nZ3pFQqIkK2rBWOW0b3RVXVefZEzxE5TxRDo5yWF2Lmcy49FhKflZIeehBC6J\nHWM1BFgXq+6UzpDa9rLzKHTS4jty/PfqHgMVO9vZNPYrhm0Q6JYxNfL3Zs0v\nqdcWB04bVscFAEnicxwbRiXBbArFIxTkGeOr5x6DAyGbdeH3kZbx+daFeiAg\nsmD3759MLo5HxwXlqTn93qBO7iI1CDxKZqBWoT/6IGIsBQI3Hod9bGcWattz\nNfNC\r\n=GwnT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.cffdc6f","@microsoft/mgt-msal-provider":"2.2.0-preview.cffdc6f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.cffdc6f_1620274861103_0.600535240293633","host":"s3://npm-registry-packages"}},"2.2.0-preview.9d9833e":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.9d9833e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.9d9833e","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"da7fc53c16a0b139088297a0e7c0a43fad848490","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.9d9833e.tgz","fileCount":18,"integrity":"sha512-0XzBnKmtbP+QL9CVu9ipEoftVP+IhG6AyV8+Dg/DDKQl/DWY5vwkIrzPSCY91ss4GT7dve10s0+V/sV7zt5wJQ==","signatures":[{"sig":"MEYCIQCzNYTyvrPQjA7xN8+VoTsHL/+7NO15L6OMMFQnuWgmJQIhAM++kt5XRaLLZIjl1j/ff5bIsHlolWPqVJCH8r92Zf+Q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglBFlCRA9TVsSAnZWagAAiP4QAI/KsvbWV7TQ2jB61Say\n4EGggXDruqPwpMuIZEbd05HbmpJcYNSYbMmPjKRQmNirN/kQmfCHIZn5Wzx/\nTZ2nlWnpBeptioLiOTixVAY0uWrNPHQ4phtw/Vd3y+zYGB3ieC+Ztmh27GfE\nF7t1s8298TZmdDE3eLse+FlM1ZsNVKqIjbtvxtaYwDEmWxkNGHJiHbaF4G1F\nQHizUo8ZqqJ46BthdDb9hOA7vC3MUi2lhutCiYktfn6igLqu/rnm+Lcn07fs\njW+HJe8sznmrVjBDkpq6J7EJSYGokjmYkWfipLBK6F3zxu95F/g81X8uD1PM\nwO2x3R03JrkcSyav8kPFz5mqjgQq6ihsfj2H+UHYw375a5Rx8JVW9NnvX7fC\npU4WAQHgFy93k/vtm6tsuYjTE3kH4JqDewS3f8rZhr2w0IyTBPkaKqccxPm7\n3LDbJdi60y7L+mD5UptNrrT9clSjSBT7JqCZzKPzZWeex71yZmIWM+n+IONL\nfM+VU8il4VCpHU/ekru22kRPsSls7wZP24f26tQ/7zpeguXknJxqpP/SQFSF\n8Lw+CqFa3pgyLUTNUvpoeSB3sNWn3BXjxqOhk85RgvASqrN+NWrxG5YI3ZSu\n3ySyMc2gNTf839ab+U8xfeHRbyKSE/m0KqPl2j6MpB+ilPL8my0U8AyPQhB1\nxqG4\r\n=7loO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.9d9833e","@microsoft/mgt-msal-provider":"2.2.0-preview.9d9833e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.9d9833e_1620316516438_0.5024726180588142","host":"s3://npm-registry-packages"}},"2.2.0-preview.0a84ed7":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.0a84ed7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.0a84ed7","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c89bd934e18dc5d7b91e063a13926061bcf5c2cf","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.0a84ed7.tgz","fileCount":18,"integrity":"sha512-3w8FrRPUB/DtcsBfg9n6J2GaYwEN42Fkwa+nrg8Rycep1q4xj0a27r8vnXlnGotjEaU3heLGsx/4SdyDF9JrVQ==","signatures":[{"sig":"MEUCIGYNsgajK8D/jtHWxsEJxiZfkYms5UhY14Im26DdLZZrAiEA+WvuhhJlDFZlpXJy7I4SATGspLUDhO/2s/t5KoIrG18=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglBmjCRA9TVsSAnZWagAAoYIQAKSSWpkIa3gOC6ovymEm\nh1QP93wNVoooMxltDgYL56iM8lJtCt7wZnOJ/L98Yu1jpbCcblsPxUwGeInw\nSQiRdsQAMmS/G9xb+uzkD2q9jaF+pHl54d1MBgXVg+XD4dymwbOik4yFfu0i\nSkn0SfcgyKrNsHO+dma8wwYGKmFr+iwTjN72aQEIolM22WuRGuPQdTGP0lqg\nmVOIGzsqawFDUEcR03Rldsyiksi2OAJCnWQleHf2RnfWaM/yh+yQseXyV9EE\nn/Bp8wsVD/e5VR3Uq9p1tAcJjf5ttIrL1o+ZKOH5QBJLBCCiKsskT9Rzl/Me\nHn1BcOXnBLv2t3++jymflDjQbSHgEu8J4NDaagRfZ1qmlIDZb7ORNfP1hJGQ\nZ0cgj+4qRuETQw9pMXL3r/cqOFA8roo6DJJGWD5OkDuMP4wMcPPeubiIpmSL\npXv0ZfHB2ffDYYC9U2rfytmedIs4EoXXeJXOkKy6gmCiRv8vo/gWvlTS+jPu\nKZkQBfYbEUqUPEiTk+vTCK32sfwlOa8YfqZEWHgLicCRs8qCvmO8kzMyQME3\nUd8JZINOteBjaGVx6JltyZUBtMryMdsUTRXyO+FCHnZOwz++iNH8RZh9fspJ\ntoMw9yDSGwSLTKzvtGHgxAuv8YP3sNGBWmmZvp3PjeOEOV0zwLSfK+dChf3w\nhRT6\r\n=hLPi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.0a84ed7","@microsoft/mgt-msal-provider":"2.2.0-preview.0a84ed7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.0a84ed7_1620318627428_0.04359465275086083","host":"s3://npm-registry-packages"}},"2.2.0-preview.b795a38":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.b795a38","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.b795a38","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"127c30984734c5b0624816a5a0eea148e4c8b2e8","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.b795a38.tgz","fileCount":18,"integrity":"sha512-J1RnQbiGf/nFD7GbLbIa0mE4zivcZwmJglhvaZ/YzUrIvGq19rgZBjnfdrvL0LROy42AwZvLknPwBVD2P3W7Xg==","signatures":[{"sig":"MEUCIEErJTCNPAFiAqcIt3qLoDTaahTAhO2vxHXGVnnor2wnAiEAklRi51TSFP+xf1V/RFIjGe+M9ziorVObogliIm/Fc+I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglWTBCRA9TVsSAnZWagAAtIgP/0wVjCgWPVBPM9TtrISB\niKY8IKlEwYV9fqY6VHZuP8hf2XgQTZxLKQKbtcex4jnOgGfKl7MYbYQw9hv0\njb6FqaKKpeKj69lkuAd/0is+Y5ehu/Q86r68vJf5r64yCEK2u5amhGnxEzod\nfiDjwym0DX/TVInNF4kJb6ohk4SMR0BjGZY7KsqiD7Ae0XxdTs3wKvAMTMGA\nCbVtJoNYDD+CEQDDYMTnU6V43EZHs0ElUOcDBXHt6lpXcxr9+DeWy2onicvS\nbw5QDh9OsprfAEgntwhIiAJ8ulpwtJtEWV1yTWUxRWGlb2nFAWW3f7WXYPYE\npXYQU97LpXAut3p/R89X0uoRfj7e0w0IGRfmcws5aBsB9eK/nJlafA3KOP8v\nY3uFSzIOFro9bgq2P245+nOZn0f32pKo2FqVXmm25RJ74U2q1EzSltCz+6HJ\nRwNvl4AplkIZ3UNcA3eSn3xeNRbuMGaRfTIfJ8oz9EJW8YCsmiX8WJPIa5Of\n62BmkNHU/mEsfT0rgKmTwRsj+9gHnnjVP8nljWuPdb+R3p1wc8udOLYAZ3at\nV2YvVU7PQINazKBjJAxwYhDWf5m+1vCFyVIoHOyXR5qL3dkGCLD/WkVqMM8E\nl1IWkvctIY/VnrTG3Do2Bf6omvmicc4jQoni3jJZPrqSnNpSsoqbaMxDQk12\nwbSJ\r\n=m+1+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.b795a38","@microsoft/mgt-msal-provider":"2.2.0-preview.b795a38","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.b795a38_1620403392813_0.5531829878425698","host":"s3://npm-registry-packages"}},"2.2.0-preview.59932a5":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.59932a5","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.59932a5","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"61ca0057513885e1fe7e5d2c02e5a4f945f9946f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.59932a5.tgz","fileCount":18,"integrity":"sha512-wzD6TsiEjogORWNCK0u+PckX+6jgomjTXwi1JPHNlTvCz4dIbJ2Ph9GMmNSrktJ/HH8m6AgefZmFXEnRO3PvEw==","signatures":[{"sig":"MEUCIQCA2kXbnP2wqI2Z8pZIZxYDDTNlwm9sba7dondhAA3vAQIgW5Jjkyc2McKxv7+fcah799GraoM+JzCDxLSHB31EG0A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglWxKCRA9TVsSAnZWagAADGYP/2FpIrha4gGV/OWDad39\n6NAb8Le+cwzlFvBGbRidoB3wbXM08G6giD2DURCusaww9qPToJU3C5mHk84A\nv2am3lFoosNP7IyO/Fs7aEWnm4rSpW5XHHwkTSBoATmUxumFBwo3W6eZRIff\n7t2PkJ5loZq+DS8H42Q90JiMFdRBTa82gwEfxUscv/HWibCFKVMkiMbzuzTB\nNF4JkRT00J+VPB1wNUyRBOTvJ3Z7XPcsl2p9ugIkgMlfA5+xzW0QG+J0vVtB\nBmn5Ss038n2PlXxv7It4SZ1Ig/fm1Vgm+Cqh6vxP/buasCwuffmTXIueP6Qs\n0gJwUG52NCad8oxmWWGJ0egPIAR2RDnlgCLxT2MjC2U2MolcHVqT4/Ohf1xq\ngIErI/Oz9lA9Xm2nmqFS2614HLws3g/GEb+Qe65SieS8rKVImOIolW/bVfjf\nqYO9vG/IuE46sDAtPy5bkLHmW6OtjFEe89DO1bmjw69dOxp5cvZUJKFzYwBp\n0B7fjbxocOk6ewKas1vjLAGco5azWmwVCNKFGahFkkaEOFhDRsuAWc1UmkDw\nQ0FaAlL9xwxjUaNp5SsGsJ7MTHRom6oY0yc/j+oLMaOnAXl7mTjK+VNixB8v\nmcE5pr+YwZh8+dze2o8NtoF0ltr1jmAkBhw7BLuS/8IKfgdVmbONnphHUnTG\ncpDp\r\n=jmgC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.59932a5","@microsoft/mgt-msal-provider":"2.2.0-preview.59932a5","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.59932a5_1620405322338_0.10244320995448453","host":"s3://npm-registry-packages"}},"2.2.0-preview.4924a05":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.4924a05","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.4924a05","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a37a7d2125d92264c18f5ccae2b6fe85dc75101b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.4924a05.tgz","fileCount":18,"integrity":"sha512-wOfLAz4l3M3/LkzIVX2jJi0fs9rm7xu/Q3L7aSdVdGovWFGbyuhi53glpJNRc3Mq7mzHPVutIqm1cBYlfLbl8g==","signatures":[{"sig":"MEYCIQDJIXw54Pef4wz++/liIFAM0mLIFG5SZD2degYg2l4LTgIhAMBktv96cu5x4aNgzL/muJHo8TYy1KgNhxlXPrhn/j+x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmqb+CRA9TVsSAnZWagAAYlYP/A8UInoqt2mpDPqapZ1e\nzKBXBqmCkmq8lD9MGMEIeY73vfx0R8F78Lvq2gohqdW/CbyWVq79U/tbJ6lM\nc7eJt+k/gEMtA93X1F8uAhsN1026Vp+RU9ilAimUF/Ul57drxkUK1X0+O+Us\nTFuImawYQuQPTDLoO1TcRvwqWDObUpqDUckmtIzdY8f1+wDd1+EYjOZguknL\nztHmDTnmGCNKsoeISsy1SDyUXFi1yOzyV9gewKhJJzqb6lKjLNqZzsqSJJoO\nP9HvdH9hUDKCkeEFd3x0jUAJ/20Qos2BSN4D9rjR7AHn09lt/dMKDEu2juol\nc5fzdMU0TSA7QeOcIfhA1BgHrzLmCotHsWbCG3llXWeK0gQamhaJkF08EUTk\n/3FYFJxXJAk2N/NUrkNvmmF33srE9y1D+Hxzx0kC69njVM09yYBgTAECVRV9\nPcg/oeAvaIFo7Bf7SkdlVj4T/INAjV+G8YzcHqTio0/PcL3x5YDjxduiC2w2\nGym1bKgQ/PqVZnDvUN/YoGVxboY9/EBA6EozmCMOS3W1DgQBsFSdMftcLOOI\nN1J7ETpu4V2Vb8Vf1vhXXzKcsqKqBpCMs2nIbhzII+1cGekjBKytnqkK8HKB\nr706O8kcXn2OSvm/Hn/L2cl12UhDrfJYmbjuIQJrp86NstC0HKgqSYKsH8OC\n6zyF\r\n=o4U1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.4924a05","@microsoft/mgt-msal-provider":"2.2.0-preview.4924a05","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.4924a05_1620748030041_0.9302002954824691","host":"s3://npm-registry-packages"}},"2.2.0-preview.9ab296f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.9ab296f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.9ab296f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f9263ee25efc8d846fcf1b1194f4e069b8e03f0b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.9ab296f.tgz","fileCount":18,"integrity":"sha512-ahMvhslKuQYrVkZs+splKnUyAduTTtxymtv0F3tGoZcVf8ezk5oUKDJRzGSL5dttNDtm8D/HSa0xgb1HxFX7CQ==","signatures":[{"sig":"MEYCIQChyu3Qhnc72VnJY1RTaf4sRMjUhPD2xhy0z5OcMCUUfwIhAJA8EA6rKLkSnM2T2blapbErVCd+iS3YLcNycPvqMV5P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmsLBCRA9TVsSAnZWagAAIMsP/AzsC/W4hE2vb45Yq/dL\na64AfHKgGYP5hJCqGgygEaYPx3KJMD6rBy3M9cVhZkNfgQpz2iJBUAHHTL0j\nICEk1HySRJYNcmcsHBEI7iE95oFc5hLQN0B32ZhakMpmBLX63O7PBZ1QgnYN\nbpK+5L5MJmx7i8jNNmZqywyM4jInKWQaLj9TAwDbf/biowZwKID0BsfvCh9d\n+BfyJGeGfFyAeXbrySMi3wMHc/8RQHOtuK8xlepnB89NWzEHkYPhNuoDBd/J\nOBaQLf9uOjY+8GxhscpwyXg+JdRuqvUOFVH8TzIANM6qh8/yqBciQUSWRVbO\nSy9mLId9ssOJpXJZnBc8IgLhkaHQxaA1j2EmC3tL0N8jIVP1VWo0gSXOuZ38\nxmldT4QqD2xDPgIfkQceNYNgvRtas7dd2N+JhFgHKzK2oA/mPYKVs4UWhnkx\nysH36WqWizbL+IlxU4PG/PXcl46C71YMEQP1kKxqw//q6I1PIcpzXQ5JrkW/\nSXyfqVhgr27moTNr41y89pIbboBDeWmD2YVKj87/TJ/BhQ5LcClmrVqBoXFN\nhOEtFAIeSFybRveeUHGAbGbKyLV9w8/yTpqUosyF7N/Y6no8rnlwNmqiYuot\nFkrStme5pFjFXEXJCjcetmyIMFFvEWPEONO9ULR889A4SULsl6J0qTnJpUIm\nO3Rc\r\n=L7l3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.9ab296f","@microsoft/mgt-msal-provider":"2.2.0-preview.9ab296f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.9ab296f_1620755136610_0.5601914094424638","host":"s3://npm-registry-packages"}},"2.2.0-preview.9a98dfd":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.9a98dfd","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.9a98dfd","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2089dc85342d754ceb4e2b5d6dccfdd5ebf24eb7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.9a98dfd.tgz","fileCount":18,"integrity":"sha512-fStTEF8sqhfARWjmqwkLGqrhmy5O8FYvcj80me4o+k839TewxxdTsjO4SNfwBzb0K+CnOL0OnB6LpyOiKezv1Q==","signatures":[{"sig":"MEQCIH8tdk8Cl85MvktfYVyf7AxL6AuDZXDW/3OtX+lq2ny1AiBms7FruxWMHXKYeRFDfN7BDyU6HxA1QwTWGFg+pMJeLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgm/geCRA9TVsSAnZWagAAtbAP/jPd2L+m7GuUPmfee1wq\nwOjU0ThAnrNAedgVUuD2yYZJnLFuwd4cTDZJp4DEMNsFbZM+Zghas99CuOTR\nTap277IP1LHTzxT9m7hqWq3tysgMhBgLfRCcxWm0TBcvOG4ywVtDXHgWjdKI\nuHO5mzSjlE8luS2LK1vOOsANTkZixOrZUFNc83LtQlBjkHREtn1N1gCEbvOm\nNzaiwrH1bj4ZQk0/AYHr16k8qud9fm4C9eDW0XfwWzeDcZKFCcWeK7mfmzp8\nEYjtOOs49WyhiiLKdrCzwojwEnubX+pZDX+JleyZQE+v5BJ0fXm/9hrgLn0Q\nYYNJSvu8wOOKgjU/XdT337Sr3wgAqzVZIXl76yGV0AVS9+63l9oHK2KRrxmh\nyxv27tsGW0HEn96ydFNnKMdOv48nPG6Yw3cADX5S/PfZonGYV3aHX/hv8OvH\nzqnkW5e3f8+1GxEx/9Nfk8sSUpehQoRkWNfrM5t+e0PdS6rrKwztiwXEdYJt\ne6BUp5bS7e7Nr/cIt8oj7/2Nh7eLlWsW5hUWCDiHKsubTiJTCnyjSZ4byO9W\n8RjCHj82S84Go20rK2V3AB5LX+Tug5BeByk6rbiuOIT7As9McKLOcT26zJ3Q\nb+x1DLSA9QPwWUfRA7VOAnkwB5iQLH+95G1pXMx5af2k60FoV+knYqDvpNmn\nhvcM\r\n=uwaV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.9a98dfd","@microsoft/mgt-msal-provider":"2.2.0-preview.9a98dfd","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.9a98dfd_1620834334000_0.24029834832290087","host":"s3://npm-registry-packages"}},"2.2.0-preview.c78e58d":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.c78e58d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.c78e58d","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6c552b42377b31b912036b2bb5bebdb98a7a0662","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.c78e58d.tgz","fileCount":18,"integrity":"sha512-+SsEcs9GOAqze9miX8te5tXJZKNG8bkX042a2rBwdo5K0ZqFK8GJqIXTvN/pnurVabkUKaAJ7a0xt/62JS2ZAg==","signatures":[{"sig":"MEQCIDxSCnAKjO5RB2X2XyDe2YCKneUiz4dZMk2tfBlv5x+OAiAQ0Za1azXjSk/fnnGvDeR6F+pbMUmglnL4Uaw8SmNdQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgm/rrCRA9TVsSAnZWagAAUr8P/36q991pmE/hgu/l3Uj+\nnz/57KTmcbRnTBM3yvHcxtMQVquG1cOJ2QSiwl9XvpkB+0slnZLRUg70nFR4\nGOgHosDGRPVbi/HHw/NUK2K8HBPC1+yahYCgt2s88tFHG23Q0jyZTiBm4zQV\nRD2PZUgWydGJX0VJZM8cf0fhiACNxjtyI1MMe5c222dlVcFqtJzueQm8aXE+\nmbl7jYWgGsK3bh1NUzxVXY2MLJEgKONRWNGl8H1HpcRfRjOwZFheOEyVf2at\n9E0mPlGWNhlg1FjTvVWPXRrQGH3PNIc7G2EvSBVv8dqemTG5PH57NZQBHbFs\n9/8AMIR0Pxm9J8i5OOs3Hg7fO32jAxxjIHLeltpzzHFq8j5i6oGqHIcLGWc8\nIgWKpxKq/stpmJRmcPkPyhFQtE7n2mJomtF6HG/S0pgFx8djTdfVjAkm5hvX\nCc7CLszXg5Sv+g4RfbDuUP7K3wAFpporD2vGIbcy5iXNhi9x10VHSnwJlUim\nj7CCwvnVkN30Y7c5jtxBIvIKfDCCD/exsOaXlyJxEl96KNUfTzSssv7OsYvT\n+fXvExauFPq1GB5X2g2XKPtO1o2Rf0JU3eR7J32nej5vQ3gSJ9ttqgJgTD1e\n16xKs3XTPw69HZJac8tgHBa7DgxwGqTxErb7tLwJPCKKv3CU/LCgw2Qvlu/+\nvniF\r\n=IKv1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.c78e58d","@microsoft/mgt-msal-provider":"2.2.0-preview.c78e58d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.c78e58d_1620835050925_0.8219962661056133","host":"s3://npm-registry-packages"}},"2.2.0-preview.05ee2b6":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.05ee2b6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.05ee2b6","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"360b0e59c87f1d4b1a0a6153802d84cc4d45c0e7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.05ee2b6.tgz","fileCount":18,"integrity":"sha512-4uWwBHPLjXc1w0Khn7ykfreQi2rgafKBgy8zHfW08eqY1Fd2BvB9rHaASRthgBJ5SzdnARRkxXOGMzMxdhrVfA==","signatures":[{"sig":"MEQCIBJZfHhAZAfsNmGpwlJNFciZTzI6RDIHYlKoGMRg6M67AiAZm4MMK/umMURL21SXFUPy5nZDnM8TF9z7r2zd6su0oQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnAb+CRA9TVsSAnZWagAA1pIP/10CTehbZHcVMpWnzcqj\nYItJcRxlht7Nk6UdSpNqUjfyeAWmmvwL0tmSmL1KJvz0osO6xUNwKNCTAL/y\n2Ts/mN6lDuzxLhTVeGAFPI0xws5j+lTRZQVsIvkLsUHXldnKcbm4AYZfaQJO\n1XlnzIyWsx8Egb68SmkuQgII7TTpfR68xp7NO5QaR8+PuS5MARH3+hLomsWC\nP405xji9gRMujU/w4UzVwCWZ8p/6Tohtx/I88pFnd9Q6e0QsoBc/iZj6wU+K\nkP773zZGwCrFw94zhUMvqbC4xzOetxH6Wt2/H+YmSK2G8WacN0NErgzHPOcQ\nk8EuKSPB3us6ub4NoMFQc5nfCfeRgiArQTFqKbaa/i4LqV1LIq29DJsA9ofS\nCs3ilbJovD66gYW9iWdVfgpH+2RV7gj1sW4o+iDAFnHNIHYZDCXUKZNcxHad\nHUHFXAq+9ciW3wLcuDT2m1mUQTsq17LDGycu1H5OcUxQszc3/mSvwV6GXXeM\ndDaQoy0bXVsvqUlQI82Ubs/klfVt0b9ZHbIIj5ZixW88QZTkyOYiLBMfZXQI\nKODJfbZioPsk1iMsLYU82Mok/HGbOggPuJ/99z2JQ88CF0bENHr+sDuhkkSw\n0VHHzWw9w3UakgnkwNktJnx6ivxYMqydTVoXi5qDw2yq7UyM6EUyx1mSSumB\n7ypq\r\n=VbHG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.05ee2b6","@microsoft/mgt-msal-provider":"2.2.0-preview.05ee2b6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.05ee2b6_1620838142280_0.024252285171973087","host":"s3://npm-registry-packages"}},"2.2.0-preview.cfd7620":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.cfd7620","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.cfd7620","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c0063d3fbe09a5585a6db82b4525535af4068c2f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.cfd7620.tgz","fileCount":18,"integrity":"sha512-DsCZtWxaec9k9UO999Mfug73uZY8w353KVcCjaY1TMPvBEd3kmNqdsYrqMSl8Nu9WDoIRY16TVKgcgJEFkVsWg==","signatures":[{"sig":"MEUCIAHRHM3HH+KKvLZP9p1pW8MXHtbPcnV2r2zqf21N+J0VAiEAotck5ARmDuCbLlu44WWdBgYSZN23r3G/CI+61abBYVM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgneN2CRA9TVsSAnZWagAAz8YQAI82IGdJi82U/fYDK6v4\nbGlBWS+nrhwjRaWC08xrBb2pPG/YHjQWoDn1rGI/XxCAOyw7NxMMPocG7tiL\noTMxnXGyEJYk3rU8z+1p3LRKcVSW82W/3HzXGoSsbepeP+o47yVKv0R6mI0+\n8ujmqIU9Up8vaMXwtHDeLbyGmH24YM8u1FyKs1e78tdTNHFC9ufRYnQFBnFJ\nzwNI6ifuaWMkpOdmWEQsW0mRbJEVn5+l6htcuolOiJbkdJsncF3MUpIgK1wD\n4rI4BppWkfVsviVpGtLaKogL6OAkfak+eASJG48ZDCAeuDu5jRgti5uJD+HF\nqIIZIp6afCNevP3C/T8lO1ox+wODplRWPLZ96PlhuYKCocJMaNTBeAebu5tY\nOVVUiMjmGpx0AqarDkwkUa+Pb6DdAQsy4t7yeCZME/jqmxAv/V175rB17E49\n+wRN8vzg302CjTiiiNHjKaZtLL5Mp8NTY3naWW8oQLWvhgFliSdGcdw324B3\nVuXWa0oT8VnSoCo0y69RVnf9T+SNvVK5FWIRf8aIWP52sFHKwMx9qadrRE8k\nje9PTU1bXVRnOvHdCiXg3CpI/pPKzj5ygGM5C0U8cBWZF00iz2YRWadconPd\nXl7Ai7Txb3J7l2NtH6WMa9Idfa2Y1xoJmrURd16x98L0Hu7kQI2J94i2EhMR\nMLSk\r\n=t38m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.cfd7620","@microsoft/mgt-msal-provider":"2.2.0-preview.cfd7620","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.cfd7620_1620960117689_0.16334011686756855","host":"s3://npm-registry-packages"}},"2.2.0-preview.11d7c4e":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.11d7c4e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.11d7c4e","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"447a66c44531189c469cd4b2535654a67b78db9b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.11d7c4e.tgz","fileCount":18,"integrity":"sha512-zAg5z11hzkvD5fAoq06IpRdUu+IdrwukJ9zD0kWf4Ydrxb1AgNGun37vsrPqUuNl3JfY08ZL57PXFRH/htpmfA==","signatures":[{"sig":"MEYCIQDCBb+md/qyAs7KnSDeliK+8Ar3brw3v/kXAJl/EoC7EAIhAIJeOO6+0ih54bQ/lpjEMmGoKS1hagsyJarJRwt6ExUG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgopsWCRA9TVsSAnZWagAAaQIP/3GZFBU6QTRpmBNnutaV\n3AFOMN/uSlvl7MISOwlVj4K2lRtUuCAR2SheZ/RksbQ3WBjFkvJNoUOIdp5K\n6qUcN2D1KOf+YXxyASUcEinRyfLKNMrH9w1vXzpdd7enPEiIqsGCGOtySi2p\nymEgNJKVNloxdVnp4Bb/Dyv6HVUpFK64cVORpsuSmn6wML7/k0HV9VsPwHZ9\n6SgUnG/2aK+Rc6T8Mfz4IVZc7OPCE8z1xEgPRJN1xwWEP1DDTerYmBzBKKrq\nspVcPnXT8pSA7I2zFRPbXLWrjW6s4BALsZHjp4MvjityaTubMBCJeDU58uff\nqyecaVN9T5Rpicfh/gKfOzzp7rZ+q/+E1APLmy+TY/KzASQRQPHdvQu2HFlM\n7cd5gaNZu/YOUvBoGULOdIT8gFN57XlomRR18HJzeiV1BYz7i43vDqIt4lEe\nAs5wfFJWUVjMyonmlMREPPy1E52tLaFfG90MTO9nRA1rZmzNzFNV9lA4DAoU\nE1ePkRkz/DidoRyAJv9XnXg7Tdj7JEGFnvIBuPJ5YDP2TkHPSHrGEeg5YlFm\nAjUCvP0g2bzMDz8V0Z6EU0D/Y4VJAm9YGC2wcBnRDEeSyHIZ2VsdzjHb9dnV\n7MkqHH0p96fR5GOknR4feuoZdc744yqv9cOq8X1ZwY64CW1pSOOvP49r+1Et\n8YoS\r\n=UltA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.11d7c4e","@microsoft/mgt-msal-provider":"2.2.0-preview.11d7c4e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.11d7c4e_1621269270293_0.507596690143981","host":"s3://npm-registry-packages"}},"2.2.0-preview.fd2ea1f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.fd2ea1f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.fd2ea1f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cc7a2d322dfe18308a6aa959587fc8a0c72d1470","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.fd2ea1f.tgz","fileCount":18,"integrity":"sha512-3ssKbNLSdJU+KSJnk6/2JbpPuwEUTz8mNZk06AOUmKoREJwHNpCSAhPDv3w8gDNdE8bY8o8spjXRpSmkGQqGhA==","signatures":[{"sig":"MEUCIDk2aBvpojs2gOUdvolafHnLBG+fl13E+GTgo42mrb4eAiEAngo1HEFK8woF9uxAG7OZlYGILQDkrhshM/JE50w3iMk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpAp7CRA9TVsSAnZWagAA30gP/3nOcGR9steDfWRQFVBv\nKiYmnykmYslnluS5t0ELEkk43xsRdCMdl7/Ykue3X4JV+yJXYiZKDzomso6o\nTKsZsn4YicxSXvaZ2G9BtNzHqVTvp0zB3QwxYJxC8JL7remWHxk1UdRvr0TR\nGgxRz0/9iSdgr1prvAd5Z6ZHjCHRIhDtoiY6YMsz79K9TYCR4NwT7482gQaO\n81A+Ov78lJGq+vOFKTISxS2kDI6Ob8MI8XhNVwoQgka82cF4k+OjCaAP5sC/\no8uGcwhvwM0Wdf+E6S7bP4wiC8ZUNqArnrXgVaA8G5ovhzJDhTZUxVmhy76R\nEnIRnmmnNiOKfuupnw8aTU+5ZFdCg1JczC2WQZ8+wv6FzeSEzXiRTl0O3oXp\njvZ26nwdrwoNlt7/rEPfgHiqePWeJ7qZGbyaVwQRSG0ET5rd1aA53t0LC6WP\nD8l6jbeRj973Vv0IBIrJwxTSRLZiOnd3yNqccob/ox2kP50Dprg/Hc9Wfp0x\n+P9eoN2du+uZrifbnVSKrd/TF0FlzAtfKPCN1BBxgiHqiTBvahxgBU0lwXbR\n/oCONCpfVD5b4C6vk2Uk7BSyDmqsJrVPqx92cn9BNhsniZSc0m9fILdad5vL\nChx6XQQ8a0imt7D/nXutuMiRby174dnOa2lv0lxt4DDZrVaTC4XEtQa9P9uC\nvSww\r\n=XzJc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.fd2ea1f","@microsoft/mgt-msal-provider":"2.2.0-preview.fd2ea1f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.fd2ea1f_1621363322921_0.1003083121465771","host":"s3://npm-registry-packages"}},"2.2.0-preview.8bc691b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.8bc691b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.8bc691b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7ff2cbbea3887ebb1d9a9ee772747f55a50a4557","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.8bc691b.tgz","fileCount":18,"integrity":"sha512-hZIRrlBaFFF1rxNDyqhBX5KNncQTZwKvCaex/XfddtGP9ShvXaHDedLjXaAbgATCoqL3ssQCqC5dkPfbOWpfFA==","signatures":[{"sig":"MEUCIQCfO5+9B0vSof3lLxkoF6xz2OlrD539tVdqo4du6eYHvQIgX5j5f/bjghvhxU3xi6GUHPMC33hthmVAUajlePAnZyI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpDNWCRA9TVsSAnZWagAADHcQAJgQanLXD6C57J/+A7vJ\nIOynXKE3gJdYF76QE/1WJIzqBiKMyhJIrugL6+LupQCsJ1hDsXBPIS/ESNgD\nDMundfzOGEyMSwXbyAUHzXVWcITXtTyHPRqw1JUE1ccolMrVWHNb/bPsyQ+2\nAR4iusjkAkb6DgtmiDJCPSeZgRkuTp67v63Zo5s7GTQq8LA5EbYBTZJ5Nff+\nDKxrV+izoPLQaAFDP0YicBRmNvv5foLV1kvfyb0FTUNhZpLVlSINx2JW56xJ\nsilYLkLwrjGxcniz0s/dNEAtI52ejaboXJhW3IQVEM1/BJgKpUCCBpuacyvx\nz3Z1EYjmqiiRjIIHu2MZR/3nTR0tkRzkT3wMn8mKPe7xUEX6HX+ynpa1CtC7\nXS+Nvvw8WNPjmf9TTylqhXROCW+Melfrc7HPJtw9UyzkSyGuOBMiUk8HWQWV\n0OVQQGfXTmoPveko+78PjfHiWnvvZ2YzSHQDc4O/CVpwWfGvH0o9rOhWkzbh\nXX4XbCNcP+rcYjz89ZAuOMU4m4qx2oqo6bAkmHeu0pIc3ANAoNKKtCXDgMyI\n7l1KCoTSBGNfRhiMQ8wP25nK6/nCshHil6ENaClbaSVLmQSMHEBiPgihSt0g\nWeyYYyf6o+iAZKf0Io+bgHd3fO45da94+ZUS+R8cNR41r4wkKz2HPRSoKicZ\nxLBl\r\n=Dlng\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.8bc691b","@microsoft/mgt-msal-provider":"2.2.0-preview.8bc691b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.8bc691b_1621373782398_0.9099850325420671","host":"s3://npm-registry-packages"}},"2.2.0-preview.e2d6d4f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.e2d6d4f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.e2d6d4f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b250ae5ff79137beaab013d22ea7ba455900e259","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.e2d6d4f.tgz","fileCount":18,"integrity":"sha512-sUwMsIVn7rXNdkxxNxcE400cy0dCD4EWI0TjFlqS+bp5lA/ME+9otAcxVmw63KSgJ1W/OwMokntSzogQx945xg==","signatures":[{"sig":"MEYCIQCZ8L/F8I7CpD4Bo4pUCdxaHBN/2yeddUrBmisinOpgWgIhAM4o7yw1Ee81VifraDfg5v0PtSD8A/QdJYLhkp+cyS1D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpDToCRA9TVsSAnZWagAAZCYP/1qD1oYXwMHU1HO43AP9\ntLTJxOLnhidgDB+LygYtDC9JDVj2kAE3cemcdMKxzkp97N26AbUvykPMEiRy\nGPmRvBz303chkuNFUuSfXKfNDAN/X7SRMbwC1JOW/MECv2/86aNLuXcxhBdW\nsJe2AaWBlG0rbcoSYKOTSofOv5N1G9T9fqU7PIgzrddLRmDtyW5sek5R8WPk\nMw6Z0xNmL4vOL39jQ/4BfTmxC8EDpwnc9SybZHroSfD8tUpVJ3O/n7wEJMwJ\nw4U4Uca+egFsv8tB0x8/g+PJZRbkYpiw1jIy/EKLaU599ZnjOI/OQkGL7His\nHubdwTMf9/PCTbt0tmtkH4QGJJDeZ1ci3AM5CuUUe4aoiBf33DWVH2CFoLAm\nSIgmKEJ3A3f/04PCJQXh2TLq8vEIK3dncGCk/Dhp60XHPtpLy9iKLbBI9OEp\n21oYesAzC+1aLYeqUH2eh23bfuSuDoO5ei6sLEPidzt67J+2MFfhww21/8zH\nibyB81tcu3z6hOYxvkfd/kcksRDjgcZZ+1ZcTwDtOaDdeOyy2TaWZQVSpKUb\nEi6Vwj+exYm8DQyRgGCS94K7TAryUwndlcpY0KW8ihkeGBkPiRWSwrAqGb86\n1RtMylU6yJ8u9iqGoYz6cdO7MJJ1jYY27CkWy3ZxdovLAT2OUQxgPBvJ6ton\nfElO\r\n=w/DT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.e2d6d4f","@microsoft/mgt-msal-provider":"2.2.0-preview.e2d6d4f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.e2d6d4f_1621374183269_0.4760663018853275","host":"s3://npm-registry-packages"}},"2.2.0-preview.46c0b6a":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.46c0b6a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.46c0b6a","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3ba13614ecd3a75b13a8b5c9ce5ce9167a90db11","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.46c0b6a.tgz","fileCount":18,"integrity":"sha512-bGadmYXrO12mAnO3ro/R++pNQboli/QJ3mOfW+2yvhd0/urkgfTfvTP2kJh4HJUW2DoAV6oLWeI6eb+ABiP8/w==","signatures":[{"sig":"MEUCIQCbwiw9HuZUIFg4aI5zMWHjvDLpJVgqx4oGKO0tvtDZigIgf1xDAsGJIoWS26CtJHKkMvcgqKqTfZ6d2QwiKHs6Ucs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpFijCRA9TVsSAnZWagAAM/4QAIxWsxWAknV1ODDWj4F8\n4dXBYRGTyVfANV+2uAfZb8v3q6sIPS656LsDYTOXpdJGM/IhhsP+Y/iOpgLm\nY5fI+xDwD3w5rZ8UIrr56deeaGzigpKc3cptkFrseS7F3F8IiNufgqbEk6ae\n2bViy32gc6iYwK2APcspCae9U3urGJPo6fz7o5DEV4+DoLLbop6wWnDLiOAU\nvjRaHa6Dw6fpYACmQC+EM0iUxfxRqsbLw/0bHOejAv7IuiPZh7eivmchqXiq\ntm3lfnN2efFXD4UQY+VYLxbAobddVOJGgt7vfawYh0dY+0/Y19nqgzbb0pNf\n5qTKVtkqm2zTSUNbU//CzY6RucmVwRWRh856eJfT1gbHPPO3FmVs6luXYf6F\nMjkMTWOecq0vesSUB49VT0I/YKUwlW95aIji2NqTx2ynobgRg37OGMSsfokg\nvlCtGxEIfvXVa8oHB9m8ZDFiMWkq7nqdkXF8fyTEPZVtXhieFPcYppLh7bEv\n45ZJgA+HLpxjAqXn2LZUSltZfhc5a1FPuQFf/ycZQc4GjAnp4dqMcl405HNk\njuh6VMjkl/a1oOehHlBLPoZ9E+N9LPSyEPKLuF7sdfM3Qw2EYyCTx3MRkp3l\nuZZwkciYKrzTut9h2BzqO+2V/VpgOa7f5Z1FdRhBdajBG7oN9T9CxiJp3CrN\nG10B\r\n=fFXg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.46c0b6a","@microsoft/mgt-msal-provider":"2.2.0-preview.46c0b6a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.46c0b6a_1621383331523_0.48319367147026626","host":"s3://npm-registry-packages"}},"2.2.0-preview.29756ff":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.29756ff","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.29756ff","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2e88605ef9edf8fe51c9fd77e45a5d5282156870","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.29756ff.tgz","fileCount":18,"integrity":"sha512-cBAWpD1+MBli08BgITT17kIqwH9rZxXqK53bL67/OH66y0JpAEFIeQ/jhzJcEt1Qgtju50rPypVUkk7kE0PhtQ==","signatures":[{"sig":"MEUCIQDIruOUxotXKgSxhPlhidlBduv+WgfZPNtFtlWbz9QDVgIgPXvpZgaeFmxx2ORTEnonr/vDcUWatpKZICKbAoAkS/M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpKTICRA9TVsSAnZWagAADKkP/0TdLImLIEy/qfwzzMS4\ni8sPa2aeIJRnJMRLcvdcSMvW8KbhNU9lLCzbPZyXeGaulQyQNPhkR6NmiiMC\nFc0xrJDOp0Hdpi7IyPaRgC332EfznIyOKf5LYyeergfAyjC0AqYD4ECJnSey\nGRkKd/cui+P3X9JxOUuJ9Js5D1FXYpFq2G6KGek76WO/o+CMjshR57euPP4E\nK5e93+Ke79Sct6aI6g4nFRTGGfjWB8aULCge2AFK9Byn+xxvAtVkE0WBtOfh\nFzuZ7hSB5C7EPZEV/rJzIoDUUq0iX27z0RGTc0h7qP6RtTbCEQx82O1SyNwI\n1LO5is+ROZsRojHACa110maDuhAeQadxtmWvQY7p0Ct+hNHSoSLh7miC4oRE\nWo87Ml6yJAXRj/CihsfPp8gZpnXrv8HDszV/QIUhxKC8uMx0WAsoOimthQWB\nVJpMMLe05eOOvVqjfYEgQr+GvdRxLxVYPkX+b56X9f9P98kbQGVX4QkHZ1Pk\nMb5w76V6+fxgzCkOBQHwq0ZOvVzKqTRkU1x9bzIv04vfmtaYd9DzBYQUZPMK\n0kYVjLvwJL9rDKX6aJbj5+efi4zltCtVSgDvyOg6zpfZXfMpe6lLOqlvw03z\nSNjCa9oxeZ24B/UFaOjNNmI0SwoPIyvdxFyA48gYi6DgxihkHh+V2nEycAGH\nTlNO\r\n=itkH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.29756ff","@microsoft/mgt-msal-provider":"2.2.0-preview.29756ff","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.29756ff_1621402823738_0.8111305405263824","host":"s3://npm-registry-packages"}},"2.2.0-next.mgt-spfx-react.20ff3a3":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.mgt-spfx-react.20ff3a3","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.mgt-spfx-react.20ff3a3","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"152a46ad6bb10def5f665c3f6f47b595ab65eb29","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.mgt-spfx-react.20ff3a3.tgz","fileCount":18,"integrity":"sha512-6k11FKCAm0wrwh7XQkN18XuJ5eS7t2fOq79PV2jifayl1/JE9d4+MgsVvmTydP+As21YkJxtqGc9YUph/UCmOQ==","signatures":[{"sig":"MEUCIQDvoEmdsJxMkI7QgAnFPYkniE3E4kB/6USq99rxDwKgLgIgNSR73gLxMEo/OvNMq05mt27a3p56vX8E0KOusiar0Vc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpKuJCRA9TVsSAnZWagAAdIgQAKS6rflnxqPOYw+vu5m7\n2l/GDf5NYOMl070Q0+lCraRfeu6cbe72gRKszulaVqwWWFrfCFi/t/F5BUMt\nFkzML8IGveA/C25/wXdso/73AUPK0EBzhVG6g1pcGjMMtuKyutsAznAH1bAP\ncQ0Fs+F6gRO6mZAiCvxOhbWGvxWlbJrzPIoVX6TwPiz4DjK1+/ahyLp/5bVc\nTnjWFdynNk1ERC7WehR2hliy+sy7lrUorj8w3Yh1wOcbr1fHblkGwgvjxHMb\nJDuDaWx2pLyGXxy/eofxRnB4Y2/7fK/nBos+NBPkRXwmaVSG64H86zbKVpyp\n72nzZVEYSNgQvwwfQh9OXHmdy4/JxMDdpBwTYKnrIQYp+zxkxPKyGL6zqDiU\nQCNT/fjm8jxq2ohBKezikDpqdhNZiT3KXGbZyD54OCI1QvciPtMO0jHmTm5C\nkovfOh2Qzl1XOsXdsWvBzrkdjeycgb2dlM1w/5PxYDHnfAiOU0FoWaC2ueze\nyC4IePz/jbwr0l5MJ9X0ye4rBjghIhqZv8OBpRC8wGV+ORLg/VTpd1lIIyx/\n2B1qZFGEUVLIzTUI71xeGgHAoNt+S2E6T/uXL/qsHADGQ3WIT6yXiheGI1XA\n4pgfQ9g0g6VQ/DDj5o6iPYda8LAeOoqJnOP0vebofVy++f2fKOdpcq5aiDG8\nkuDS\r\n=9+a1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-next.mgt-spfx-react.20ff3a3","@microsoft/mgt-msal-provider":"2.2.0-next.mgt-spfx-react.20ff3a3","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.mgt-spfx-react.20ff3a3_1621404552852_0.34425451270450713","host":"s3://npm-registry-packages"}},"2.2.0-next.mgt-spfx-react.1b4102f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.mgt-spfx-react.1b4102f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.mgt-spfx-react.1b4102f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"443aba62ca920cafda568dcf9902713a52e19710","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.mgt-spfx-react.1b4102f.tgz","fileCount":18,"integrity":"sha512-4gUpdQCWSL6/R9eizO8c11rRxY59fUuwECIjPS5QaKyZp9zqJBBxPt2R07yIl1ktsQbF9F/ytLbPVfrJOGMx7A==","signatures":[{"sig":"MEUCIBZ4UY9fSVHGflyQ2xzgfnxe0+GkVXAUlq2jK4A1ZRIzAiEAu22V4fGBzVeVcMqxKo4bod2ocKHEvkj/r2jgiDnUbDE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpLRKCRA9TVsSAnZWagAASbUP/2J9ULKYBHYWL2eNqstl\nvuy+R0qVruOv2WbfOMGV1tc9oqh3Qtiwl6SzjohvnyqO5dzzvcdBMC7yYsBd\nLZS9fx05wvkl8pe8EiAiJG/W1gKdtnEdsCjxRs4A4pgIeskNZQA5MRJaThKp\npYMvQyYPk8swdEFba6NZ/mkNMH5XxZpf+4beVZ8PCACinACyTnWmBgeHph/t\nK+Z2FxR8D/ATKG6Nmwz/xXud3Eonl+kLKmLjYJF6XzxDogcnDDN06oZUAmgQ\nejIU5PLcNvTbW4H8pQX4d59jrsqB2bwRcHwsQp/zHx0R7hMcAFgeJUyLlEOo\ng1FWqzKYM4zH7Aos92zmROA2stzk0vN2DFgpMtAN6ufRtKT4CzChnGH3bW0c\npl1jXvMohmRarMnU21G9ZL9bZyguHgAR7yHRbmGciXCkVhsEwvgmGEvtHaQq\nRDPKbE1V53OqUNq/gwl0K4wIHBjhnAcDZgey3XhmCFr5MvD0GBDpjM7hxFOm\n1WQqXCoraPJyRgTDsVJQhDh1+kXGO4Ox6nw4dhOdNFxti3ke0Atqy5vOPxqQ\np1ij8nuOHmHlj/RQNybdy4BWsk1YhJ2BHOua1W3S8qu6PH3Ua6iJv+P/fZy0\nyl9ul/lIOrVKST+h0LGOXdcowB1vV0aKEwTrRd6bszT67IoR7F7Ae0N+TZK2\n/A0A\r\n=FKNa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-next.mgt-spfx-react.1b4102f","@microsoft/mgt-msal-provider":"2.2.0-next.mgt-spfx-react.1b4102f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.mgt-spfx-react.1b4102f_1621406794209_0.9208831358951275","host":"s3://npm-registry-packages"}},"2.2.0-next.mgt-spfx-react.98e3bf7":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.mgt-spfx-react.98e3bf7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.mgt-spfx-react.98e3bf7","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7b5d457879bc18c0a67f6c066ee363af1b66fdb6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.mgt-spfx-react.98e3bf7.tgz","fileCount":18,"integrity":"sha512-5UFjAODAHAjEDcNI3BaRsorcnqSQL+HSt3a+f7HUpP4qXeax+AQtVNiNXgE1W3bf8vXCtHE3/FU72m3Si6PNjw==","signatures":[{"sig":"MEUCIA/dPrNYOJMnO22rSuzybKyrABclMjpTK3eEoZiwzlkiAiEAwq9q8ffQSx0Y2ZvwCAvJEZAOa2qaOrS0IW2Q1z5PcwE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpLj5CRA9TVsSAnZWagAATgcP/0pqc3RCOxPwM9lmmi4w\nWVqarSixSoI67Kl68zO4HxArF4ThCZwERbLt8RKcTyAynMGu0bduiME/rQE6\n9j8Y8T4KOBvMvzS3WfLUai2soHQi/jJy1KhVa4nfGOLb44Dn+bz4dD/83yR6\nwD5j6fwCJt0BB+V3FvRaYowCk3n35A1acFFkouQbWkMvREwC8o4ppw/4q7VL\ndHmMYczdA8cuF8koD/zfXL1wCb8JmMeYCty8IGvyi/jpmhnWkQbcls1OfSzo\nUoecEbNm4gq4uLsJQwOxoN8EpzzwH1z1d6tjmuSH5zvAXfyJxoTDPojbqm5o\nDlrl46p/LF5EL8Bv5FT7LhQUOvivCS437ET3Uq+7/vmQ4uH3UlaFHCjhVzcx\n1AmUX0Fpk4LOeaPOWPssS+1u5/hmjt9mpeaQvfiqWobAuU9goLnJLuWIYweh\nZgubGGIal2alpgTa/pVr4i7xKV2bV6OOqy5O0P1kvOqINKQrawGOk83y/evi\nrLHH348f0ktt454DvCPhjatkrZnUNNtdiV764It9bfFDhzSZ+z6TEFECkQa/\nVFQa63diUMI9tpNERPPjkF98OlrN03cYbJu1uT49L3i1E//+WrCPT6RgfECw\n1SoYVnKKIMbk2hLLUCiz7viTwJ/Wo3EdoNm4bnYOjUrTU5HsZCg3w+n1Vbz1\nmGCl\r\n=6Fvz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-next.mgt-spfx-react.98e3bf7","@microsoft/mgt-msal-provider":"2.2.0-next.mgt-spfx-react.98e3bf7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.mgt-spfx-react.98e3bf7_1621407993215_0.3289043091304704","host":"s3://npm-registry-packages"}},"2.2.0-next.mgt-spfx-react.4010c23":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.mgt-spfx-react.4010c23","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.mgt-spfx-react.4010c23","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"fbe2be38817e93d6eff330072b8437ba9771ab4a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.mgt-spfx-react.4010c23.tgz","fileCount":18,"integrity":"sha512-qZbsPQv1P2XOJ+Ms7tbzGrFLnFM/a7Sb9FRZcvKZhQVYZI9d5e8LLVoMxPl85ez9cdW75m5Y4NUkS09XH8M9zw==","signatures":[{"sig":"MEYCIQDYluc6xnEXYxPBOgnnE4OoHe4lK9kTymNCJvcvFuLKpQIhAIkFF3xBjIt1nAzCylBPDt0oIIKJJzZp1rw3R8335LTB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpMV9CRA9TVsSAnZWagAAjTcQAJbdH0j841FkfUQAuGQK\ny78CH7lNCEea5WUK96M3W0GkrjlNn+9Knvz0zgecTkeEyIdzZ7jRP8xLO04C\nZxyI1VGxS1gTk9CdIK8VqN5keIXB99Hr+ERn6ec8X2mJejzJF9gnlfvW/UJ7\nZ8H/nL5DRH+UcRs3Qrlr+yrh1Ix71jSFGMLbR3CaHVHA5MDJjk+D5U8B3wbM\n3VvsfP8jRHC5r1eZ9lmGi1mpwyt/bns+LjFB48dAquLbeNmuFHN808cwXmmI\nPaSgT6F5BvEEbElhMXOaS3ipib7g63AaFr6RodZ7l4dVecXjIkx+Gh+Kc9J1\naUKaRuIopcQZE9vvSY4+oZvWXh5VoV4QD21QVcU5lx4BPOw5jOS9zA6w+N5k\ngtYDCFy7yKwjvEu2dMlV48D9543XF5knyfXxDk1WlaoExCDEPWO1IVdPcpAw\nnFEMtEpwYvSCopnjVsvOne2vwi/cdSLgpI97okAqbTCq3TQqUHEa/+q66P0d\njua/98D2pFrEcUHjm1gt+msONMZwCn2/eZM3taiP+zV9c0oXm4RYisZLPoQq\nDt5QaePR1+mn4oQMysyq6SfN3peVhNqLWOss+rvZkNiuQS5GvHS6zotD0zAc\npz78mTiioyclOjcPMwuFWNtbv9zmliV/qUXeJeAnE2gnTsl96duYYYU/FwCg\nX92W\r\n=WjwT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-next.mgt-spfx-react.4010c23","@microsoft/mgt-msal-provider":"2.2.0-next.mgt-spfx-react.4010c23","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.mgt-spfx-react.4010c23_1621411196969_0.17582818935165934","host":"s3://npm-registry-packages"}},"2.2.0-next.mgt-spfx-react.49c1ef2":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.mgt-spfx-react.49c1ef2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.mgt-spfx-react.49c1ef2","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"da1343c854480d7f56bafbbe6f84c67d619f33a0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.mgt-spfx-react.49c1ef2.tgz","fileCount":18,"integrity":"sha512-XSqgrB0a1xoYZN1Y3qZr9Rp01PukVEEUIVC6KODj9ZZodXK/z4EXTDKGdlde6TlFX8QWVHvZyGfoLW6/b9hj4Q==","signatures":[{"sig":"MEQCICQIFA0MEMfvUsBPfc/uwDZPclVNvFhJRKEMMtVP40SkAiBaLF+0EsoLrgRky4wQZ3eVUHmZBJiZY83cwwhUWvi0nQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpMrlCRA9TVsSAnZWagAAZssP/2TT3iig+9L1SfmEo/Ay\nxsGh6vcZAYKwXjrEtTmmdDReF19YRmTatcFn013bRr2gJDbnXk58G71iXQTk\nxePyXkyRZ9HD8ntAF2tA+ypmyIyJR8hGraNqJIBNxK/+5mEN+vUswWp0RpF0\nI3puDTYYcoWjaZZmvEfC5Pf4Zq6Z/exqZ/8CMTgE3yDGWDLxHhs/HFBY403e\n8L4YCx7gCr8azgqLSED2KdHbiHKPHVxZcJIEUeEYTxgupAZWEWmHifyLVkqZ\n1hSp5n6H+AtaNCWVi++Ad+IlVNiHwlEyi/VRWAw/u7L5tX0LGsLFvix9FSWA\nHn2ijtpLkZqox3rlU0XpSNOlQfj1dwbCPjHR02Hsiclqlf1cnHZZnZOT7c95\nFXGwLUPvN0ewsoRZ+Auou3y4dfmBJ96JYFUa6BwMc997g4UVjWs7tZKExfgW\nwj4C5z3B7ad7+axk9ZVXfZ/fvKeXjuy+E4wHd2VJJp7Cphmju2TM2nv5SuIe\negl/E3RrhMgB9pYnPNJu6qRr+akfVYTLMzWzGXzRwXEsMqLt0ENHT6VgLLbj\nKEznO7hjIKuhU2+HpLgOIJ/nvJYYeVSu/8B3Lo3Uj/D6wrQuO15lQJwrwLFN\nEoSIqEHdgJ92ArM4UU+fSu9CnepBcoSlTdPG9Wt879OoCcwAH8UkKJz5UfjU\nmK3P\r\n=XGqf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-next.mgt-spfx-react.49c1ef2","@microsoft/mgt-msal-provider":"2.2.0-next.mgt-spfx-react.49c1ef2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.mgt-spfx-react.49c1ef2_1621412581137_0.4959285219948173","host":"s3://npm-registry-packages"}},"2.2.0-next.mgt-spfx-react.a981fcb":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.mgt-spfx-react.a981fcb","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.mgt-spfx-react.a981fcb","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5ae2e8bd531edefc1c060e5867f882dd54a25aea","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.mgt-spfx-react.a981fcb.tgz","fileCount":18,"integrity":"sha512-PgIImr+lby1UG1bbr9yfaTFAQOLAo+a4ekMUWmHCZql7F1BWItJHwOP20S+SDafdGXOpSmU3v5jAWqU7p0OxMg==","signatures":[{"sig":"MEYCIQCOWmb+tVFTzhHWwHuswQtP85fexDyK8xGCCfmg5eIMdgIhAOycgO1iRgofII/fjmEXEm4sJ+TnnyUSEYYXuy/58XzN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpMzDCRA9TVsSAnZWagAAhpkQAKKkhuP0Nshrqle3FJad\nSTMQ3MJHgemCR9u+dlWP6wHtcFiLZ2TrSst7GOvWFDMZ+XJme4VBJfjU1xqg\n4PHYkBwHKg0N52pkPFZZDWlu93xlZk2Vnidoi8bg5n9crg9a7g+7ds1IZLGw\nzSGSbh66hW44ryJxbQcLacFQE9JTW8XOagxq6cKbqfBkyywOnffJwW5JChEt\np77FLMShR7qqk7hPiT3R6MPr9TTyM0eEFm6gbtZVWU5d/WoI57gG7QmHOxBp\ns5J59I8U8xvAM6ziDiLM64UzjD81Bbese9SUS0N3cVI1Afi/RFVQxF1faAx6\n6JIFjvVrB4/hFtzGjTtOsqmrH3mSBXHR6iS6Ot5B5pNsxHUHMXUO4AWFNHDR\nD57IXaL2isNNYN2ztQWxNXnXeW7n//Z2/AzQAvrK7MHaqOf26N9jCaztzKbh\nQfSTBIrXHCteRRCo1PPKpOHIxkj5oXZXQ44ymYe1qQaqQcj0Ow1CK0G1A6Rf\nLpazlfMN9K5JozyTCWTEIl6srXrV8w0O0Dojs2cRjNxHRWaLIObQmkoojxSB\nVeZSG3+If0Ip/S8JGn+lOLnSP8mPnmBEV0Cp0CZH8gZyEpd93nrRelq1N2AT\ntydkiDZSNxp1mtpBmGPvwn5Stegs8ibSRN4m7FsAYaoMT2tQQXdCk0fpIjbQ\nL8B0\r\n=Lg2R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-next.mgt-spfx-react.a981fcb","@microsoft/mgt-msal-provider":"2.2.0-next.mgt-spfx-react.a981fcb","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.mgt-spfx-react.a981fcb_1621413059154_0.22541124502441057","host":"s3://npm-registry-packages"}},"2.2.0-next.mgt-spfx-react.eed2c5e":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-next.mgt-spfx-react.eed2c5e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-next.mgt-spfx-react.eed2c5e","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e8835ffe3e20d41b6198038cb35d9c2f9e65ee47","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-next.mgt-spfx-react.eed2c5e.tgz","fileCount":18,"integrity":"sha512-msK4A1YEccInz5X5aB3hX2v4RTsZ2D5smVD3axLtlUWjO6dVrAJQMXMbcK+p/kKEAZYs+FPDEV1as3MLojd0ow==","signatures":[{"sig":"MEUCIGSzaC60uy4fh20y+BYpJ6nMllHwd0ouRsMQo7n6d+SEAiEA0xUuGhvh7bJxh8umZSbvqXbjSUbf/By2u09BaLw7u8k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpNLiCRA9TVsSAnZWagAA1b8P/156QkRCZp10MLMvqhcn\nGq3mik3iRKgiHfxdtiKjABk9Ds69Mms9cfvmTXNLf/Dvy2KAFACVHAX8clUT\ncNZfd8xhMLewuoPpDtlRyA8udrFn5Jas2uZHMHSLKYY/h+OU623piSv9cmsR\nHsG+oqqW7+CSD6eNl5tV4ahzpluqtnG4P6QlWps9nwGRGkl9ntJFot1aT4lq\n2o7XS911lH37Lucpo3H3o3ecYjLsNmpXOr/FVgJYBrC2GtFLqRA03JMBA98R\n7V058WuMXDrMhYAm59GgjNpEjDuSUQ2DRgxHsdkssxRSr2tiEZ9yppaPafY9\nXNgOInUGkkNkdCx8nqAF7p6EOXDzp5tVMlX1+XbUzH/pPLbdbtohKjxPAL8o\n5s9R97oMNPzFM5TqQjhE3PEzHKvzK11eYvm3RX9oc1rQ6I1SALliTH3Bw017\nwI1Tm73V3UJ/7g0XAoXoNhxITPoZZ5PSXnmLqqzfaOK5SgeiltKXqcQeOsNi\nZRcMQdpAxelRH3dJk9hoUVW2OaBwlL/U8kXLEqNDIyZ/4Hk7rgRhmoEpc6kJ\nok5BHgb5pcIROZtegsQblnybwKwbD9Qneq59PZaE2mMRXG6tG8mFjiOC7oMt\nqVDPSWkmPJUCYUZhUcdOr2PCMxp1DlSWz5CsjPmKLdrh1VzpIjRlAaVWm+PL\nZuKD\r\n=GS0I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-next.mgt-spfx-react.eed2c5e","@microsoft/mgt-msal-provider":"2.2.0-next.mgt-spfx-react.eed2c5e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-next.mgt-spfx-react.eed2c5e_1621414625851_0.7233133980659965","host":"s3://npm-registry-packages"}},"2.2.0-preview.43b849f":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.43b849f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.43b849f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"047be496bd12d913f412d86b3a6f7efdd7ba9681","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.43b849f.tgz","fileCount":18,"integrity":"sha512-k/IZV8xbwKcVsZ9RHNIN3VeNhCtJJUl0xcWf7AsKz49l4AvtWeEwn9Z1SeZe6pfsrFq+4DwgLnYu+MO+aeTwJg==","signatures":[{"sig":"MEQCIDu9SKt1pZqH04tf+qCCb22b3jvtVXlOYSKD5b0x84kAAiAtHeWg8Wq4PKFJ/6xztwMOwYcC7PLs6GvJ+qtJQ2JCag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpNegCRA9TVsSAnZWagAAq9oQAJQQr4ZoLA66yAK155Si\npbmzX9Rad533OPg7yP5Lusuynz+evEPatyUYkID6Y8y+1UvDuUXr0B+v1S/K\noNm4Z4db0G+6OM0+u8F/Dbi71jy2KKbbLlorahm721SmcqgXx/F1kTjAzY/e\nRFErcg5o9bi8HLQIvmjEF4rYFxwr8W59+4jyirhoYi+HHC9l9GsQ9hCwIgJG\n3CICmFkuEHco4sjnHYAm7gJkVYgz2dJLuklu2nVro/G0xd/hoixLGaEdExk9\neXWmN0qwsW41ANSjnIneQfc78k7GVKhJz8DZ3CFhRcdazJEaR4ySBH07+oiW\nhX3Uc/JzAFelT7BNiNIyOu8NchPR9o2013Sy3yn5IV5qjkCgR7iLVgHBRTwq\n4L4IxpZpLTGdnUwvBdLPka3//MCOeROgWJcoM6N4jTyQE3d/XPZoFTypxAld\nm4KH1/jN9czIqWwvTJfuskstyM/Q8RA3QhsHGcyM9b0GClW6RKuyPTefIzen\njanoisTQMTi6BJBDNOWI3pM3HgvXN7Z6aHLENiWUCU8HvfiYwjfj8m3R/3eu\nFYDC3w407+2F2TB3gYVebVJAbh7W5KYoG5GKvBtBQIXq3tPnw/pKC1wLft6A\n/J9LXysr26G0kUrDmu8WlN55DEnAZlpUgXa0jbMji8H2pTAq8TEoGFBvXUUx\n87qh\r\n=G+tR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.43b849f","@microsoft/mgt-msal-provider":"2.2.0-preview.43b849f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.43b849f_1621415839666_0.2540049061398808","host":"s3://npm-registry-packages"}},"2.2.0-preview.9f6e67b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0-preview.9f6e67b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0-preview.9f6e67b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"eb072f30725a779c3b9767992262a0dccd214848","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0-preview.9f6e67b.tgz","fileCount":18,"integrity":"sha512-DNAD9Ma9FXn71PyHishh1e9ubbwCT8gmOtQfRXrRiOa9XhDN2ZodVCh0+pz1DQXa6oyA3l/WKGm4gbIEDOwjRQ==","signatures":[{"sig":"MEUCIQC7a8jR+oXTskRmJXEJy73vh88QG2jKjFgejrgvCrs67gIgFH588anfsJoSA4PeiLsX9rGfUaYPt5eMHb6H6ZnEVRM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpUrxCRA9TVsSAnZWagAAvjIQAIJbx0QiGlfID/zV8FV+\neCjDPcox3KXiORuOVfUFq+IA3x1/foNOgmWBwqbrL/lNd6DcDEIQjEKOn5at\nz11XGb1bX/UHHcRphRzny1p0hFm1rZJ7MOIlAqs8GLtP2zwptUvwj2F0TT7a\nsZ9Hyy2w4Q841B2M7jLFtqXfVqUjYpu2sD0BxLqn1io8hcGsNWS1LRcLjHoM\nihJ9EADC0xV0e9yPzyVqsH0gphBqPK8bsihjHsfKb51mrMkdP5bP1KW4BX/B\nEof5F6c415STHqgXvJuJc9IQuTVAkLX1ZlxoTtPEuVd5tNd3IyZ4OsYfhGy+\nzN/NFHc15J7s8ue8nq0fz6JZfP6niRjTZkfproi0cDFA6SWa+5jMuK7fSB05\nnqQ/oHqpcLfao79R6s8JIUflzIP03zF1QP2Im9sW23ArZ4dIcDS2nwSuX41z\ns2edo2VAqYkiaDgWxt482QN889uq91A+0KPgTzMfuAk9jVLVIJRFSYZLQYsK\njVX49GL7nbTJo3t7ofaPwwRpGLxxITUg/p7bkBDMhsjlTt3jfp3sHumlgwCE\nCLjdXODKn+xvPZk0i8Feb8Eg6cVzoZ9q3V9yxKkr5UdNj0T2bVFZZ60t8wpY\nmj4p8ixuyuLhD+s0jtHjYRXwdwHYzsPh3MpgeNo7ctwLToJCxWn/gF0xgiXo\nyDrH\r\n=4cTn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0-preview.9f6e67b","@microsoft/mgt-msal-provider":"2.2.0-preview.9f6e67b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0-preview.9f6e67b_1621445361108_0.7057142898855457","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@microsoft/mgt-teams-provider","version":"2.2.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.0","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9d480c5008739f04cbccac6694d7229bb4587e1d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.0.tgz","fileCount":18,"integrity":"sha512-fgHdxgNV7l7aTdz8rmWijhsiJmggNR3VpJgBdls3LPmC1XsOELJF/aOI5W/2K66PNYcKzZoxAZPL+zzY+Gea7A==","signatures":[{"sig":"MEUCIQDSKMctQjee5SSHalS46GbYu8l1LlNo1w9DYp1sVtZBYQIgGM7lnq3j5Qyxu35GtSwVi/myu4i36prqz6aw+craZjQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":717462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpex2CRA9TVsSAnZWagAAqFYQAJLws6jdw8xT+QqEF4B7\noBYYL8r9UShihpK20MTdY+1h8CrCSfNeWtK8hHSA4NowtavIFGINSA/hq5/W\nxfTAxRsVxDh+tjq2ETRrplcH4+D/8hN7fhPjcQs4hJWShascuTjAXjzUzrXa\nYrrTTvc606i9AW/DrJlmrdt6TSV+4UIXRIpjBx+d2dzD8Mz41MVXQGDBUHst\n68OtjEL6kGtaxG1RMm3wg3mohHuHWnN3hUV7Sv5i+Q7NOhTb64DY2zL7+s3S\nxJ1ggaCTqGqZ22tmk23SEYbDsq5NDZbzSxDa8WfHPmEUMJm9fp5LbPuoCt4H\n7neiWKYIthlx0fCJ1HdArqS7k9dLueKPdtS+ow9D3vPJ5w8B8/I1Vd7VPxus\nXEvWdXKkl39cghJpYsgH8NYQLQi8XxjG1TUzXFLw2mWLZ2UvgZVezT+f3M0Q\nHia2lyoWKd0HXKB0VNMjz9AUfpdMZtiPSzStD9XSeqy6o/o0zRWeQsxY7gNm\ng/k5d49knMjEvI5YC3G2999WhD+m4mssB0LT8whjgSEL9HS7+bm8YOfNrAWZ\naM55vK8oU27MzA/+xVIlmRJx0b6n4cQquRA5iHrPk0PP1wOo+GPbRinS+3bR\nRM/CRTgdqQ09k7VjiS+eOuUMxLvJi6K0zHjrHcvdMPaNNZ2mFNN+tbD1sE04\nvVQP\r\n=fz07\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.0","@microsoft/mgt-msal-provider":"2.2.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.0_1621486710459_0.7929083750169821","host":"s3://npm-registry-packages"}},"2.3.0-next.build21.b0a0338":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-next.build21.b0a0338","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-next.build21.b0a0338","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b414b1084fabe1791d6707ff4e9c1b1730b1d615","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-next.build21.b0a0338.tgz","fileCount":18,"integrity":"sha512-FoNFiEpXm7ErAgvkA7XYJHxcoT/T6SKvMnoY6uHd2FXXCUQ+U+JFRGeV5T5iflvi7j2/SVysU68o1KdCjQbsfQ==","signatures":[{"sig":"MEUCIGw0f+n3DeGomAggcprUlgrUJQb9C03kqQY3kvdg3ABVAiEA8krUCAlroy+bzI9blD+o5yfpRVhDxeXtLVz7aJ6DcjU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":717525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpfHQCRA9TVsSAnZWagAA5okQAJ1x7y/R5hdRhpYAgb8e\nNqcrQ0xdifyO8LtIezEyecQnkcxmW/o+e1DrDHx4kedv3dfU8iQPaY4wwaW+\nsVpQLq2TgIAlgz6vNQTumMIGN+WeMgT9Ah3LYbSLCBCkDzqtkZHREkUPqRQd\n+ThiK5Sp9jsOFEwg0134TBWGRtGwlfzCYD6SupiUgfrUBFdHbGkqc/CCO+mr\nzmX6o3DvjlTlx3+3o7R2fX7rlU+JhWqhdONwbhAIx5wPQ2mFDb/tv9+S67OU\nugfLEhFOMN9IDbei9T1p3HjUqOyfxXSRNyv5BTe/FlsSNi+8gu7MrDn3zbge\nC5ZVpce9+afHl/zNtHH4NUjAUMbeesnf/Yvq+9YOBHvsZI2Oo8VZyo4We7di\nkf9SjyKwxf3LuS33IiI++R5jeVAwvpGF3+4nDWBR7zYou1Fop+0xXNzeum88\nWrO5oxfDHV1cDNRtQ5WF+P9o7EjZTJA8Kd8tKkxntH4p9nL/6QXw1DlBvXXT\nRJkbwQpLvTnFJ7clxEvt/b0V601x0wbd7kv4smOROq09KaoqUFYiIw1xwZW1\nOyBUTL9NydKlIgOOe4y9OH6t4qE7pcpfNs73nlWp8Bliglg4kfVdLS4j5R/t\nqgNLB+ilF2w8OVKx9nJ4pXGbud0SdfRy/5qGdGqqxYMHhVcIKMzAcRoai4bn\nqwgF\r\n=2Yhq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-next.build21.b0a0338","@microsoft/mgt-msal-provider":"2.3.0-next.build21.b0a0338","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-next.build21.b0a0338_1621488080211_0.0802345160076452","host":"s3://npm-registry-packages"}},"2.3.0-next.teamsprovider.525dfc2":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-next.teamsprovider.525dfc2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-next.teamsprovider.525dfc2","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"372283198ee9e410f27df2693fb851a355ef70d2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-next.teamsprovider.525dfc2.tgz","fileCount":18,"integrity":"sha512-qbfkSFPsmh/4W33nJX4ct+iIcMU6CUrNMsW+V9GOvTc1vbHMGXXfENGKLFfCfcjCQl/rdt0NmXkB1vFNQaLWkw==","signatures":[{"sig":"MEYCIQDeMMMwM+exYVWAds/wZ/8uB9xHLZUFM4H15ZWWHosK0QIhAMH8eL/74n4S0zfXMwTT6U8IAKSqVex4uBqPL+fMT4D0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":717543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpfIdCRA9TVsSAnZWagAAzDkP/3ZX/eA83NUpbZKybh4X\nB9rTSzJ1z9avkY4tFtbbq5AYGdAaArEdY9Bl5vHSeaJVN+frG5UQh4jJwNJH\nztZN+byac/ZXJkdP6fG+2pBnDb/JXks7nyp5iOjCK/xGr+++43w69EqWg4YX\nkByPVC7adobnkhNNcLkuBZhuW+Ylg0qeFMgLLrE4Sgy/FbsFVY8fzAOR1z8e\njISbcOK5pSZYxUtYN7pf2YeHjvs1Pv9w3j8kpv9NmbgWXLwX9Iq2SB7Adm0l\nWhVHAUogkt6De/SNmRlzjxzVtSFH7VizXrAhKh8NtpwXWKSIjd8rUC92TgQq\nh8W+umtEIAiVJmOmG9m1eIJ676rrrZXRK1/JiEFYWCdPbPRdN48qc/hK4rgp\ntBq7ULKSPYZA3RNYcuspWK+5e8YHFtBWkZIRoCI6vU0fQKBpoxz+1OHr0AEZ\nphDR6R4zq1F+ZyJVlLpZu3pt6M9uS6d1dnmZmY7PJP0jc1HkZNnfoPolaAXJ\ngcdObeWg4y5jMbX1r8hQyKWPeBAr9IItQq/H7Ji6a5dXJZyQdZN1s/dAlTHP\nXdK48Ea/S+fOGztM11o+5AodFeEZFwXMUUjJsQ1RLKWkeXzXpAJenA+1dY/a\n+i8PcYX7PuyyHnEdowsS7aI6luqdiuseqvh68dzHPhwUWXpLgeMmtNH4FP3D\nCRKX\r\n=4osQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-next.teamsprovider.525dfc2","@microsoft/mgt-msal-provider":"2.3.0-next.teamsprovider.525dfc2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-next.teamsprovider.525dfc2_1621488157384_0.5857907453434712","host":"s3://npm-registry-packages"}},"2.3.0-next.multi-accounts.f43055d":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-next.multi-accounts.f43055d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-next.multi-accounts.f43055d","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"77b8c6d20ab92dad1526127c05c1ca5bc7b32158","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-next.multi-accounts.f43055d.tgz","fileCount":18,"integrity":"sha512-zpG8bbQGIaRlCOveNrOSQxuV/bu5tDkwg6vhG8/QoEPN0F+gZ76oN934osJkud9/uIkNWpfbrOS987HZoEpB8w==","signatures":[{"sig":"MEUCIQCQ/LG310QYQyF10GnCXkVW/FQSVi2TVXSem7zeAqtEtAIgRnPEbDQhyP3U8566BPvwW3Dho2BKwFmq32UbcpPHDzk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":717546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpfI1CRA9TVsSAnZWagAAiBYP/jkBGF7TypfMyTKswbFj\n5uF958KyDSIQeM0GH2yJoFTgHj4NXrKvGs+l4moLV86WlBSFUnvtzlzyqfHr\nm84Zn6oK3JlDASNiEDgVs9u9/LAaD4C4IMvlq42N0K703iZ6HApKFExsfojL\nRfhvtVJoagb3Xo4fctZo+colN2vpHvsKeT2rr5+1ux7QdPrNj7NA77V/9jjw\ntpZnKlnd8dknjTCmUjo9P2TOB4w55qqjZvtQBOsO9HKKfx1z46zJVmxi5gh+\nzsMoEKnUZlwnStKY6aTLPlvqiiEtUQdcHkde0HpgUs1dHs9TVWosicrAWynY\n75m7uOoUMp6vELRGTd4FtLKPCLf2t6tTFVTX6Z8EiDEhShjaT332WmcQaokz\nv0XWaylKoTpt83uKhDDGorSBXUyOCEMmU68H64HMjGDzDbJ8KOfXgVh4c8ZR\nkSl8by8i9vgQY4SgfM327MBwQfYfyyy1NpsmkiSQmJxbHYIYSlxx9WKqgEVa\n1ucXiEGktyqjuQ6NuBsenWJWnEb2LMfJJJ23e6AutUZnX67rlvpmH8c4v4je\n9BhCKSZI6IOQYp0eqLB699UxSLb5M3N0fRCBXK3IANFhVZw4N39ASy2GLkoC\nmCSiAYU/NPdstG4tNl68AJ0aKJuyneOuSMtyJe+7ai+ZD+PK3XMtSfy3kMuL\nQ67E\r\n=iFMT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-next.multi-accounts.f43055d","@microsoft/mgt-msal-provider":"2.3.0-next.multi-accounts.f43055d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-next.multi-accounts.f43055d_1621488180780_0.6930676865206153","host":"s3://npm-registry-packages"}},"2.3.0-preview.537508d":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.537508d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.537508d","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"628957c9fc7809d51a45fef804cd00f9ecc6bfbd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.537508d.tgz","fileCount":18,"integrity":"sha512-JClNN0SLQ7769+3r5z+8EE3IiDDwpnanUNRq1q5wZQ+ami3JYcsdmHHuo+mrzptrNoLXhLWycCM9+87yG+OyoA==","signatures":[{"sig":"MEYCIQCzG5zYFD7JbjbB2DzeuQd54l15g3JnRfg5tQrBXdTQQgIhALfNXppuCefTar09mVNrua4GjYC8J7+2h1cUGH7d3iKa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":717510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgppDCCRA9TVsSAnZWagAAux8QAIkrbBTBUTWYzyefNAOk\nJr+2eo9DqnK91AhebrmqZAIBaTP0//BXJNkIveXBaVvXrYx/V+IlaQMH1pin\nry81sMauLYMHFMmT3p4vEiD1DywoFsPRTRj26tG6xvxu9FZP6fvvKV74xgtK\nUvyoMy0pok7IDMz4AUbTn4lw5MXJqbsqGef+BSV3bTOJLA7fsF3r09JLCo2s\n3PSm2ypPU1mB32PNqkY5GyWQuUMKYgeE/gn3Cql6ZX3dnA6GVFxJoz2D/TtO\nDOopNi2E4BtR0orFHbxpVuOlmW64Sgz1fo25XFLamlANaL4hDB9YyP0c+qxy\nJCaGzdwXWko2Ya8nJa7txUM/m+4rA6mQcBrEc0NxP89o1j5/kHl9iDG5AIiT\nNudPma2SRepKPFzbxuwMUYiwFSRVpYPd9zL1qPCekKfsBRfUXenpdaex0bBs\n7wYdNdDqGYHKN8ZAjzBf7nBA4tfzAyOEahR3TZR614KsYJxid/S14+fn0fMI\nD9EJw/eMlFtulmGIFx2sg7EEp1xYvrZV1FjZFFo121WD4pkKzaM3L5sCbFrh\narCVm/+avxMXTi2O9yhaOpoYBTE4Azc3sG5uLn/tLzby33GrnKSZVa/0lvEj\ncqpiFJDFr6cB77sy25QQ2ETXomAdzMfeU44pGImxSRG3z6MJrubGvQXCofX/\nt/eU\r\n=cX1J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.537508d","@microsoft/mgt-msal-provider":"2.3.0-preview.537508d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.537508d_1621528770157_0.7441218915934336","host":"s3://npm-registry-packages"}},"2.3.0-preview.12a6937":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.12a6937","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.12a6937","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5e8cd4c6e030a59bf6afa39f71a02e8c4eb6b042","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.12a6937.tgz","fileCount":18,"integrity":"sha512-XqWe7bAhCV2QEj4VY+/AQqBr6ZyTKNYtqdGHDFORKCbDcR6qAERGUHii2Hd55iCTrtEzr5x94VTKgPit0x4Eqw==","signatures":[{"sig":"MEYCIQCt3QLWQKGUVI4s7pxqAVDGnZz1GB56pC5c5JzovKHBDgIhAJTXvX77X2layudmUvu8ntAVZptWbqLdZlGmN2VyeBLt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":717510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgppQDCRA9TVsSAnZWagAAYqUQAIbf6KpDcSAK5VSr8u0P\n6LjuuadNoT3dAgH7oXQNQwQ50pdG1r+ff1EcLWJo0hDSUHPoUVOA9YMhTQTD\nibltESETE2jUZ1aGkOxziW71pVHRrh5qG8r3mF5lkQRxhmmaVLAlttkArOJL\n2pprMh79+L0pFpQow5329YWZJuF0qS9zTdoto1hdr+zDgE09xwm/AFkttqiw\nfnVZjaUhtT4A8ZysKplmPMqUjtkbLDW2amus2tkD2vfSsf/yy/wmINmRV4x5\nkIu71+f6jCqeG5jM5VrYYOnKB92v0vdoFQFKxhN7VHQ8kWytPOy4dFsIdzj5\ncdNmLCIQhVsy+aF4Fh6xcT8oYeVMA1wYPqq9TqNeZtZHLdA5s3VkDi/s2hvv\nPmyft/TpF3wySzF2gwbh8+YG+bB7OJ1AjuEHnYZrezM1wFtGd9RfMy4OgdkU\nTuvWURGp5ua62XEUoPra7hM14QnNXiTD1ANLay0xoPgtbM5YQCXz/CE0QaaW\ntYtvr+Kvapfy1tHtxNSdjO33CB0Sh8Cb7Mf2RP1R97rN3OQvrGZ1OvnaphLs\ntVuHYsOIVIDdK13A//1L5iI38rrLoJ5kZP/Tq80SXwDW0yMZCaJWAf2ZDIZC\npicXdYfKxD1gRzkEmQgxHgYQaA+jqR8SJ5tC6rhRmTKNqoK5zGJOYBnJIb9B\nsVtD\r\n=BrNZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.12a6937","@microsoft/mgt-msal-provider":"2.3.0-preview.12a6937","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.12a6937_1621529602696_0.06592781584927598","host":"s3://npm-registry-packages"}},"2.3.0-preview.ef38de5":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.ef38de5","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.ef38de5","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"93167ad7234c325c4fedca5a9fe8ca26f60ec6f4","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.ef38de5.tgz","fileCount":18,"integrity":"sha512-NhQLShKFoQJPfQjCAtmlPTLEeL5qNmyCXxCDGAH7m8y8VNJ4YmvHqwxuyFDCifczRVB9C9E3HdMF57ufDeQnxA==","signatures":[{"sig":"MEUCID3YEOwYkfvtGX1McyUXTbW4UUmENE9vtzBc5OHUnPdkAiEAlA8lGfcLn7epVTMAuI0oclip6vBQY57PyyRSGy/RNqw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp9r2CRA9TVsSAnZWagAAG0YP/1T0jnv8fy4eixvkLKXQ\n+TtDqqi278i7NgHyhxscweRD9f/JDt+FSR6n223KXddgDeTV8wV9y2RNP6mU\n4E6HUt8W/fmwN1srOO/m2/V3x1QNNn74sLav3RGPxKea5Li5UG8e1hMxfrBh\ngC1tNcoNsIfHd5yRDnkfI1bL5YUAM2MBjoy3o7wyEysvnFeVDpEt08TTrPAZ\nz6mDkXGvDlfAlKlX7gA86IOUgWInPdR7LnW92iKf4KeyORYtn4obp0vkXag2\nuM6qyndQXT4p13CYYdYURKp0r5NalJ7vdvGfGkWVHXL3sCD+j7gOAmE6pZPU\nVdPBEyt+LRDHNimzj0b9wpCZZli5AUirR+X4uUHzKt8D6nb1ljF40kP3qsIH\nkh1DYsFa0Zr0bWYV3+uzts2xIzorm7lj+2XlVDFb1/C0ExOEDBrcjXJ5CcBk\nHfF42vNAuyE7EwLZVcsxYCbhnNNlAdNQGMkQFkx3k9I23Z++1pE9vBuxcd1W\nUOADSt2cWJKaDRWcK4WwgYsCT1Q+wVZTywn9mcV6udQHYevywvfeX7LoCbre\nKmECyrm7bufe3YTOeF+c+fZkLdRwmL9HAfNP/fZ/pM+0AECA+P+hr3PaEOSq\nJGIAtQgTphNl9pbp4EwWOf3ZuT1ShQDOpXZkt0jUcSVxdPM7NNtrHzpXx1k3\nQObo\r\n=yi3+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.ef38de5","@microsoft/mgt-msal-provider":"2.3.0-preview.ef38de5","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.ef38de5_1621613301566_0.13369519461917734","host":"s3://npm-registry-packages"}},"2.3.0-preview.7d92278":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.7d92278","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.7d92278","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f85298c1f52a1b3fde2379847826d2f1f233b7da","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.7d92278.tgz","fileCount":18,"integrity":"sha512-2m0oxkvXw4EBsz6UK3IEZjn8tAEoMa4OgNDk8Ab778sug09U6rsXSMCCvf38cVAycvl5VmuGU1qMswIV6S9exw==","signatures":[{"sig":"MEYCIQD3gNPwsJRyHs4QDzbVq1vDPUaV6O8zz0MPx/BmVHU+aQIhAIrUtfPv9jTm4VP+yxESjQQ7kv1FP19biupv13XfQYN9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsVdzCRA9TVsSAnZWagAAyAQP/3WxnVytK4fNoKePZ/RL\nWN7j3GJ945rbbnIQ7Oj7HTlGFmBgMAgtMr96GlXVkrsk31ONSxydm9+H5Frm\njK2jQVykHAQ+/MMBbkkD4ZMk7dGNvdiOOBnXyygzIb0H4l3F6QXR8H1pSFR8\nTeMh5lTcqC51ag316Zsno5JwH4xTlYUcqEcpWgharCiNh0BC+9N5AgE0437n\nXuDa6TYAV/uzLMRCsgLt7srubWrWjLpILd7UocoarAA1yGwjxplIyu+a0Jcy\n+ot8VLIz5De9E8wcihYOacb4Wj7SYIInctLmLi8azMLeiPAxa7kp2MYTylAm\nQ59fhfEbGjlTUr3zv8EDhNkMQ1OiIEjt2TyRGlBu8K/cdzZBuLrmlvQ6kNea\nz5B49crn20hure/eMW/E/3+m87Bul7WKp/5EpzBLXJzFCNQxtVu2n74kJ6/z\nrdmMsJgNEhzTCss7q8fsl6VpeBCllYKHgxahlXLs/9WHcVshBGCt58f/ntoY\nJI/GCI8aj39XfR3QzyTxrSDQUD5RDXcAticiVXfK3oeuTtZbVZn0TNwY0NlP\nu0PsfjIHnXxGqRrIn/aSTt8gV8t8vLbkyOExNQYPYOdAE6W6X32Krcy5Y0jv\n7pl6BhUwE++fg+EjpNxUivmdE1XG5mMdUnsUEva1Vh9KpPeWqzKA4XZOeV7t\nlMKc\r\n=vJPm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.7d92278","@microsoft/mgt-msal-provider":"2.3.0-preview.7d92278","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.7d92278_1622234995019_0.579347892810365","host":"s3://npm-registry-packages"}},"2.3.0-preview.0bef136":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.0bef136","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.0bef136","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1296be91c5cee07110ea941f369ceb19d2b5026f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.0bef136.tgz","fileCount":18,"integrity":"sha512-imRMogHRyu9JjSXK19N48FQg9uLmsG7DYx41JCSbkg54TmIiuETnSk3g5C8Q1jr/PZU/yq1qsS7ojtQN+a+trg==","signatures":[{"sig":"MEYCIQCYGGhrJfxAeP4uw7k9TdVvKM8yTKDvf536CNsLrNGz7wIhAN7pFI9ZgZqIfU/VrOLP+pyp3a3yiU5FEFq8Evp6OKEZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtmuUCRA9TVsSAnZWagAAg+MP+QECKWNrZrYKUmr+bzlV\n7xCHGPXc9Tos1eUtz+jlcMwaTVBNh9VYiXEehHJ1/GFTAtYCLoyoS4Xzy5AG\nY4HA9M+CQQ4w8G8eh7uJfEnDgguwYB8GLX2q+uiwLW3lKEeIyk4DQdhA+F2j\nlxUXN/bDgsGxKZWM36ZsvCMDsLBzcZQPOL3JV2Td2Zk5HX++bVkLPwX3rE+b\nEuOE8HzYirWomdLhNavaZpfrAFE1bptzcQXOoT/U6LtYwgV1d5vxwPN2s1Kj\nQIVbSGYRby6msSDjru5gGbOp3fLUpA5eO4DFHULg/mHh5ngUEsgEckSUSS/t\noKjZ0nouKtT5LuPAxxXbiL+X8vwVrxxqXNDceN3jbfCUzvlHI809D2H1OHGi\nQc70HqgFTGr/NahU5Rta7h0KBIkvnljI3yZ48s4pob4kIGFDZLBMfsmVB04g\nM0dN7zOb+/FWFw+YCp8Yj4kyv0BSZBIOifq97cl06x2Llqw617PrTI494zmk\nV7iO7yL14dlG9pywGRFSTKMoZJqFuQUj8SEmwuunafU61fqOW1TCyv4jdL4F\ncSTjElHlWOTyHiH7kmoyWEBIh5WPkpG7FHA8ozYbcSBjET10DtN/iw1SJ1r0\n5YrPzrVBzSX1C96RfrVFyhWTjWeR+hQYZzFHTjk6+LIW/AYeg/ZWjYEAFMB5\nXpfO\r\n=snC/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.0bef136","@microsoft/mgt-msal-provider":"2.3.0-preview.0bef136","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.0bef136_1622567827983_0.27462408189616605","host":"s3://npm-registry-packages"}},"2.3.0-preview.87be56d":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.87be56d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.87be56d","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3107464adbf5656e2882207a7a8e4acc0cba12fa","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.87be56d.tgz","fileCount":18,"integrity":"sha512-sNrCUaBhgux2VcLrUVrJ1h7GUyxpgJvJkui935CqnYHUjayDO/JbVAmCXJ//xWlHDciVy5Ui5jPt1SkOLjQDDQ==","signatures":[{"sig":"MEQCIBG9gafhqmetpqr9tC//YNuYAVgxax6/yg438zShLlSUAiB1ag1Vhs9Eo0SJUN6E8JCmRiRrT0A6M3aqz2rpOKdMZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtqdiCRA9TVsSAnZWagAAyHkP/0SVN5j07XJ2Q5TWiXxf\nhC0A54dR4KEkl45+DWVR4OH01mUDehHPJO+w+3F4E2QHX4FzTSFwmvJzzp+W\ndHX/e3kqpeLlO8tjiNn5ShGGVNpLN5NCQfeBi1lzUZ5Ob4MTttHH/f5K+pMO\nXSGaKkf27cIno7F/bPKmLuAiYZSQ0wObj2/jJp3XJO70JQ4oA8nvrylrxEcm\nOgO9i9B37UqB5LPhSIbH5FCrCn3SNcfxIQnkO610tU9K9NJBJ/LWepBRKbdv\ntoSIeR5R1lVReRcypXy62GR5M8E5IJpkqa5le4yXa2pjN8X7DHSAYFPoPYMT\nkGvwK+YCKMwOHO1+ZQmIirtbiqZDiyf4aF1WEEQZE7/aFn3KHvt3ff+wAqq2\n+C/ywKXy3715OQgfpCSHg4LlKYhKCjP+TklP9u4LkDXaqt4vgLcp7c8ORe30\nJpHCCrsNq6XGLBEx8fU3UFTPwtId0kdKInyrqpjdNz3XTidbR6IiypJ/RP9Y\nGCXOSFPTreArZmZG5jwGEOu2uXDwRc9I59e0rBmaA+M85r5CK77jQAn/3/Iz\nwTedux1/gUBGFuQamyVI/xnjklr6MxyCBXHn8SZ3Gzr07h2aYFBUqGjcPvGd\nGx/XTA6fT6W/Dmz+tO9m7tO1caJfXhIjUnw7AgWGXgeffLe1aBF+QnFM0JuN\nrhjO\r\n=SyyX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.87be56d","@microsoft/mgt-msal-provider":"2.3.0-preview.87be56d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.87be56d_1622583137575_0.03458251512170363","host":"s3://npm-registry-packages"}},"2.3.0-preview.0f0dd86":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.0f0dd86","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.0f0dd86","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"46b5da57b4e2f4a82f06d2004cde8fecfca66e7a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.0f0dd86.tgz","fileCount":18,"integrity":"sha512-IvdBg44q8oKB4/XES3L43X+hD1knqNyn0LOpuSiDHk/ULO2bZIBWouQ9uSZBznDkjxg1GJyAPzy1WiDNnyz4pg==","signatures":[{"sig":"MEYCIQD0yBRLfKbluarozCYy+HfLLLf7zwLzgJeyX934pCC+UQIhAJQyupjB64sZX0fOpzIKpXbpnGPe/Zxd9jx85sJr8UN7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgv50+CRA9TVsSAnZWagAAGz0P/RSMhjAjhQfOqDJfjWG7\n4VATXZ/j0Tyhzz2VTHnIi2I6kJF+rAGaLRLuW4xcrw/yS6HA83tP+asmjbu2\nqmGcl1cUdTjGHHjmlkrPaTHsWa1Q+XNZGCxmlg2cEOdJY8GjpmmOplQ+KLxZ\no+6R8roQy1MQmwXUftIaolrFQs1QfKkXIeOmJfkZaMvJMO5P9iTS/GHipew2\nbugKkDMRjBKdyGOo9ixlHxinLxD50CAsjSgOdkh854clRJ4lc71SyKwfv+33\n6TFHaCWM60TPab++C43qN/6V0Ororryp6LP2sxqmBzNLDPI3XB0+7kk+Iabl\nqHwGoqTpZsAsEOzZFmePWvTHt/uxyv+8qWpa4fkheIkK+OJPAXsuBIw02cWM\n+vQv5tO0vfpT6+1mLuazPVYJ/JeCNoE4z4Lf7/shSQT22qbNtEusUX9o4Nnh\nVkdbxcqZIGKtHCF5RMrut9RKM9a2BVULHnBjmMM541dJ5RlZWmudWF1FMYVh\n+UTgeuER7vBvgl/Ovq983i0GYNoZXs9k0SvG1P/FYwUqt8cGiBvPE7D3tBXK\nwFE+wD0SMaptMJ1zBO4kcM8vBgJOcNRKdf4KfRGNNffsjQqEpwSURnUiKWIb\nITXtc976eZjv6J7yI/L+e7T4YeJCbldTADmJgT1Q0I6o9ldlbLGolYk3/HE5\nPszL\r\n=20y/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.0f0dd86","@microsoft/mgt-msal-provider":"2.3.0-preview.0f0dd86","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.0f0dd86_1623170366214_0.9530716322600976","host":"s3://npm-registry-packages"}},"2.3.0-preview.5b5332e":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.5b5332e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.5b5332e","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d01c2db68f6d082842d10a063fff4862521ce2a1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.5b5332e.tgz","fileCount":18,"integrity":"sha512-uj/AwG46CeUJGRq30pZ50aZajYfToQwqYVq3/RDuzZ890uCPOgtQB8NYqXqEOG/62zM9lieSA73FLWjkmAkD8A==","signatures":[{"sig":"MEUCIQDTzP9ZZh77umh0v/iKnWXW1usnrNJrvVU+Hcv3I9Ja2gIgYbpDDv684+KmphLxJ5PX1mSMObd1O8CiyI/7sCW6sxw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwPUVCRA9TVsSAnZWagAAS5gP/1uJ0nykmSmK2haq6cdv\nXJgkdL86qbWrYEvOjsibJFMVF1iuJX/NCokd0nyKgK0TYcCeaF19M44ce74P\nQD32Eo9BVTQ9XZSoHV4l97UjYQCN/FHHEzNT16L0B9y84CPvdTP8tbNsStkk\n/HR0BHgpWQhlqKa9GbOl30qPf69fglTMHQ0JmP72Yi64tTojbqIy6/kUQqfV\nNvgPnTUTlayFoJ1UbtUkg03QZMqjnuMqerfo2f+GWkxUGk6DJ41IO+n2xVMJ\n/L7vHM38a6/ovTHM5jsvQP9hJK4/B7kgkTmvj+cFtGf4zh+6h/965A3p5nyd\nBmyLdGa9Dz/Wn3wtLf6DbpOSi9cSROzpz3KknuIENjgmwi0HFMUacnKSiXH2\n8YoZcT8V7L7/VadGqYVtCA2jfSuHQjwFS6xE8P0oePyGgLUyUPkob1F1hiaQ\n2fW34g09vEyeEvq4bTKacgX2rqf1CyhWWUgDY3/7CniKh3qPJJiWU8QkhJJ+\npaiZn2Ursfj5DvvGJQQFZv5N7X8LxY85pUut8mRCF8gz1X0xjzEGCWWWcRB7\n43HrQH1/XzuHrSdrqC3I/CYWkTDSQQSZ2LZeslPqviSiwBl3SEFGg0rRN6Zq\n6nhcvjT9VeE1JqI20vH6dZbm9xrIXQAzNMcNy6cN/j9ExJHDbpDcI9r6O9mW\nKWin\r\n=7I+L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.5b5332e","@microsoft/mgt-msal-provider":"2.3.0-preview.5b5332e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.5b5332e_1623258389805_0.9624192791448252","host":"s3://npm-registry-packages"}},"2.3.0-preview.6cd510e":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.6cd510e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.6cd510e","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5a9cbae55cf271249dc206e118a0f9c2596eb33a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.6cd510e.tgz","fileCount":18,"integrity":"sha512-Bz3TIy8usYliaft3kJpqkt8FAJLvriPTWzvxBnfLNNlMHhe9djxPPJ0lAEJYqKWMl5IBWh8zat16lw6rZPa7+g==","signatures":[{"sig":"MEQCIHwYmGcrvkMIxOuhFQYpNiRjB0jtK/BGm5O78v30ffULAiBDtOgEnMZaTUWQfVyG2v7+ON2Md4/qSZfwjE4mfb74LQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwkDOCRA9TVsSAnZWagAAhFUP/3PEn82QcHjDfzqRUjTV\nOfLPxwmzLNAg7HAfzWkCWE2DS61eubDLh12XjMyDVxzWb9p0/UfZJMeoECQr\npyRkLl6bGAaP9dOktRz99sgI+87PTZltW4fkS4ykhhMe5dtV08RbJgBshSd6\nCFukBU99GFNIq/WtBK75hXzv2Lsfjzd+SavlygFwzIkwi7xH5mxcCPTjmr/d\npq0fXTk71ickukq8ZPJOaUIpm8O2XG5FXiZ6jxVeIbvwBT79XgzDKSEiAWRV\nRqWuobtwq56lNZPa+c1oGH7zGHUzBYB9yXfsId21NfqPih2/xGpdOzw3B1AM\nNENhGHgrhwtonpdz+v2XS587vUs3f5CBBY6a0tGoNZQkqn13G2AIO+grhY8w\nR7KG4o3UjqrRrCy25j6wlIIDxJPw7Wa2npIK0zcqew2HOZGxVW2nyDGRDGWx\nq1z0jUqryk611UrBjb9+t30MM2GiJEEEhDzPhawHVwxYJ7e+nYBnjMMvhK0/\n/1+dEx7kkBGCKU1ZB/q1OwJEf0AJ9h4RcLKsMY2y+TZZ6IpUs2EiPP+V+znE\nwQFJMHdK9i4n8gOuvyWIw5wGVmi0guDeRKco8/wW6CRnfJR5yXdhR/64oEB2\ntWL3fvvee7eCV5yh4bUIuIignDtRps8rPBFfq20QNc+S1bikdTMII7x6/YlN\njxEX\r\n=m9uk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.6cd510e","@microsoft/mgt-msal-provider":"2.3.0-preview.6cd510e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.6cd510e_1623343309977_0.09315558460170847","host":"s3://npm-registry-packages"}},"2.3.0-preview.6ed8919":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.6ed8919","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.6ed8919","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"aad28fa4fa95228c22aa6f40a106602e9b7bb5bb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.6ed8919.tgz","fileCount":18,"integrity":"sha512-sikNXo6xfAMjUpph1L+52Yq326g8hdG3MAoGNCICZ5qr3RuFQJ5KWjLAEpuRIFb1zcJUa4+Q5W774iQ2JTyWCA==","signatures":[{"sig":"MEYCIQCusgTD7QMB7/byg67LUfCp+mFB+70p/tHS3TpX14rZ/wIhAI4DtcGcaDTSnIAT9MZ8805YyReab/h3urXFDK+gSr/t","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyNcQCRA9TVsSAnZWagAAfmEP/Rb8LxAsznNHGGIHMN+a\n0a7q1aDTjzOGRniwCauZmIDfmi0HBdFy0VdAWSvSzpoYmLLb9lXRg2tXpFq6\nuinrK2LHX3kLUsczabD9PKbQTGFtY7Gik5ptWYZQAm2Sws8VUBJflh809Juu\ntCQ53EusEDbq5EtBbvw9QqUqf/NWZruglUk/tMCpCiCZ60bRsenv3aT474ln\nDMXpeoZLDFNeUaGe73D0ATpU9HSPBuGaZNp3uFG7OYFPmzvsblZQv7Ksreml\n/eeD6gdS7HddRETF/hWJru/pp8zwaEF5llCc2vxYWGapeBzpvkeDlYeENIZ0\nvtj6gPJ2ajKxLa35xv81F2Hj4ifYW1fEcHeQq7N/LT7XIL4hvI/z92Qh7B3Z\nqZhA430J+wgnFROdSMf8LKqOyhSV/Slis6H4Vg0z5M3xO9ufC3HmUFaKwUWT\nxXNE/k6xkd4TiY0/malo9PNQ2ykN/Qes59wDEQMjd007I9B3e6xZsSLfkE0i\n/jhqMRS+AorVVfwGTZgWKhZLI419ds9Dxk4Buf5VIOHVX6jra96us0c6hfrW\nUxZICRwWD/lRPdrXWONF1N+sFVKVS0nSEnNChmWM7SdBTAYh1KV7Blr0QMhF\nnM1cXR4iafUx/Z/5DlHEzKTs3RL8SE24eDP6jozmr8qe3WqZVHJSZrfy0lOD\nxxHa\r\n=tLd3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.6ed8919","@microsoft/mgt-msal-provider":"2.3.0-preview.6ed8919","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.6ed8919_1623774992052_0.2379611730089175","host":"s3://npm-registry-packages"}},"2.3.0-preview.66a5bbb":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.66a5bbb","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.66a5bbb","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"57e5b7bbdfcabe26b72e904cc76df364aac0408e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.66a5bbb.tgz","fileCount":18,"integrity":"sha512-wkdJYZ+3Wb7jNpqMCA49NVxmuayAoXFg3cT3Lvmwp8XAsNzWEOOl0Osuye9I7vfwmB/x8F+zk7qGMfZFWj0baQ==","signatures":[{"sig":"MEUCIBPB+MrU8w9kETSIRjaY66PTHu9+GirwA/6rOoplt4BuAiEA+O+x6wlRKH2T9tF0bkMU2TFe8Kj7Ufgj7TRMvokYfKY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgy50sCRA9TVsSAnZWagAAnz8P/3F5+rTeK7m2dY/CZZJ8\nL2sbLMFu+se3htKoEhnlltLyEtB1xjVo1WeP6tewcV/A+g/GLWScAbxt+6RH\nT/IrHOS3pevMWbyqXisfeNPyxSHy1a2fCuMfNUzwiMiCNLNDMN1UqquhRXoq\nmTUrCezIOGmZgDvJJ4roZAxD15JJmbp9/LQYlsPk6q/2kdIwWbBiYK5g5FGg\noGkN05TMlzv3tD42bGOp0Xe1n9ytxPJvbq6hEZTm9pJMbj/BxujDV1ufoQaG\npLlq8QaXw6BkhtPaFOAWyWmG1Upx9kKfuHtTOyuOsxHXQnzCcUcg0X2d5a3Y\nHaKLqbZYQtTkjce0/xCj47fcKquN2LnuDfidH4PzMLHTwLdqffgNTEOosIhh\nSB//3jhxRpuijGj/f1FIVNo0vU22ohNIhudKRE6+ilB88YuLQ1XIk/cIkHMN\nhBCe59R25Ih/pINjzPeXAK5swxJ2FD3t4gVxWx5pAjfPksW0Xu4jLtmFZbEC\nq+f9CEpAH/aK9g0QkfyV5twPAfEL3Jc46FmnYvhYBZh3aGmNIwBhKJ2xasq+\nwcFmeXMaT1gUdch7gtMZtobdAPFKruUirFFkBdhcoGqBPFlXl7vW6tyENeWU\nLihrhJM3d8WJ4zpAbTyHeek5LI0smsstbEqnd1wNSKpJRocvKYbRnlvsLsa5\nOmQB\r\n=NUSk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.66a5bbb","@microsoft/mgt-msal-provider":"2.3.0-preview.66a5bbb","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.66a5bbb_1623956779892_0.12368097391760213","host":"s3://npm-registry-packages"}},"2.3.0-next.teamsprovider.b00c20b":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-next.teamsprovider.b00c20b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-next.teamsprovider.b00c20b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c996cd1532cad34141dc1537a94bde3b20bcfc17","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-next.teamsprovider.b00c20b.tgz","fileCount":18,"integrity":"sha512-wxQ6D/79IU68+5B67pI1GSlys+s4G++NWeg7YlgLdJu7DrO2Du+SYAr9YIK5bc62UYzNX40Hx0W94IrIxaCp6A==","signatures":[{"sig":"MEQCIEPDWD/qUhD2pxjaBYnE8ko5KsZ5bMvSRxkAvI+Wmfv7AiAaO/3yMTWeCkXq6khmN7SEuqNKDeEO1HhBczg26pZCaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgy+M5CRA9TVsSAnZWagAAkQUP/jiX+dq1XZb+tL9Eelj/\n+nFbUSQjUtxBXpjP6nD9ZtVHZzgEHg5T/X78gWJ2W1ovHepa43m5nZj6srUt\n6Ti/C9XydKgNnauNabLXpTErt0KVMqt4ni3IzU1WrxigP/U9ovJi2jnDpnea\nkQ5xwTaF3OvLWoW1G3E6Y8Arofyep89oWWR5ehigPq03pRG3PL8cV+iy5xRb\no+RTotfVGIxxFezGfxQW3Wiu87gxE33C4ieD+cj4r9gOcvuW5a8Tz9SMxNnI\nQAW3iP7n13E6ZOdpEQboi4xY/147K99GwT5n6H+KjBwa67q8imWrglp34zsU\n+L9hesIyySbpIHXrfFJakh/gdK1F7NN7jrj74JI9ZZ5gmwnJI674DdeICiAC\n2OsQLX79sK28TX5YIWGEfr7Wu3+oiXfkE8QD95WT0LIh88UeyDWnyLcY2XDe\nyNJCPc8cwoDZxlF65h8qz4bWyG0+qX33r5z4OgoLfDV/SaBGSwWc+nPaiDAJ\n1Mec0SdgnkXcPNIOSm0w5qPzqQEEdqHkG1www37eAEA0uy2fvfAQZfqAHd43\nZKNfy65lX9xv/TR55K9FQDQqxVwwSXZYqIHRtATUaGM8ZOFx6vIVUt4ViYot\nGKKGgVOW/kyg3L1wpaVLKd1obmEoKrarN7hxCC4Uhu+pUfq9PvsMkPANRuU+\nwG0h\r\n=T3FE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-next.teamsprovider.b00c20b","@microsoft/mgt-msal-provider":"2.3.0-next.teamsprovider.b00c20b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-next.teamsprovider.b00c20b_1623974713035_0.48565642139210374","host":"s3://npm-registry-packages"}},"2.3.0-next.teamsprovider.6ffd83f":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-next.teamsprovider.6ffd83f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-next.teamsprovider.6ffd83f","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8b4f54587520e7d5c6ffd3234b54c5dec1fd7855","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-next.teamsprovider.6ffd83f.tgz","fileCount":18,"integrity":"sha512-Bn8WphtvUfybONnNnwLPoFQcUfhlhm+4qqlxp8zIr4kNRrK5lBAmGT3RJvd6YbJd3B0ZKYln466ILnvn/0srmQ==","signatures":[{"sig":"MEQCIARmk2Er9i3pij9wmRBuJEKuOua8Qq/LrrUi2u4C6OQAAiBPwXqX1dB01upZxnYN4AuNzeqYWtiWaDTARiYpPwH73w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzCkQCRA9TVsSAnZWagAA6noP/2tZYQZIE60jO5YkF4N4\nkNiczzoIa2uA1+P9jJS/dmVLXmLcKxZkuCDHz6dM0cSNGuxXZGoh+zAFCgVH\nUIqQ9YkeuDrfEqB7WqdxjtO9YwkDa3gErhdrjxXOocvv1/gQ+COh1r4LTTIF\ne9zLlFJwgsTzE1ArTuIITuY1bPjL0K2SjXU2kx8qChQRiu2VNa8Gn56OC39+\njBfU9eMdqJiuOCzaYSL6IFZStiQko9ndqtJALe+s49ANMnddhsHu7Gf8eL2c\naB48ChcFr5zhlb2PMmIGni8EJMPawqJ3eSxRxzZkRCqwdBqdpqSsqtJTlBe1\nMkejEVzwLiqv150xas6gpD+0Hag1bJSFtR3FDkqM7G/zJbBg5gLik4sUxaqD\nwaQaSUOApnECow5mOqnuS/b+nwIsGzNA4IDVRBoVioK765HQqs24TNF1njBp\nkzCJihIQMJTP2v1VpSUN/rvoEj1mJPCNr1c9XBeZVV2/1jyzVcG9wWGgcqGp\nHJCJaAAX3FnfNFoyYgfnVlNKNdfGimDRYnA53VddPomIWKH1hvMVI1KA9uCW\nmTXtg57sQNvtV5nqlJ4xvAl1kBHVEi31+TieQ0vGsJa7ozZVWNsPPEMPfm8W\napeiED0Ogs6gLKq1K2vcm6GsIsKC3Mlm1YaQ+hlS9XzfuhRRrlw1FTnyG+qt\nr+t2\r\n=y0gc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-next.teamsprovider.6ffd83f","@microsoft/mgt-msal-provider":"2.3.0-next.teamsprovider.6ffd83f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-next.teamsprovider.6ffd83f_1623992591549_0.38177171027947643","host":"s3://npm-registry-packages"}},"2.3.0-preview.666f9d1":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.666f9d1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.666f9d1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4c0189e7e607a3cedad81d4d8bf30cbeee95b32a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.666f9d1.tgz","fileCount":18,"integrity":"sha512-L8DV0DIMEwMkp608QJDH4x7+uCjoTZBBk29gP97jl7OTN8ioTlOYS+vGczZZW9M3gEDo+YzU3o5avj7FIhP00g==","signatures":[{"sig":"MEUCIQDTYjjbRo7aGzFbqAkMoiv4f/+W+T9Di4oUp4s2IUMwdgIgEiPcE4H5ci2BTy6H22u+ejJUi0lwkI7Zdo4s0B9IRfc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg21E2CRA9TVsSAnZWagAAlpgP/1PDasMd2CxjVuDvUcXn\nl3GoxwOgQyeIeC0JfFJblVzW4KCCzJTXDySEoi7d1UAWaaXhFaoZQY8RrDcJ\ndCV3BbxGyOczw3wtLi0n4/oIiOPtE9jWDOtikWEw8l7ur22Y3eRuki8IHos1\nGEOEhQ3x05Ipcb+iEWA+UTWfhN1/P1mxMlaKs62JK57ueaqX0WUQmaJ4F5dy\nAKcpVZeAoPx8kiOs5hfLXJF261bL2rygtj6efESUAzuN5lAICmAh+0nUZ2Rk\nIIEGPGBfHlBzUx92w07hG5l/FFDZkiwrya9tpQUzH5E/spJaZ/RJeQD9hhtt\noLvm+1UvAJXzMTAVKq9nz784eoFpDHvYV9ENejYleyzB96RBQ3z3UwSzcVKu\nxVIiEx9/+neW3LLWKc8N44R98ayuqtvJKh2Do+sEMkzRN0DTC1fXvZD9Je6B\nLIEwMGHPinS/n4bW8mgC23NZ5BEgoIVJCh3R8HqSlPywrjO26/St3Z1bLkVl\n4lpmu33IPPyWs6Y7jQsg8lJmuHylb+UArUbpKz/vn0EWVA9cELaKlmxrdn9k\n4cP2e2eG5siY8g4luQrircuRvkOcMeIeljb0XVM2UIGNuV5jfZJA6s2swOE6\nlSeVuZKI6Bbb0SGUHO22SKIXS0zjp8XM5yf1ezIHzPBa+b0Y3Gsu0WILYcAk\ny+Mt\r\n=ZDWX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.666f9d1","@microsoft/mgt-msal-provider":"2.3.0-preview.666f9d1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.666f9d1_1624985909881_0.7223363597198196","host":"s3://npm-registry-packages"}},"2.3.0-preview.7fa7999":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.7fa7999","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.7fa7999","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"eae994e6abf5f87edc7840bbf65f724b422ac81e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.7fa7999.tgz","fileCount":18,"integrity":"sha512-kgohNifAC9747WywGf23v6BdQBbh6i7w+TEti7XxJmfL068oSXyjtjfBBYRAobrhADaCvhVsAPHvZBN6lJtUaA==","signatures":[{"sig":"MEQCIBHAXdd+fdIXFoM9pkK875e2j0dgH8C1rpV35J5LNAeYAiBqQCe9Iou7/x5nu40NpuGxedMIFAZGgmy+WrEyQaddbw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg24zBCRA9TVsSAnZWagAATukP/30SBkSF++28ijzahpUZ\n414s3muZyarft1H/p7izd4WZwfX51e7WOq8DJW4PlpKcW4m2FCkNxfAVIFoj\nxs8/iRfHZ6MyQGiGaUvfT+9RVX7ES7vEhFGebXxg9yFVUn6j7HtVHU5v0GY1\nJih/G2c7wz6EXctxrcF9WHp5QuzLFPXMu9+GGWuVY66XQBh8RYfBruidnpyo\nefxp3zf+YCJtGW5VeiRR7uiaVer3tkEDev5iivEVmZhdAb29sZ+bq0POcw/W\nYHszAY+ECt9mwBtYx1HSwkZ0T+caMzHKtLuqysdmn13Y9RvU43JdVgzOtr73\nFSkSOParuNo1SdNg9uKie4AfJTXE07wiF27z4NHRc6YRMUa0FtfZwdMM0CMz\nAi0beprW0PCvgz/vraRfZMhNET2IWn8S5YLCFJiclaNwQZpjG89bqJczCqgW\n9tNIDthzKpX6x5NUqEn1p/HblEKkStkH09nHmYD35PtkOuMNtXnHrg7oIOXu\nAhp0u/deWIDfRq7ZwdmehpYi+jb8xdVJKzus1Y+7si0Tlc6n4DCKFKjvHujT\nPajqQyGc9Od4DbOq38+qjWmgmVAKqFhSgKlGw9tcfmtk1xDdW0DZOluYXi7Z\nRS/6o6w+roI2JkfI/H6V02xAx/fAwebiBUVc5oBSBsxXo7QTYyaictLnkk/e\nWtCz\r\n=TLrc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.7fa7999","@microsoft/mgt-msal-provider":"2.3.0-preview.7fa7999","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.7fa7999_1625001152954_0.5854644841930423","host":"s3://npm-registry-packages"}},"2.3.0-preview.e487fab":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.e487fab","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.e487fab","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"917ad185bf68c8b1f0babf9c7bcf59f0f9642da9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.e487fab.tgz","fileCount":18,"integrity":"sha512-wMLgEf5qXcpA/qMwY++hYIjGWE2nFkzotQatZbfXSQgPaA4r0PLlmvSL/gVFoRe/nvue3WkzIf6VbFYFA3cj7w==","signatures":[{"sig":"MEUCIAUQVQnr6WcPUTlWZbXEbzdQs6ZHGmHBzuWvxA05+X/zAiEAh807/vy9Rvcm1v6XOp5qQPZFfOIhKwTS/JvtRXAO0Cc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg25GWCRA9TVsSAnZWagAAzs4P/i1Xwh+9kTyRGoIYix30\n68R8i32NjTawr0tjzS77g6XqJnaIDnnGENv112GV2T5DhqMngnsBYBonCdqd\nzW+0xbwnSqO6jwyfO3+fPSZHsfTNu8ESpIHQ5jrBDHZ2lz5kkRhKK8ob+IVY\njOCPBR6K+eLoNr/yiS+jKRx70hk4pXqz80QY2rHDt32sjjRXENYNHdl+Ndmn\nu+hsE/qn1+ekxTquxnnPG4Jv9LidiHEND3e6EmQ9SmqmEYdyLo6+zbDr8vzF\n12+nkl3eccJwIGnfQK+hnc5K8dFi0mC0WT9v6YQIbtelOA+yyraSxJKYB8NU\nOCMNCCi7BMbANsHdniIokqiKeKwsWEB/1lhZS/T6P9rmWOCaWxFxD1rsqsoN\n+qk0aAYfGaKOjLCPQ5nCpoCDOUQ6icuBtexYN20RCjg6sv7m5CKYR6P47+Uz\nKD6OHwRlsmh9nC9Aa0v9DOJ53wMDROQQ5f1nIiDZ44vCoMXozzamFJA3mvqV\nYRr32L9PxTj59pKxibTF8C+BdFnKEa+yDwYmVFyqUmhEs1Adm9nk3kOHopTr\n59uUhK8X1Iz75DvbQbCpurvnKSfUJTDdLKjaPafyuqoblc+Qxo0C3xkBTeY5\nrz6m7N99WDxbVTmXn4jsEelfchaKHXLc45/GlNLPOdBcH98K4YDZwbmJH8bS\nbK0S\r\n=CnhG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.e487fab","@microsoft/mgt-msal-provider":"2.3.0-preview.e487fab","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.e487fab_1625002390288_0.6610621098846274","host":"s3://npm-registry-packages"}},"2.3.0-preview.4acb698":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.4acb698","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.4acb698","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8650f184ec77a6b048868de2bdfa3b2b224e3016","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.4acb698.tgz","fileCount":18,"integrity":"sha512-Y6dOS16tq8b/Mk77WZ6HFbJO8FOFggrzQb9TmIVojZX84ifv2Qy1QmPPvlIAU7SSa/5te3W7s7yYGdNY1xmVMA==","signatures":[{"sig":"MEQCIBbVFZsbCLg59kWM9+lYfZ3qssa8ADYKt32lEuvS+XRgAiBmVp3NWzImgzmE3MqiwsQDM+PiW9Nf4+6P6o6uv9RF7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3Oh7CRA9TVsSAnZWagAA9d8P/RYclubRNMCH60a74bA2\nQ0pWIc7x2UlNGJh74dCyh7bQml2fln1OvoZHEFAOLLMmbmtzAIAIEkwKLfXv\nqtzm25jMhEqfHWB7AEQ/bXfIG0XXe2K1XoDX/DHIjwdjiFOKkHDPBKOmhrGp\nf5hzhRHhKbcgkveKhL9SswjpMLoZgvG+qARqxh4L0XGpIgM9St872HDMfkfP\n2buUlD5pbWXnS4BEg0xfRHxXfUJgT6XusXYRYsFEtz1p62d22/PLFE5LookY\nmnjkD7TOtD7EFnNGw9rhKx+NZ30B9PTPd31q23Ck0ZJTraxkXjbi5WWjlX7Z\nauLMIbPX980nWiPXzLh9pFe8hVbypL/wvbloCAUcYGx7HhHGexXLyt2xMCv2\n0YTaNYq/GJdo7sdGN/Mjb+O48lJ3tiC1760Rzj2LcK5P0sAH2s7m6oLhLDjj\ntB88rfb6gevYqphlQDmMELle2uyM0T+2nSjUIGq00AS2z/w+cgk0CqQxgBPO\nLpvWocjrXoZCGo/Yh6946/YR3RCjU1vxdHiHPpFBI+BygFTyGjzn3KjcKh4f\nhVOILQhE3nvmQC6m+nc+InBVXaL7Bh0BBYyUHfm8VwBagbTEWabMfEofzoEa\njZWQoAsUg21s6gcdgDv5FIeLZj0N8hp6nwDVhzsZRI3/fq5d3pYcdjE8IBSU\nIKfG\r\n=1Jec\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.4acb698","@microsoft/mgt-msal-provider":"2.3.0-preview.4acb698","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.4acb698_1625090171449_0.47581745341066517","host":"s3://npm-registry-packages"}},"2.3.0-preview.928dfe2":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.928dfe2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.928dfe2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9fca1ee0feb209b42092d435c47030cc5d4f6559","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.928dfe2.tgz","fileCount":18,"integrity":"sha512-kwGEJ3VDv+1mT8vCtNNeeQ7J+vh4RQmWWRfMhYGat/SC3KjTla57nl84EkF1wH4N8Sty+kCisT3IXNa3vD1H+g==","signatures":[{"sig":"MEQCIEBdh3fNpVAFOOtvc4sgASEuZpKtWBVCuTgifzHmTl6sAiA+HFLbeoktv4732eo+RR9lHKB1TzHjnqHe51Pr0w8Pzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3poPCRA9TVsSAnZWagAAjXAQAJHLlBZ7TygkgHkMKXpo\nSBQJs3Xk/R7DaaLCY6zuF29I2vbjWkAsr3mJp+Q+fJLPcuNBvvltu0LdwMhh\nQFkMC0Z/jtLSUHArOxHOoUBpwB8I69zxj7Oa67y2ZpuYhn9VU+qOees/xtlM\nz4TquALc5n7sZRF/xfeFsdLM0R9EVnjfx5BLR1a/+tiScvpsYrFOhL7krlvC\nJk6fnuPyjcIOmnn8zg+PFaZTr1pEfG+Qj9CXGG5Tf6r33YzooiIBNXE+DpWV\nah473s1VAjjc0RJm0kgL6pyuegv/JUOLtPlD10bAbjeboVLS+RahIsMWAHP7\n8SABEw9WzSw15kO5EYcFsrMRTE7G4qQqP2As+r6RaQgll7JrlPkHMKrIAfZr\n23NP+rgTK5FbGyPlw9SXQWBo+Ni4YzpfaYCmZqRZHRAn/KLqqbuEJlhVEmE2\nj9gUYXQa/E2Drz7TAKc1AmAxSuH1gFh8qaEgx+WaZ2GtkpAW30suxPekxUFw\n/fppWF0ESxFqbRbjYse9jrZyprC5O0FJGaAYsox9/OzVuVjB01tduaQ/UsYd\njLS/Bn1yIceus/uBnQXXt4S1g27fpJgsDxvPmhEXyhTHry3HERICa69RQaZJ\nciLamQdzTNUL0xncYA9jE7Sn6khXJxKU82jTlWjvice3mW5SqZ/i2PHR62i+\nGGy4\r\n=uQUN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.928dfe2","@microsoft/mgt-msal-provider":"2.3.0-preview.928dfe2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.928dfe2_1625201167423_0.2650881705270023","host":"s3://npm-registry-packages"}},"2.3.0-preview.07b40fa":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.07b40fa","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.07b40fa","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b8368a438e98dcd979947872d206eb89be360273","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.07b40fa.tgz","fileCount":18,"integrity":"sha512-wMIaQzPS0YgBUtpR1gaWFAAYx75kKSlQUVafPf98F6AeJXpu7fjN+orLmdGPsvdlKaXl9eANvyGc9jMIAn6rpQ==","signatures":[{"sig":"MEYCIQDNXfLaPEkUsYav9WSGXxpffjnICWlOq+Ew746nvklH4AIhAOwPRpyqF5zXygAHj6SrjJ2mfN2tWyFsXlSapJrsfZp0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5jHACRA9TVsSAnZWagAApmMQAIsJm7WtWmPRe4GVPYsQ\nIeOQf41ZrT4dERywySGTo0dj/0IobqZzGC/CiH+gdrRMABwmOGdMtqiqWU5m\nbHi+4rBs0aqVkia7jVkprm9RLz6CBZQ0LA3ssLqmtQ9xMP3UpJXUXroZX+pp\nwvHrRB+Qm7C7rzYXsf1/mvi0/Nl7VADHk1Rg5HBXINWuVm1nHn4OO9NINyav\nn1uCsY16axXmCZ/GPFYAtBbKpycYaYgRVm6j89VKYUl2belp5gWtJXNzdlNG\nC6SoeISIgNoIU1gz2pdgaKZYV/2knI7OoxuxlBKzpPi/zntkFFN6+QTNH8Ne\nC4QV3297yzohcpOMdEmGG6QbGtydOgGFcVT+6k1Ii+OfhUtG1L34QSETuN4u\nMSsIjNNjp2hAE1D81DiOwHJac1xr5rSj8TE9vwjQNafgnyvcQpE/ziS0ZDXD\npx3uuV8WFE1SUbXVEbYQ5GGj3MUnXsyyxB1+EFfjrAoOfbKWmkK3VUBYH6i0\nU63gkypOKUL0tVX9LKsJeYzcGMMsf4MywPzRNAdIIghgqovanbwswk5OsOjM\nqvpvurR65gNVFUD+G5uLX0WKmy5DBqJ2iyqR9jojKIBnHJQy67qN9DaqyNOU\n1J6luigJVcwJ0Npsvn2etLV1Z5LrSIV7E4R+bhmqlA9qXUmp/v+GhtuU+wjg\npy38\r\n=1I6b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.07b40fa","@microsoft/mgt-msal-provider":"2.3.0-preview.07b40fa","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.07b40fa_1625698751724_0.5024430612111692","host":"s3://npm-registry-packages"}},"2.3.0-preview.a36676d":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.a36676d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.a36676d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d8ce5c30e7265d0c396c1a365a546c37bc6dd88e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.a36676d.tgz","fileCount":18,"integrity":"sha512-cmN/s+PZkNRsKmQtYaVfRc3lS+snnihJcXFm3+fSt/0UTtEWAB785U12n2fBTgN5iz4KhpbSb96JxwgLhqP9ww==","signatures":[{"sig":"MEUCIFpddWz1odY17szdb41g2emqx0aj1PL0X/MMVme/y99oAiEAzflC8F0/3F41Q9Gx9gqVYSCdwT9Lqg2Ej+qlfjk24M8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7LOrCRA9TVsSAnZWagAAOiAP/iDjQa1AAn5UaNHh4HjV\npyWBU9/Dc+GYmV7soioZ9LNGqcviRcIP+ZKqFtJs/pqBEYY14HxveHc6U+Pp\nBiaLPx31Zbt121pPpr90dEV4dhsriLiluHr5trV6EHummr+q+UTY5OywkjZ2\nLxgFgrVeKS7nOFEmqjHumwhmK2KcOXKtwkZkVUnOtGqgl5ERLLsizfZxag0o\nhyUBBmiCt5GS4M7zr1vMROpXf7x3crNQfGjxlJoMEI9YJYnku3F5bbyaV0Gd\nyi4VoLS/5274G/rqqchEdOcQAP4zNA+bf9MIgGXggg4CqFAcRfNFWDWm2zwK\nRVOnPbOYYPSGmFwwQqKDgGQJg9UUIxJ5Sz91tfYYp/qDIVEe7RPjr3nY/yp/\nSJBG+up3zlghh/b50pKBSWkzFZRee5lw+B0l0buVKc0+4aFoaORPi2p5Jggr\nT8HugpY3Xb5lgnR3w6QUp5xuj8hkNePN0mdYJcNEnLl7AQglqci1r+Ga70Vu\nnDGzAcVE0DIp4UadW1LUT3m5rfUbNuFSP75/UQrDF+FD5iVvPjMM3+wtTgOc\nEOszaEVcfzbq2LEETs64KggAwQf5y1CjFTkfUYLEwvV4aMrc4oDxUMonKj8g\nwthXXm+aOWxcUhMtZQDuzwffGkFyG8kxPSuAoQAj9CCC+wt1tXUiptn1aKmm\nVJcY\r\n=C4XU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.a36676d","@microsoft/mgt-msal-provider":"2.3.0-preview.a36676d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.a36676d_1626125227213_0.21733842790839653","host":"s3://npm-registry-packages"}},"2.3.0-preview.6a59054":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.6a59054","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.6a59054","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d19f98c76d52bd83b6b35bd433fd5f9da1e20d11","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.6a59054.tgz","fileCount":18,"integrity":"sha512-OaKKO3VDyO2D28xsRaxQSjDTsAfI0QFr2w0/qe/0r0naaFUDrKoeCs06J4gOnajvMwV/sR7RAfkqn6qkR4jHHQ==","signatures":[{"sig":"MEUCIQDsKkuPX9bsazBQiwaz88cf/W8tvFA/jk9uo+Y7FvxvLwIgELIsHSm5j+SmpmX6g4m2OGMR9EZpcMVr0hA+ytuioq0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7baCCRA9TVsSAnZWagAAjiYP/jJUN9KspPA1vJ5I1gjN\nA7FsS9zJhax8lZAEYTWQzPovN6MxEhDSf3wLpxryVmsthsLXVDJmTkbQYwh0\n00MRDhtAx4BPlE43cuHMBYDY2g0utRhNcKrOk9MpWtxWnImiIYzgIKjr0m0P\nQNMYvxQqgysTdrNDOKMjULno2r5f0xwAQ9Ys9a326SsbqoIhgOwMK63M8eIo\n4RvKV7tKo0dMkD+HGtdOGrPNKJm7JaEsXglSAK9l9CiOBK3yFU786Z8QARoB\nO+XxjpYqIjv1V22kTHSFbCW2y3asZfq5xXnO6WUVH+KPDieAeRUDFdWV4Khi\nFqJj0GNPgGLGV3qFUfb6y60zXQKH6yrEAEM2qQ77woBolotxz4K64hn3UM5N\nQL0JSuOUqqDYT+vcFUe6IoUbXN6Bg9uLosONrqBMPmdClGZrM042AWNNnUtE\nelJ4b73MY2kkZQKabKeN9cLhTtJicZal4vg2Q7u14UMip5CXRWtRUaJ0AjN5\nrnw4btkT/P1V3pslYNn/aNWPShCIrYofuTCo7p74ZygDFYUbpNEgpY1xscnG\nTXTz8v+tgiqd7/qLywYXYMzclFXPBKaNad4dtPPF6Lhmo6T+3ug5jledVkSG\n/KNZDtCdWd3Wm7HhsexVgytsbOFQmrgf1tNuZ9a+zakSqN69cqhuGD8R8cxT\nGQz8\r\n=AytP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.6a59054","@microsoft/mgt-msal-provider":"2.3.0-preview.6a59054","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.6a59054_1626191490378_0.05828088635679074","host":"s3://npm-registry-packages"}},"2.3.0-preview.a0098fe":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.a0098fe","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.a0098fe","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"42249c955a444cdc75da9b1786592681bfb990b0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.a0098fe.tgz","fileCount":18,"integrity":"sha512-4q/DCL1dmSFWrU455GK93T93SoNAJSmOEom0KCiHUGtFKzn7++mPWyJAM7BLaHwOarW+oMTDFgBcuOJWrQBxEw==","signatures":[{"sig":"MEQCIGoJGYq6AGzBHVj8hLV6JvRfqOSECfEfh6azMiZpZSFeAiAu5fnq513eRsoQcFv1GkP8YhZjs6vQzYudyqO7ENqnYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7cRwCRA9TVsSAnZWagAAADUP/iQ0m+vMAVGzB4sAmwaS\nmGbAXQNbJ0cZ0wFKk3AKvoGtaYBPobResQ5Au91mfIVMIBM4PGssrdn104TH\nzVQQKpN3n8cColIWmHrCfP+qfQHNPgdY1dP/YjETKaICxYeCSZzfxNExNRuI\nMpFKC11yE4jc0GgfiUlE5jo1dE+Ja1pQlJyzW+iSf6IrdDCu8OM8NNV0EOzF\nFnsO5Hu7bX2CwJqw1wYKBUew3DAG6JE/7WypEUO3tks8Ik6YtDGb6P19VAJl\nKOmYZ68TNJcOjxJSRh8wE3HL4T4dxRJkX7tvaLofZM23iSSlMlQ4qxVA5Oxb\nEHHGpS+d756iRwX0VdhWsfmEMh8qoLhtR5XGwJwdz4Zjt9fHKJE0njGkjGFI\n6gYMhfdK0xMt3hRTsa5d5tZkQA5qV82UqlyOkr8cTmYtH4SV9piO9IId3wSP\nLrQ0P2vKGTnPVjd951Bv3QkWRjkz/UYhOKPA9sJSff78X2Rj02PvbapTRwlI\nfbKOe+cXMcTNRnyKB+yBwPSBNOMfimrk3vAVHvX/93ScLP9wSMsBg8LhW7Ap\nxj5+rMajLnsch8pkqnIyXgXscx95vcgQ12Cn0zy+NuMpzobOGWKmkWIpPkvd\nkzu6dUaI3p6hlQlGoLbT2ou7vLq/qGEPVUSB1+59LC8sPh7tGA+F5/DjZX5a\ndDFx\r\n=llKt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.a0098fe","@microsoft/mgt-msal-provider":"2.3.0-preview.a0098fe","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.a0098fe_1626195056233_0.4675667322073218","host":"s3://npm-registry-packages"}},"2.3.0-preview.43eafb1":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.43eafb1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.43eafb1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a68d1d394bb4e6a59a717cad9905ad641d0a0c12","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.43eafb1.tgz","fileCount":18,"integrity":"sha512-6eYxeR5eNY30I5klGwgnofYRxEB3yH1zS08TcaBGH71TgRJmvlnRHPWQNQwEFNF9NsdR5sqokP1zaiPSNq2xng==","signatures":[{"sig":"MEUCIAPxB7ia7WeQIprDZdz6KifpimKOBV+C7/1AdVsgs4sQAiEA+DlBFc2cIuW5PZQYRtCvaPgFv6nq+TQbiKJvrMlCM8E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7cShCRA9TVsSAnZWagAAlYwP/1f1kz/1pDyff2eQSO0i\nijGtn4k+oh2tWV2fBxLz+Ptb5r4ckHIwNMlVSdcqoThEjMEOaWxCMbRmg3Kt\ngQ8QCPuv2A3s72cPvIaOXKR9XveaN0OLzKUzH2hWKNFikgmPMH2+3L3FWO6L\nEnCfZdJSepLHfJmlLYsVvqw4br3H4G4OhvHdEBLYN0PNKTFAq8kIq+t3V+j1\nOqwSf+CBU1EjaAFLiLxq7qqQN0pgC3djwfSsIEF8o8k3dAnn0GowyISzmYte\njZNNlQRunQTIcb1LSG3iBi92u5rzBlrzLx8qUVsASw2iUA3fgvkJJI4KM5Rr\nm15uv9XNitL9eqMOrxyZtZexwD2P8wZmANxn4iCe9j1KArlommy4yaa15bGm\nIg1InO6Y7ZfwZLpl8BHaBOIGTdi8LQgHHva3zJk3UrrYf/gy0fujiCcRObxo\n4l5W/R1LFyyddgxR4ssYD2pw+HZW3vwuHtxi7aXcnmWo7s9Bni22d5SZjyYw\ncrqwKFQo7laJLNuK8u2Pa87NCtp0dhaTAEbfoNocUFPSUGt1DyTUoGFQ/gMl\nemQ5jf0SHkEL7s9rW9iMJKZBBIg9QQDDe0ELOI4PQb67BAOE/8MvN4gkQD3k\nrCDbHopxj9daeeM1gBdPHLIF2BmDLYDikplS4uMJyWS5xXtobke5PpF5DwE8\nMoF9\r\n=kcgY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.43eafb1","@microsoft/mgt-msal-provider":"2.3.0-preview.43eafb1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.43eafb1_1626195105358_0.4076441992063544","host":"s3://npm-registry-packages"}},"2.3.0-preview.a927a2c":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.a927a2c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.a927a2c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"693c116ec9ead3a0ddfe4ff0a2eee1531203ad6f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.a927a2c.tgz","fileCount":18,"integrity":"sha512-BB9qq6eszgcaN9qrrdIjnMW1y6bf7aOiOcva6TxxvgnORg2G4Np6zDzNH8KYpeBSMXxcis2xRiba7U0bjsA0hw==","signatures":[{"sig":"MEYCIQD4vmrAmfawFY6oMpMj0B0A3K53ReO0M6l5y5m3cDEeSAIhAO8iLlcXiGc6Tl20yBqv1w/PQnKYXzAmJYG8uVXoPYbY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7caSCRA9TVsSAnZWagAAy7EP/3Dc77LWRjoep2ztSn8p\n2XhI6g/xKQX7R/b1VlXwjvPzkEVi8iaWL5rhQ7DtyS0Za5UAOg1rYU37SFyc\n/YCc4d9r7oDnmMcy9yKjCu+gfYd/NNUwAtzrJd63J2S3I8YpnG1pnn6IsiBK\nhs5djXZUIcVotH0ZuonzQewZxGlLI1q6RKZYTjbVHW4OcmlWQyQjd2iVLIU2\n5qj82cWg/kRCq52koU4582u7P3frqmcoTQC8cw2yiH1Jtx/609Ob2Lp71R/n\nMPyg93XN/GLUdD21f2HCjNXVBBrTcGufuT6SlP93b3SKkiMdsH6XjZrcrnHJ\n2FwQW2F4aVV24hQ4rd8Mf3ANiaaVOXHv++kB1C/1lymP2diMphhmtX9s0iIB\n5PHkuttdu4dbiPHwB1v0Eprf/XIqnx3ogk9YRLUJgvhZWnlPTspvIm3j3Zkt\nmKLcQXTFKd51kLHS6dvnp6l9qsu5muMUPIam4Wgl51rNuARHtuAkgJDEfOr6\n2lvc9tbAO2SBmLhTJHBBL8c4Mz4REqD7zIBryt3ywimr5O9Y4ak7aaRZ8p+Y\nuAYqs1LRQylUpuISSwJ30aSiE7ebWywage/CnOovPREy4zbh72DA/xA6pwOJ\njTu+yPfXCQOL5X4LpDxfXx5U0jvkL9aolQsWX/2P4TU2+iQ2CHJmIAfzP5KF\nan35\r\n=gvgr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.a927a2c","@microsoft/mgt-msal-provider":"2.3.0-preview.a927a2c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.a927a2c_1626195602296_0.8924725610909199","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a9f3b8df0ee89b7d77cb091d59c783c1b9dfac91","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1.tgz","fileCount":18,"integrity":"sha512-wh5NiA9xeEz7DPVmOL8g9oZrj0ERUr/2gioQBIFvs9QCYhnhY2lKuXbyb6+WjOB7bnS4HpuPeWbNpkCmcfR6bw==","signatures":[{"sig":"MEQCIBvZ1usuRvgWQ5eBjE9++xde5fC+Tp5ThMIRGRBFH/kMAiBV/oEb8KgT375NraBPWRt8puiNGV5XOvqgYuIPSsy+RQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8M3wCRA9TVsSAnZWagAAooEP/il80rzmWHOG7cqfL08W\n6CIxXqyZy6xqXuESc8yf2ewf7UcVt5iA7C4hpw9UVQTVD9zDwVLXz4OIwqyw\nPsbVR/NBFKC3vxLAdHM1RE1+Dr9n8ZGAnGxmHTFd22bcGKTW/NLrhjVcGLEr\nxbwxVS6wZS+pckMOalW+ZZWPRixq3rEFkFDV+O+c9Vw/OuAbpgTWmRU0nQvI\nREVfa38KhiKyiJ1/r7KVrKm1cTfxHfHXmO2wxisgf5J8YKcaM1P227J754sb\ncdBi5d1Kx6oWDmxs1QRbkAHj7Oz8n1D8JGwFPMI6PApw+TIaUUGyn87ptP+f\n+5A1vrfVLPpDgIF7ikdH5mPBMAPCNnSW4x4ayPPG22DzzSMDEbrAtAQUTajj\nrIM8zOw0B3NFIrlRa0ctntzZITw/v5+PEgF7GHGS+69CfuRoFpawnkDx8Vet\nU1/Mi5tEmx2exOsuHM7CPbDHMLM8R4tdQFp2Z1T1HYJPSrk/BgvfuyDLw98m\nXWF2OVoGUM1aWvJ0lGjAMK0cXjCSpawvvX7taldHXtuTzYQACSRQLg9nLFFB\nFPmz8JpaZFhkMYSBcMnlw5BeGlP+epzYqFUUN9qQBptioa8/GRGmwHRV24gY\nPtX1BGuHH+8miMp7BbfbqNNq0DiK2bYkBGUv1Jpe21QLgi68+o+zirpQlUgL\nhCOS\r\n=8s5t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1","@microsoft/mgt-msal-provider":"2.2.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1_1626394096487_0.03505465337951574","host":"s3://npm-registry-packages"}},"2.2.1-preview.10e98e4":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.10e98e4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.10e98e4","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8fd50b43b170559b8f73b1d3666cac1f1596ae79","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.10e98e4.tgz","fileCount":18,"integrity":"sha512-icPtKT2lVRHqab6GkyVtTIPJFWwN4ktDQ6n5WHbj0HWYF+2R67HaCoNTIdqRC/6c1bheQvQIWHEsaUhGsnRSjQ==","signatures":[{"sig":"MEYCIQDgMBaa6zWhRNRSqHvIK4RwsD6E0KMgR0Q4WzlMDfzpAwIhAPFKgFCZHe90n+sGOhBSNkD0weTs9Wi7FrZy46XGdoQr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9chVCRA9TVsSAnZWagAAs2gP/1XNBOzJ+lMurVEWgtTV\nqF1h3iAb4gMaVGVB+csrTdXA4ZAXbs+4yNr3bKYg5LsMnqzLPpQBUJ+YswaJ\nEPd/VAaZM6J5RtuaRjLBgxnQtpNMkTNyfp9SLlDVf6WllUy0Wh1X9vZjuSzZ\nQ1I6R+AQgOaiD87gp741vzl7PIVeASdAyGfuG7uoEdJg0vVVveZKXQq87uFB\nP+h3crkKG5ubhGVtsqOq/xq0Ge+PhUx62GtQB+sjh2xNFEvGCUa9DV4IuDe3\nya2CJXWmILtQ/t/l1Ji/gZ7EOjU9XVzRhwbZQKOOGew3i1p0Bsz9VHbi8Xxn\nD3Vqt+YAsK7+XLTFeInHw7B542m/toSlndPyQbDJvC3jKq84avIPg0xGFGNv\nGgDaC10iJR/Gt64kD3vh/Gp4PfCwRXvO4fnuHBbsTxP3YPvvgjBjVL1ScxqH\nNwYUpPiQSPU6JTQYd1lOJMhZ1fN2Zt7dizm5xc4EHNITay8HXs3GNZwQNMPi\npBsM5SjueS4uZzuRGDKQDBJIMRkPCkE7SCSne2sN3h5hzbYSTgAagL8LYlgD\n73nQhvAmmhLB1xnukyuWdMJr/havOnuP32Il930kixDTid3prWSLkvRXclop\nWNgKMbjUryOhiExSXUdftORKimNP5BLSGzczHgOv9dcmoaYoN0nA34J+pwyN\nX/hv\r\n=JTr4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.10e98e4","@microsoft/mgt-msal-provider":"2.2.1-preview.10e98e4","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.10e98e4_1626720340900_0.5889392714512289","host":"s3://npm-registry-packages"}},"2.2.1-preview.174f472":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.174f472","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.174f472","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a3aa8ac20fe2bd86223303d6352244f386b2a832","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.174f472.tgz","fileCount":18,"integrity":"sha512-W1le6efIuNspRAyL6/F+FbxwqTIfwJtp8XxxAJpExVePJfQ7SOVkuTfImLAVYLJv/06XSXpOzqyASs0HTJR1Xw==","signatures":[{"sig":"MEQCIBqKnFuxrj5L8GZLvD1e9qnZmudtetckya3MNGqBNGTKAiAH4BuPB3JaXO2xcDL8Qd0qiETYBCcWtiCETyaWezShWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9d3/CRA9TVsSAnZWagAAgJUQAIcbpmDnkiBVk4qmQKRL\nwwblREPdLNlL/bjji1esajjp1naFaYdcUUKMTSlPzzwplB3vghL3T0S/Cc4c\nEJ9Tv0wZAC4SdIUDyFg1T4dGhysg7jsW0vle8kCLCFf9QGLqikQO7uYrKMHk\nuT8VeZeD+57dCKidP5xZvbuObpbfF5qf+44IektmudsDjF9gZj1/lmDz539R\nvil4w5caL7g2h+0P6sZHF1n7xZ7NnTyOpYIx2TeDibwUJ9ppws0iv7DEzty/\nl4TQqD4ZEJNJ8lIPuQBe8tkU8c+ooPT21ke9Aho7ARshrIYZdnXNuO5qZLVP\nDurqsl9PHEpj2zshbkGjRwrQdBwfJ69HMnbJ/ggLQGOL+ZYafuKvGfhTZntA\ni7sbNpoUdXh+0g0K+qcWfYGep9OtbOmMeRNElOXSKrvpOcGYaSyW16yblh/Q\nGGwOasp9WGlzKePGhtxOKrGoC/Nma2j4o7O5djY+N8sqhq5OcBg4nZlOuQXK\nehZbJ4RM2a1ql+MPohRydlSfp/tOWEPCSAofbk+3GcPYanjDSRRaL7MZK+bK\nle1b7Hqo5Chnu6c7wmRCcK8dMVW+T53lglqGpqC2OSfi0KLUkwzETHO+ePQ4\nTipIabXyGlxwZBAX/qEJMpayJubvqMbMJosVjb/cePoxONs8i6Uhvx3bpmt2\nSXqf\r\n=iFSp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.174f472","@microsoft/mgt-msal-provider":"2.2.1-preview.174f472","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.174f472_1626725887742_0.350950527420413","host":"s3://npm-registry-packages"}},"2.2.1-preview.5e1e8e2":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.5e1e8e2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.5e1e8e2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ddb1f367caeab9da88c4cc5fc9253c7fe51b7226","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.5e1e8e2.tgz","fileCount":18,"integrity":"sha512-tU/9CXbT+1CMaLSm3Tbca/iisZxRohDyoJfn3ToWxaeHBf4+vPgJfpDMrVD3J+DXysRq67iWc0BGDxXPfnxJig==","signatures":[{"sig":"MEQCIC7YTlp2ld7En3OwMtSyAiJTgAvzB8vtQt8n0CyC1qaMAiAHT1Xm9IajNLkTLQTN17fJZQJh2LpP3RPXu4D5t3+s6A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9fGxCRA9TVsSAnZWagAAzacQAJ7F0qVcZUuGQzhV05Wt\nDQEwZJA7SPgCPyhck1XlQcqTxSLjXCWlNY/D6oFu8sOda4LK69sUSBVpi6RC\nUUP1rf/6UgklVKz0sKKmO/+W+A4odgTye/fBjTvGKjB5kzKd6GvNhrI8KORT\ngSty6WLZ0rnR0R0dIZvGTFWIiSgNi3H2IHjepvlc3flsrLDNTQSzIsdI0xft\nVeXQHWXqQ8v367VNy0KGp5bkeCTSI3tBllhYJF/qV6BEHwRADBFgkZVfY2Wk\nFuMj1/vQTJ1oU8Yp4V7FjNb71BceZv0xsOodgBhwEyY7xjCZr4qFktYvYaGI\nCZnFSb2KUiHZSw0h8Cn7AyzXbfzj7GmJsvg9hNwhZBp/pq59MjFg5etYTcBL\nsetVfypNrtYzPVwaujN7HZ7XF0io7zQXaUvHpSsCPlwsCifZW8upxjpGWvQc\nVdZHjPyWObLt9CWTttZqS98fkfRHeuNcWEUJhKqxBjmvErQ603nRlssPEXPc\nuIJfVQsJbiwuI4EXbkHKEz+srQNEW52Ivvz1SPEqyzY/xychy+il/0BPmeQP\nrTDG1UCs4Bc0g8x3kH4E1eu8/CNEVdNQ0ZIS40XGN/bCj2s/XHcYDL5zP2bg\n3yU7ttBvPHvBGfUShdmBV1GJYHltx+Jr6VzCbjjsZIG5FyGaQr18iXgkJYMQ\n1hfO\r\n=g6s2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.5e1e8e2","@microsoft/mgt-msal-provider":"2.2.1-preview.5e1e8e2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.5e1e8e2_1626730929077_0.4336519731709465","host":"s3://npm-registry-packages"}},"2.2.1-next.teamsprovider.e6d920a":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-next.teamsprovider.e6d920a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-next.teamsprovider.e6d920a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b7a9789f224cb4dbe961cef5f700530646afbfdb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-next.teamsprovider.e6d920a.tgz","fileCount":18,"integrity":"sha512-qp6jwEFepmsTnOTKzkiZLEweLXtKt1OGlwjm8j1eA5MCF2TW1sfMtDtHmyUlUYh4RruJiO04o2rHp+Ql+tY1ug==","signatures":[{"sig":"MEQCIC7OZ91KW5cro6DWFPA4prz6PYh2jomz9xOdkYlR/JdwAiAgsD7pFuwVaZXUYs+hBnUxxJdY3IwnR+ULelsrjiXhlg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9fRpCRA9TVsSAnZWagAAd/0P/joTJKmGNig/D3yQSKn/\nlvLprECuwo9kbRkIqzSQs70M5O1C4vtciTmYuMGkHqfbDq470JB5vZ/Dw1la\nSxBpCtwoG8xP6IM69K8ehzjI96bLDWWBbiLlWdkWrX0iy/ikbN67UCVYrz/b\ngs7hG49gB0syyuC4tTfMh0IMIwL0IUrHiqQU6Gba7tVR0xFvSHLvW+88bWb+\nyFKyME11p9EC5V+HukcXaVO2+3BhdkPY13tW3kRIJrs+JLePaGkxEEuKYSJ1\nGbZoDN2zbxFq6MNWaq3Silm5eHf4Zq2ag3e0uutfFAATIlONruvDgpY3SbTl\nizVxtvEXuNZj3UJctq0s3taTcaBZLzdi9EpTLZSCinrgSOlsJf+TT3Rv1KIE\nPZSdmdkccGz/4secHFCEbu89PqINc1cYqOlFLmvb81Ul9B8ks8VROAYl8LbA\nkqS7DiFZ3mXVQ2A//uGkfjHgqwHeOgFHIo2g29mqfKJyFpi7DgntHHa5qSyb\nez2GiSMYjhjQ2LsPWN4V+l2S3kJ1k1aSMOKf6MHEQNBzXLGNwQs8FZQyI8yi\nmdsI5tWx9czCLUx3BcTsc91MnXgx0/LfnGRDYHWkgCjhlj6v0Io7sFohCk90\nZnGS2wBrqqcl2cliF87m8+2j+9weyCWdTnjzZu9wNvmvEYUVumzunh10LVxR\n7Cuw\r\n=UcR0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-next.teamsprovider.e6d920a","@microsoft/mgt-msal-provider":"2.2.1-next.teamsprovider.e6d920a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-next.teamsprovider.e6d920a_1626731625582_0.593612441640778","host":"s3://npm-registry-packages"}},"2.2.1-preview.187ccb8":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.187ccb8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.187ccb8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2cb2252100181c71b7c066f516f02ee8eab1cd08","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.187ccb8.tgz","fileCount":18,"integrity":"sha512-FvOPbcyGvZPOTfrKSmzublXa/E/f7T7VoZ0zie+gLTRbOsMHmdmDRRBXEHwtrrp/RJbntiFFJZGvyFio9Df37w==","signatures":[{"sig":"MEQCIDFvx0Cg/V6HG3d6OHSPufMli3qLqA4nAWhTBZKSQP5dAiAe1VNtep25NY3PvyuSTnNlwWijfCnXG1ndJhKj5PC40A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+Z3ECRA9TVsSAnZWagAAwuEP/RqNI/1m+pdAdgkuPjBy\ndXXfTvNIArnnyLuKND2rjnedNWjTVL79EK5YdOdrrR4Da2GiKhYOhwTs7l3t\nc465nInsAjU2ZVlLK4glu3/CP3iGP4IXrvaXM4g9f1gBIGSyP8j24MwMjqs8\nPnn5OJRrB6aB2GD8Bfon2bB5IME28Tqbc/FkgPxdlaC7rrAvB5m/xK+BF6SD\nX9QlWmsY7Cekwzi4SfhS2hfAzkhrsGkHHtDpXbPNrbuTHDOjkEnG2i0pE78w\no15Fp4AYxrkwIbBN6BD+ZRSMsyI+98zou0NEKlmVO3eBdLgzxZtkIw5aeiY5\nnyrXXEsngEq78xKu2BCFPWKJpDJ7WChO2H2DzvRAs6HasaGKp2zWEDiRuqvp\nbdm1aSPpLtU4FkDzXBoSHjKAPwSetMi+XKYH/Ki3ZGAAdPeVAdupIamw+5r6\nVJIacQQTsK7xYwZWNN7Kr9SHL8wYcy3SLIbnXNuIfIvqE6skqB6swCW43m9M\n1X8e9z4txmfBev7qcjZtruvPXq76thCiOQ6ho/pDZHIkMooHNDeGzlpEA9Ng\nssegyV3bFFGCp4NRnbrnKY6Ann2tUEqVT4PLSMHfEhqN9UwowXgLm8tVzpxh\nc552KGhO+uLTXh4FiiJAIJDHZ/ekMdjscbsn2xU2QEUSLYb1d4RyMCG/SiEa\ndQjr\r\n=+Z21\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.187ccb8","@microsoft/mgt-msal-provider":"2.2.1-preview.187ccb8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.187ccb8_1626971588256_0.7668911597000332","host":"s3://npm-registry-packages"}},"2.2.1-preview.b2c06db":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.b2c06db","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.b2c06db","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"df0d43a4a75fb6d0c40b9bce8060de3961512170","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.b2c06db.tgz","fileCount":18,"integrity":"sha512-BwELRygHzZT/vL4PcR9q7XVsHV03YEjSAp5XHl+TAHKycSOQBD2fbWHRS7UhV8T3SeJMnmR7AzpHj0soXfVsnw==","signatures":[{"sig":"MEUCIQC2kY6u+/fL+zct6nIi/N2L8l+j7IPdzjqmp2stdU9y8gIgbPOElEGK8kKuXPv+7k1lpnYRdB0kQ1Aw3O/kj6Mrc8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhADWsCRA9TVsSAnZWagAAZ0gP/A7h7OXJo854ckrQmFew\nF0IUwWaavQdEYfJPXGNPRUFGIi3pE62AQBS/WZ7BtvcUfMupvWd+AgpAkpYS\nBQkLgO60d7QukwBWpW4da6hdak34UfTkoljXex/kIkAcvKbPQDubUmRTUh87\nezYETEvwAgbFIFOpzRKlbVlOu/QpzXbthAtAsqdp38EEHJiToL0nlRt3dNJP\ndsUSK7M7lMeXtwwDh9GgBJTCa/GeIeaYsJk+KUYyzn1kXp/6dcNtlGBdmZJ+\n8Y/LiV7JO2QAuHLSRB2OYLH4I7ElQiP+WwJkQ1CCLmlZEfRVQKZitnvZ5ni/\noKJTSIVNxP84TOMAXsb6L0iEnEIWKn8JzsjCU/QqPg6aXajcqBhm+8b6ft1f\nD7KOOobmAr7zGjswxHiKdZxVJj3ZLRLTIYb95l027+B3j6NBZ9Rjx0YmTupp\nzXZMf2f1Gp0VAY7lTgal3P6tELFRLap7Bdc0nJ+Nq9VHrdir4d1b6ugWMKt9\nB9xuAvYXG3fjUISU7nvXPOXtLYSKM3mSGs2UhD55QHvdQ2C/Gmu/aU5fC/CR\nCvnFlVFG5tifDrjvFN564Lp2lfq5jrVbc//HMv7Ne9GaNzT8uWwmxCSmt6JY\nKCbGRbD67RKv/6i1CvM123LPV1qVUrwJg3hV5fzZIlrk3JwUhLvvk2ipCiiU\npt2f\r\n=QLVJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.b2c06db","@microsoft/mgt-msal-provider":"2.2.1-preview.b2c06db","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.b2c06db_1627403691917_0.6295100167782441","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.b2c06db":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-next.fluentui.b2c06db","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-next.fluentui.b2c06db","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2855a8cc30af21d4c885debd6ddc2230eb489655","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-next.fluentui.b2c06db.tgz","fileCount":18,"integrity":"sha512-bno0sD0WTdXz8Hd79stUJDd1Uu/sV6N4XtykpDZGCZiCMiKcWTB9pBnIQombUWnOXVTEffCubiBqFo7M56kNAA==","signatures":[{"sig":"MEUCIQDhig/01xuAP9pMgFvFgnblz3Ietm30DURN0fO1KsqS+wIgM7/gD1/B6r4rr+bxhXPaQvkBPuXJ27gFcixqL3z9QiI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAHa9CRA9TVsSAnZWagAAVYkP/RSxrng1K3dEQv8HLUMQ\nxIlXqr6LXSbX41SH/vB7Ly9KkUACuAuygV7p6e6oMdaBFfnQs9ID5y5Vjwgg\nvFeMzqZtF58jYMLjgOtoFUqZ8kHJ6Vx2KWpNCkLM2OobDQ6NdsMz5gzNfNfe\n/Gs0g+GMnlaD2K74euW8a2YpRhKq+qm0QEgP4V8nvEbZCJGWoEA9k+oD8E1u\n+QepG9Oi/DLNMdV2OAUDPqModFEDGxY+QGzVdzj2koaUYygSr8YvuT018+XN\nHpeGqwLNMgBjvMqvWPkTvV8VmvFKl/POG6PRWiXSCjKYgtgOQL4gu6l4D5X6\ncmm5xdPVCyAQyZD+RKXpMIAJEHDRdeD6qa6dUV9iKX8YhcXedP9Li7PdsoMa\naqZfe3VwBvVKmDZ8fKVpqn6yM0BaMSLs2urOvXsMC4MBdrfABjJ+AXJy+7jK\nVHfoL6M+cK2MOKN7mnzXDHQxdnFBjGfL9ugaPme4lR5h20sjVqdRNy3Z329h\nY6oUDDV7czuiml+K1BJUYIVtGl9DtyeDUrTBjetFGL3tcCXzfC7/3rHeav0/\nDjSYcorfDZ102Y5HhLP8X2iDyT9b/7EWrE2C13pfK01m17GMJdlDkyisuCoP\nSZvcopFEl59h+dLEThALmHGkRzvLNvoXWS643L9cs49CVnx7jDjlIy/6BHFy\nWOMo\r\n=PNOD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-next.fluentui.b2c06db","@microsoft/mgt-msal-provider":"2.2.1-next.fluentui.b2c06db","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-next.fluentui.b2c06db_1627420348981_0.8384619797697104","host":"s3://npm-registry-packages"}},"2.2.1-preview.e4e242a":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.e4e242a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.e4e242a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0ceed0bce22f507d5cccd57815233a8fbf8cdb52","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.e4e242a.tgz","fileCount":18,"integrity":"sha512-3cyOxhrM98XnS1RW8VLuPb46YlcwgcLRVWh+C/o5rC7jU9NVS0+XW4INos32xTQMRKF56EhjXrRgt/Zwv3SZxw==","signatures":[{"sig":"MEQCIC6XAdObstTg8uEPmeWyeH83zPb5tyj+dwC4dn2FhOn0AiB6tAyjjuI+qu7uBFsdSOzbHq9nQdWSFZMgIYs3spW4HA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCXBvCRA9TVsSAnZWagAA00QQAIhon7Vw+tIdc23EdyFY\nsJH1axnjcL5UpOfcAkgvNhbnBvUZFXy7NSveR7mMGRNZ5qm2C3j7aTkp/vrC\nyufc55a8OdNy4UbegSe57Bllu71vEZ6GJDpygVNBc+0xS0u7kwm/SlYllVmI\n8AwS0k+Mi1R+vAXf9doR/vbyINg3Wzz805qjUyFQeo7TDDnvA9Ga6pAx1OQZ\nzpe19CpothriwLdt2swBow91EZr/ZHD/gX31TN1w/d8gze2bkGosX5B8OLm4\nzS+TciVisEVL8luG8XbJXuLIK9HKiv2j3r8xG/5+rwDe3W71syCrLJGtpopQ\nprkd875ROjfE55IIHgCsGaGJaA/Kc6F3QARWvONBxZlRjDBU0zeQuLhbDf+s\nl0vg9EiXGhdBnd90sbK5HziC3ymEejvHIsuyk7dhutj86n1NtJCvbzG0TxdI\nHjjQm5bnXVN6GZFntgXswP7GktQNt1Eg2Ylwr4McE5r9XfWh9a3IJetww7e3\nAVrZCqFaSOf72HQICKxUlzi13u0tfFRtM09ZnbfTXphizFM/m8kfrhO5+7Co\nnP67pYO4k6y21XPzdzFHXWOA3a3ASBJoWa6kHQuO2ClV3bjavqi8CLLFBNus\nMIsODeDunuUVyp96ljecrFlXrG/uJzm9GuZWZ8Uim8GBu4XoghfvoBSsctuo\nOw/I\r\n=KRqp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.e4e242a","@microsoft/mgt-msal-provider":"2.2.1-preview.e4e242a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.e4e242a_1628008559322_0.596899921224066","host":"s3://npm-registry-packages"}},"2.2.1-next.multi-accounts.c6af111":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-next.multi-accounts.c6af111","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-next.multi-accounts.c6af111","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"943717efad737deeeed3216b88c055ecb76e5ad3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-next.multi-accounts.c6af111.tgz","fileCount":18,"integrity":"sha512-dM0B/z5/03Z7le1UBG0IB57hLazHC/E48qS/WChRzntX65gACUZDbprpM3tdHOpwVZizKbGADlqNSWEFDGxH9w==","signatures":[{"sig":"MEUCIEwQ2KbgWSTVzfZXDHHca3j5BFlyWKONRl0DXkMQmTQZAiEAreR4kLDltGW2pIOANYBb6sIASREcPm/w4x52iNZaUpY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720607,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCuhiCRA9TVsSAnZWagAAnNoP/2ec+D+2nI2iDEZCzGCE\nQSueOc4/jM9eQgqUSaK4TNn58Mlyqqn+EpFLgiNh/ycobBXME1KIPHFXR/Mu\nmDocc89gxmaigFdl+nWYZepBxTN5LlYx4iT+yCTwB/8D6zuFc/LRwkS6+HWS\nUjN4rrEbotLXy5HEi+GvAbYcLF1Wp4tc1br/yc6b2n5oY5XEP0DGXhd3RAvp\n6UU6SMiiilxi1MtBtanHBliNkIMRQux+updXxpe7+1zcjuFdpApiCOko1BnM\n+Cu6u8Um8cGvKx1oB2eZxzVcOy7Mv+CdKw/3dXfhUvxN/IR6rTgdQfG+aL42\n5VnTx6W9fjgx4m1EMa2e0r0Xp5wM0RTJGdPnuJ9uG4PU3Ovh9kKvD6q29Cz3\nLpvacS4cWgu8x1oLxSUORPgZKjACrJUq2tHg2RXm6jCX56l1R9ZknYNcnlF6\nJ8yxTEUVibow653aj7YZqMKM6PS4ZZum60V7hYPXcZZSK/dywY+NvNow4D9E\n3hB1fGNdlqODpyH6wPOmZ+jSKIBCzAKz8ftNj1pWfOBcw45qyPTXzc5nzoid\nDiBDkUmsNfc7TWKNw6zhMiuzG/+4gdRlNdhHhkQptE6apqIiliDD195Dj1hO\n5hhat6gkGbvrg77jIK4xeP261aBybAOujpBflMlh92sejlslY1spJNYdYc+a\nwUNw\r\n=gBl0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-next.multi-accounts.c6af111","@microsoft/mgt-msal-provider":"2.2.1-next.multi-accounts.c6af111","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-next.multi-accounts.c6af111_1628104802294_0.07324269425722507","host":"s3://npm-registry-packages"}},"2.2.1-preview.4ff1c72":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.4ff1c72","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.4ff1c72","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"bb49a9a608284e06cbf3fc3871628ee91cc4469f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.4ff1c72.tgz","fileCount":18,"integrity":"sha512-Okt0JlEW5l7Byx2wF6jcti02H9+OCerPDDLJY99JNWgWhOXrKSQ+Wq/SnHx27zQUWyCyJOKp7GOIV/EotsfUfA==","signatures":[{"sig":"MEUCIHaNLngTGVlAYSR0zGsqmNFVwa4Duqs8p3iKgmeZ5DgnAiEAr3WVxv9e7M19ABOn5Mo6Kx1waUJPTUavjscA5dT/J1I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDFRZCRA9TVsSAnZWagAAkG0QAKIT7BVvb7BtS1HMzxDk\nEzzlkKSaf5HJarNo56Z1fgOWdYa4iFERpt6gszQE8pHHi8GS/iL4/BCGar/S\nF9hZIQsoET3dlIZn6ARaaJeJdxXlKKLIsYKPvKu9pYXA7vurIN/e10KIpKKu\nzFWCy1mHjVrnM6gCXq0o2F1ZlppUYkVj1/9QnAWGsZmaT16q0/q69yfJAuPE\n694Undn9CIQ2Q9JCr1klJ1LFBfsoELnYrp7PeApvz3od0/WUYn8WTA+GIiDK\n7nVq6KCftzkHBqmeGQZ9jvCnkWLJRy4zozKYKVeloHpB+V6ursTbJp6Ji1ql\n518uixy+xtyF5BvTf1IRF/oiBVr54kV337SrsJiea+/qmlR1jpbbhRWD8C4M\nEXgg2x7DVHnSKvJEdxeqHG5BmYIdW1+l/C6hvpPcN/QtTSyDb4tTXCNKkLfe\npV70w6qoFyPufUqbqyBmxGTle95I6xAcEvDT65hq1tbI9qmcMB/NpPgd/kGm\nt4BIasyoNyuuKy4XJ1YBPphkeKOU9iJ9xhyX4wsC5avkQPH46K/Fn8unRV85\noxkXx/XeR1R7FqLDp9RWhsHsBKomHPev86DYsgkJ/1go5GQdt+nfuRBMhiMl\nBGnUpf7E3N6S3lYBMGcen710T89dNCiQe20LRfttNKgIVXBy9Qcj2c0HaL8k\nMfcr\r\n=25I1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.4ff1c72","@microsoft/mgt-msal-provider":"2.2.1-preview.4ff1c72","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.4ff1c72_1628197977626_0.7664603205118814","host":"s3://npm-registry-packages"}},"2.2.1-preview.e848cf8":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.e848cf8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.e848cf8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d9a54d8ad4b8cc70b9425543c2d7484bc6b6391d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.e848cf8.tgz","fileCount":18,"integrity":"sha512-L0eja1fdYDNp9IkeTSQhKdO9YiLZXS6nEs6fVM+Hd9wJVcjUdVFyainFR5Qr9Yipt3OSX3FMobunyTT8DUftVw==","signatures":[{"sig":"MEUCIQDxInbEnMv2vkIAO4hpfrtAD4ShIYtenvOWKQHzr4heUAIgR9E1Q7sQimZYNXagP6uZK18vPIATm7BTy8oCx9qNstE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEa9fCRA9TVsSAnZWagAAM/IQAIlCPU9WLpNApjE4f/Qt\ngNJs9V5JKhHX8GVxYdRX+JetWuwQEbFWGpfPIYvWXLulAEriF2laiFMKFh+Q\ne2ujjnZjcz21pwC4/g1l77YL5q5ZkRjP03LhkOHZrj9B9OwnxYAJ16Xo4nUs\n8+mjQpGTl0CjPuLPm7CKPkKPfmsEF/tLA6MhXWpwb1+pKhJ+6KwXyuwf1Ykf\nVGUZxp+B8BFnODYN0BcIwi5PbQpQ4nrvAh/loLSRwjtfQ/+H8rLSG47wUAE2\n0nw2K+yTONuABVHpIM/aYFKFoBJi8RrD7M++1tTN/eW4je419d1jIkTklwvY\n+a3KX6irqaWtpny+ME4Uv+GSvL6lYTBQHKpQ8RddML0ONVkLqrybV5s6BTzJ\ne8IKL8xDyUkxZlYIxYH9xAAFN3f2lnHOny8p08HArgToEGf4Jdp6HydI0k5a\nPISxMBqYyHLlrW0uBUX8tpksCRRqAbtc1sqT/WBS35Cm1tYiSdwGkMviYz/r\no6iV+8Pa0Eecxmcsdn762nser0oMIzInilDL8ppFfpsGG+aZPldnQ/51cOeL\nlyhO5ceysDhT5U0dsmexD/JugHWCM+simk0wyqwpWa8xgbvB1+mbffN/A3xK\nRlasRbxwdVOBCV2V21+9QDFf6o5Zm16/HxonWNrbR8GC/fLDHLVA6p1VkZsT\nzTuS\r\n=CU4F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.e848cf8","@microsoft/mgt-msal-provider":"2.2.1-preview.e848cf8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.e848cf8_1628548959017_0.6367225476946983","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.e848cf8":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-next.fluentui.e848cf8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-next.fluentui.e848cf8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"384d37c6674d71333861422688c8851d22220856","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-next.fluentui.e848cf8.tgz","fileCount":18,"integrity":"sha512-mDeYBjXZKdBHoQlFZfY9tG0pZL+nShweNxNkBQHG9ERnP5h4FCm73zpNTiTUWWiyGVEWOfaJT5YAYXOJRY5Czw==","signatures":[{"sig":"MEUCIQDNXd+n1EDNzonL2I9zIwuILOgXcUdqoHGKgQ/Wqi5A4wIgZW3BlW8iQGMR5G+mZkm8gCf/8k3GuR+Cfa9c/ruYhIo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEr5mCRA9TVsSAnZWagAAnlMP/jCAfN8JHS2zNQTyyZRc\nC8WZJWx8y++YJxKiIXEG3G58o1BzfRff0Bnh5e9Itaj3lYYwh3CPO08MMgna\nTa3kmYTDm64VcsOEhasBZla8O/uv9Jz52kMSS2qO3TnxM5T3Ge/6wosQmjsx\n7l7Ahv8+HSF6HGOpLfzXn5Im/scfDxZjq4T4Mrs+uzRTIZ6sutDDt/mnoJP9\nYOy85J3yFGAmETLRXj/9TKE8O1xOaQ47S0ZUaXSRMmF7Q9h3X/TY2Zzpm+Zg\nzF+gyHtvX5jdBA/40QXIWXg56YdR90uY0tNuKUCyxWqhJlRzrCbmh1oME5wv\nr38TuNHKFkVSeOHRJ4dgxUJYdVo7hI956VDgg7hb8jfr2ANZ2lbJSOkXok16\n4gxDJ8+jB7gZat5gr/l1R9Kb51mQ9PGlEVpzt512q+mh84qcqwEBxRFj6e73\nTITzp9K+I+eOsf4hNiSaYEa+t7R9CUPh8fWEHlHUQ4Iz6kC1x3DAbZHInPzk\nldGiM5QkUPWh7REkmylm4pBCvIPIZz5nM9gSLMPg99VgYyKeWQRL5lcoHNIo\nNWHtqzVoeHXW16OkKbVBEu3uoXaf9qVK/i7Lc9YgNiIJz7QHksShGplVcEHl\na30jduKFAJLTK8K6g2VpuZfW4e+naEY7bcpC5ObSxwS6vD959czgFR6lKDxL\niOD5\r\n=e83G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-next.fluentui.e848cf8","@microsoft/mgt-msal-provider":"2.2.1-next.fluentui.e848cf8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-next.fluentui.e848cf8_1628618342418_0.4196676497974021","host":"s3://npm-registry-packages"}},"2.2.1-preview.896ffcf":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.896ffcf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.896ffcf","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"301d323a97eac69270deacc16e15ba5d8c564a5c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.896ffcf.tgz","fileCount":18,"integrity":"sha512-IU5NouDJEJuCQ/kBXThBG2C3yMeqEa9McX2c3c+YLARG7AythOQF/aHzx5Ka3PAY6ehRSNqa5eHZ+me4H1VWJw==","signatures":[{"sig":"MEQCIBJyUwq4pXT7XBxaGOu8qQOZ71k0xjh7eW9HZq69SJWKAiBBLbGngkNvl/4+9rdU+ZbEtn1UeNf3+MW4/brmfOLeYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEr+cCRA9TVsSAnZWagAAAPEP/A2K8IJ0/ziItpBWxCF3\n28rdVl8Ddp0EuLwyIVfXkOdy+GxIH1ptrgpJuCFAOGBE2G9x26rDfYCoVSI8\naqd2Mj37ZHh9sg1K5zWNVEyZ4aJ1bHtgDxVdBaMopPSMrkp8l8GX9wMY6u9P\na1YOfbT6DxNViP/oNmzCiRbaqUg6wzp2CBmd4G+5QYZR+3l/rRDQeY6L1vRb\nb3MyylP0ocmRg2jWXdX1D2cQV4xNz7MsIL6qfzch6tpqcksQwXzw0R4sWWKy\njr/gm6NQmhEthc9US7QjR11OxLMNlu6MU2ePGEOcp8y8K5Y/IPY3Ho6ME60R\nXFnI9LLbDhW46XLEHvISSbsQ7aj3VXWoglMI6feQs1mUTt5aI1fIpyTRCWPO\nS9ujUm+Q5dUu8jHlFBguvILS0BpcIyueSg19Ol63fumOiW+uP7KaAhYyQIPA\nGimRMDKxmvmmEnu1doauinBByXtF3BXAJEfVmb4Yv4mEERAtsOu7algxtycQ\n/btoicJcNZdAbYNNl35CQWy8O643rUnCayX0O39m0CNEOstOExoIMiBH1a+9\nAYXEFBY1gXz3DrZGzDpAdBBV9llzbYkD59diwmhDsT99t2M6rJcom8J1hStl\n3APFPC4mo+p45lLXaiivbtK3NYrNuYEpej0KNav2BHHnAm3P+8mYWMl557p0\nhVS9\r\n=VM9Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.896ffcf","@microsoft/mgt-msal-provider":"2.2.1-preview.896ffcf","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.896ffcf_1628618652574_0.0855835950649928","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.896ffcf":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-next.fluentui.896ffcf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-next.fluentui.896ffcf","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dbb0a565ecb16d0cd4ba52b46b8d309109422015","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-next.fluentui.896ffcf.tgz","fileCount":18,"integrity":"sha512-ljy81NoRglYCX9uUEvzv+XcJJtiHWqltUvmJjapXUltCyfgEuj0GVIiXqSN7MUY2OfozWH5rzFnfAEMgJmf7Pw==","signatures":[{"sig":"MEUCIGSnIEJxcqkcqpsKz8+YDvmk0ewlluXVoGDgsB45fvKhAiEAoGiz2bMNKBofu8cCixsOVj02dghPEzalqfL8+8G00Oc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEr+qCRA9TVsSAnZWagAAyZMQAJxFnCp8MRDcmidElu8N\nTpAMJjXgV5NGlYfgxM7s9z1ZiOX5ThaJ+ncuZq4wkFbc8JjuHcKSXXNSOcOn\nHZNKO7Z4Pug2cjM7tAznZkn8cuKS5bWby5TVo8tI7ajw89HU9vjEBMxuoKih\ndPUcEzQBRcubXoir+02kMs0dpTe036u55iOhA/u/ZsnUS1w+qTuZVMcphLWC\ndvbZAS9on8EZK5a+NK0tkicG24Ggc4Hi1igBh6pAhZELNAcgLpwkcHG9UapF\nbI0TmcrkwDhrdM+N1K4GA/H3okT4SWLDGFevnZ4w2TahF6Hpbdjt+iUkIxba\nRTvi392TIKp7dYQQ244B5wiEWvdQl0m1XrawTGSbxOam28FeoUX64Sl5hIiX\nLBzUyBREAo5e2N7YsQIcJPJE/YVMyTgVqECxz6y1MxFx8f7NvtnzViSs1Osm\nHJ00giomwpEERNasWHVrZ8W4tU4jC8A24x6wzzgGFtzXAR+QDvmanZqgt299\nIhB4KxHxsQ5tY+ekJxEvBs0C9sCSK/77NufcJ3+fMyLfwHB9y3hYn8fFShUi\nGaPa9q9BwwRquG3jfqt4DAHORADCAgP1nR2wH9D2CYzrfcdFZuhBF4brtJbu\nca0byJj+/6HoUf99rT4G1QKrMYOLDjP1QP5z76Dono0WTZT3CF6AiD4WQvnC\n4rB/\r\n=kkU3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-next.fluentui.896ffcf","@microsoft/mgt-msal-provider":"2.2.1-next.fluentui.896ffcf","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-next.fluentui.896ffcf_1628618666418_0.9975362905124803","host":"s3://npm-registry-packages"}},"2.2.1-preview.e8e3e98":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.e8e3e98","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.e8e3e98","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"082a06a7a9c3aef82ccfd1a53de5290cf0c7531e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.e8e3e98.tgz","fileCount":18,"integrity":"sha512-BauxC40UOwb6kZaDjGdycHimMuht0zvfR0UpbdlTd0UZlPUfFSHDpjWuNVrqiXX0cjhvX0gvwHIghfuLMmiDJw==","signatures":[{"sig":"MEUCIQD/XGCrO4mg59ECVfP0h8xmq+uJAGx3pouqD5wcZp1N8gIgcA11O4A2/MOw/UIKGjjfKo1vNCOp21Dy4DMQk1NIz1A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGtQJCRA9TVsSAnZWagAAXUoQAKBj7ao9E/U5zLKc6NyA\nrGvo+1rzQDhmTAYD9ZImvh1/HrpBIkuf736EZIoOq8HNjZK6Daox/bxfZiXd\nhzU5chM1kKpc9RvcotUcvt4BrnD50Fmm39TpRu0WiVvJHDQQdJ4tPqg2N+yh\nCXsDrSAb+riT7KtDRfY5a/qD4W0I5swqmNr1lCLW2i02dDVQtrRqy+TnGscW\n02Qdm7k8JJFHMD7tefG/1dKxEjY8wHhMRVHeLAJG6tZ63rcu8UXe8yE9hOGO\nfgWoXE0VcPiVzwTZKFSCQ4svFPl91dobcUmZXB3l0Qi57QrBF7EIEGxs6Ocg\nCX7G2yygyBtDsD3clqErp4Z5gyhz4+UEBU0ozUU1HwLI/C+jmVwyKUenXc1R\nloyLzSmeDwHdGzvwvY8/EsEYYAo7c7+HrxbGeL9qW9fCB2Wmf74HL3lLZU6T\nLrq7Ai/FxOjJifZxhMWv2xNP+17wvermGa1VYBsh4ieXr49ntXGExNf8sQjY\nKVLlHMJ3RoArsosBw9BmpuLlm4/ItdwsGcS/dZCElu3zj0rKJYua9EvGVX4/\nNo3gblAqOJ6a6g0n0AdfFGHooNWoZ8bEkDu04PbuXZsvvX+TxOKqJqH9YwhW\n6RCUlpJMc7lxoqw354XpLS0xcFXyjdMRU466U7u2GpZw/WmuFHn/UrLERyTc\nbN2k\r\n=eLT0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.e8e3e98","@microsoft/mgt-msal-provider":"2.2.1-preview.e8e3e98","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.e8e3e98_1629148169615_0.9723465050116831","host":"s3://npm-registry-packages"}},"2.2.1-preview.3ec9072":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.3ec9072","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.3ec9072","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"02541a2f97c20721f3d0610f38d98f354045a9e7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.3ec9072.tgz","fileCount":18,"integrity":"sha512-aWk1LO2NUvZ0fKkzrNG31cqoyoFdKsO9RxZYQLCW9J+eKDDdyahWn1zG4fZvldF//FPm4Wv0d465WgXIkD3S6g==","signatures":[{"sig":"MEUCIQD6/iT5e2DTLySTm61MAb0PovWJzunHCXcEVD1oGw25VwIgD0de1p6mSF6mHXaU6kWLZQPvXEys0bu2DP7vDcpRLAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGyMHCRA9TVsSAnZWagAAqsQP/ia7L6h9oAZBEXErMhZA\nzTO/TtfL1kLDnbd3sWKqjVHIIjO6YLyNT0zl4c25rcSl/MM4yaaC+QJSixBj\ntJsYhRSnTUJLS7fNgQWQ9VJMLMxorTPFt4uvrjpFmdPOHfKBrGxzH+vv7Jju\n890pCZfZm8h8fqOuNZCP0Pq6Kwi4vQrg4zy8Xmv6DZiNFlv6LekxJdgfuvji\nOAbSr3QnMdgdEwPpH5iLctY/6EJGUCwtsz6Ss4FEg6JrGieokovXE1EYRjm4\n+gwzItuRuadJPDN0BMD3WG917uIdVUA6MtxP9ccXoq80WyR+7bdGGPGsmlDq\nfb6x0R5s+gUwDENpaXwuln24peEXckf2a8QX9di9TJG1MYOCoOt2Mpa8FFB7\n9kOlTrDu0PdjPPHf+gcyhSMaM4L+8x0TrrQEwq6kG7jhdZHgxK51LW1YsMz8\nmA2CWkBsumYLEPj9SlfhtwrH/jwmCZhme+Jb7AfooBLCp4jitVTX0S+5JjFl\nOgKuNefeb/9HHNgKC/826eFD7cTp7Lkgkdk4gh+won2U8h7QB84v2idWSdFE\n14SPqLtafAjV4etp1ElksH9KInNxf/xgg1eOEl0H+riFgKGvjwxb8uU93Smd\nZFk65Q1PR6j23O/ZpAK1q9MDPVgG2ZZMHnHYk3ypN32sSVvoYs1HJbv5UVR8\n6U32\r\n=X4ug\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.3ec9072","@microsoft/mgt-msal-provider":"2.2.1-preview.3ec9072","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.3ec9072_1629168391122_0.59239781410744","host":"s3://npm-registry-packages"}},"2.2.1-preview.c447888":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.c447888","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.c447888","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2f949eba051e0c9adaf7188a281b299d84414133","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.c447888.tgz","fileCount":18,"integrity":"sha512-gj7eV0EsTfKkdFbTzU7uK8WtDUSnZCH/93EO9mPS4ttPLM4HXAESIyEoYVe5TkwMGC/XXZ+8lOMTrSDNudd9Xw==","signatures":[{"sig":"MEUCIQD8YF9EHKSLjn+c30B5/2z2Kkr0qDm5LuVtLsDN3oGnAgIgShFBAv69P1R3LI2BIIESfcorIwhBs3UzrXgWLZC5ies=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG9OMCRA9TVsSAnZWagAAs3AP/A2VDkrZaGQqELrFHbhu\neStaiOxKx781oFGvrLmjpgkYay3J4gclFgffRkv91n3MXbIvN+CbHKTTapV7\nu5ektp0rgVIcOXy8ZmbDAOtdTvx7UQ9A0T2hU2xPEgmiR5G/z1aiLpXXjXE/\nLmt9lw7pf6uQMorD2fwpK8fNoQ14nHf96BmmW74xcpCuz1yjDShC2xWxDNN1\nVV+Zv41yciY7bOxAvEbn+wj1ui93mnaDoOyQctwTMitbDwRtxsGu5phtQjPE\ne5Fq9BdcUnFW7kGX/K1ynqEMmafIigeCZt+BQrVMHtQq3LcoC2uSzL0qAH5t\nN/XvNJ8Cn682IsXNoNbMalqubxARbtr8Ot+B0IHNfgP6/bzxBY4CsJhWpUO9\nRPTnvovXol2Bxu3NK1/quytpIPfr+qY6KHU9ePmvaHuT/SBdVfGov5xFQ1qt\nXweZhH1M2cyY2v0wCWAiwKIC41G1YCA1KA9el4SQLwCiafBeK5Q3BmwnciG3\nThRMNWQt8G5AZ8Bsv/euNBbCdxwLyvBL3uVRM9gHFqFrocW85m2DWDtQSmkK\n1c7dYrGCDFuw2TVTOJ8RE5DjDsZuBthQQJTVUsEfFLk/bj831B1DIemFzH0c\nIY6kHHgmaCGZ8S49rTFSOwGRMtHRDKr8yeExt7ZjWnN8QTmGsxkUuZ6A1iFZ\n4dte\r\n=P+MT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.c447888","@microsoft/mgt-msal-provider":"2.2.1-preview.c447888","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.c447888_1629213580326_0.3531135663341405","host":"s3://npm-registry-packages"}},"2.2.1-preview.b98ff32":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.b98ff32","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.b98ff32","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"28a25457b2f59270fc25c9b90a4901487a43a673","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.b98ff32.tgz","fileCount":18,"integrity":"sha512-p4s5/NaLCrmv1pHRWgdDBj3RDtYrEu220uygozEZKeqd5w9ZttYq0poOoILMRqNjdbSEKafDNEGK7Xvkamao3g==","signatures":[{"sig":"MEYCIQCFyhTCPazZynLNeGSX7UW08F7mvpa5/5BYirXWekcXMgIhAK9pYI1bGNzw0iK+EH7rm1P4tDzdbWX0YwgPgN99wCt0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG91DCRA9TVsSAnZWagAAijEP/2tS6ZK2T2Mn6bt6lw0e\nkDpMvDDf0xT9MoOIB9H6PQNAql1ABHEsfU738Re1xxsZ2zIkCaaf0i+Wjb+n\nBDlbNycQhKneQDqs2ws/RTwCr0IVKarN7ou62rqhjPl35xhUmGEBWREqyo58\nZG4cOJs82PafrZFjpoAhQYG38YSvE1wCk3lEv14W4W5vIxVEAquYuOsyBM2W\n2yjManFcCjcpKDQgEB1UcXtD1o6kri8bkUqAhIT3COGHJpTHIj8oiFe9KMLf\nNiQkEjnTkrffFzppbThvX2KcWSfoHwdgcdXbqX2ADA39Uw0meeVs5qbgVuwo\njmA3CGtvb8hWH4jpgDMiFKlD6q4lONbm1hgdEw4x/odhq08Pi9GvbDVavhDw\ng7Gn7Crt9MpcCjed1ZR5PG6SbijXFrgQAbgzhDCBWROTt5pRn6pSVSu+1a2C\nH/JdOZl8wl0YkbrceWdeMGDE1QmfmNE28sW5PXHYzxoyT3jzaWNUmm3edxV+\ng0xPqU683JiFvn5wfkvR8m89lBeHmF9wVhnR1H30bB518MsRgWENx2I/wuoj\ngMf0J4cm7EjLXo2KVeD6vJ/prth6/eBl787kATWORtsKVs8yNKhwmsuubMYA\nuk0UAdzCh/fM0kZxFwcIdXeTfE5E9U7nJ2ZRw3uR24orHLciUTstZS6QAbuM\nY4vP\r\n=kKXw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.b98ff32","@microsoft/mgt-msal-provider":"2.2.1-preview.b98ff32","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.b98ff32_1629216067643_0.4308529449506868","host":"s3://npm-registry-packages"}},"2.2.1-preview.2940a69":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.2940a69","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.2940a69","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b2a20738a2e02027989cf6c2f214b131e33ef983","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.2940a69.tgz","fileCount":18,"integrity":"sha512-ahWV9mPDIM1fYD3tb6ovfKjDKiGvL5w0fbLeTLR0B74JQK8/FNPPUwUPEtRMEbb+5B0SyHoa+J/OyyEly/nN1A==","signatures":[{"sig":"MEQCIEuaFqZV0gIEp5dyWKp2JN82+DipziaQvrDltehD8IpPAiA1dB9L7Yp2+mh9XUz+arY1X9sNhdFeaGd5qk8nOqwR1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG+TkCRA9TVsSAnZWagAAkMYP/2jaGbtUkzgL4Zkihcxr\nlX4RgPXG2rW+7z4KzvTULhOzP9svmExxRGWH4UY4lQMj+/SjidgzScrYK0by\n8aC4Dgz3hVD7grYb0/+8dB0uVATDYoZI0xMgHu0EYEoRPZXPw1Fgtxx04yMm\nxzCntUo1qvGuJyuInATft0KQjcXs1Q0tFEB6kgGcBC7QhBhuignRtWuKuq9l\ns7ju5q7G5w0rVYCRFQgdE+06IZPoe6bB8S6JhUYqo9YtouUfm3r268YwmMew\nNMmuWqsGy9KFXuW6ZfHiy0kT3uJl/hZVenZRKlt/Y/pgkncAXEY/zGXusZmz\niX1AEDdv1jftXU1BODsGlPM9F7/SPYbQIGcaVdymH0SG8E60p3pgOQHMFOaY\nTN2Z01WLjgcBav7/AstzBTuNFbMZ0u6LXsLv7FuqMwG6U4PTz3mXwZv9LqP8\nFAtPQXlUGCgTR9woyUGIhGDAImJfGwMcyYf+DJwRbA/XvCsn37qDXV+Fpn2u\nulorUv+vy6jDHMrDpV7CcyFU5dlaFAEb3ELlwBzDPXSzQJKaWfCosrW9git8\n0gV+CWBk0pQHsxV2YRI6CLGz6bD5ZQyasLmErptUxB1i3KEg5ANpLA1oCo5O\nh8nma6IxfGEdG/Re2RgpMI+lPdda30darcEIEW4+xPKzgd9QXSb99ows8hOL\nBcWx\r\n=Jo7F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.2940a69","@microsoft/mgt-msal-provider":"2.2.1-preview.2940a69","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.2940a69_1629218019857_0.6483285013352742","host":"s3://npm-registry-packages"}},"2.2.1-preview.d4e6c24":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.d4e6c24","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.d4e6c24","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"35864e18ae02aec89fa6fec37807340cdaba3794","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.d4e6c24.tgz","fileCount":18,"integrity":"sha512-pHlDeqnPRCfvRxHCDsijf3+Q0Rx3oGuHsVJuvRv35C6REfU7p9N625oWq4BoqMkzvfCYkUGMYeYIC4pjuIqJGw==","signatures":[{"sig":"MEUCIQDISiRSp1BeHIxdzAPncUeJN7FfHDsFd4AfQIoS6LLMDAIgV092gB6hYOIWXm1lIqI6Q+5u26Xco88NHhHZbvqVNUk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHAKYCRA9TVsSAnZWagAAOMsP/R+iEe9CCTlq2sl1aIzk\nLKA+C4oddRi1A2u0FFhfxHR26iy1C9kNSdKtS88mKmwwaR5Aiq73Nhu6OB+A\nVNDjvWnuu4Oz1KidWlK8NC/YK2x2lxv44TAoxdpXsoyVSenL/6k2NUH1oQGh\nk6oESqHbAbX95HxOMxgg/wCqpAovvjFYg7X3le9cL6PJcmQYnwYhaJyphf0x\nIVyHxgKVJ1SX1Tqffs6tcjIZQsgmFY0cb4r7oFHF8IJIhyTvf7RxMrWdYbql\nTx5UZ3RrmB+mxYYWQeNIODI+W2eJzEYvSTlkoS9bi3yj3FXrYky1hKbc1Onv\nQo/KFUVfaVbwkapYvYxaEUnV/mCRawVAyv2ShgGJ15PKwGBIHnDVUJwM3V6k\nzQQPlifDuhsjTnY0VQhq9gjTBo1BNhpk3zzMX63X4z5ORmjNd7+TyKbhgsMX\nRFeCI7ZLY4V4X3zAMSpuPjkjPmAORkCrn7bTBvOh063nuKEGDyVmQuceyWkO\nFZaY9SqTpyChq5iiPNCKeuxy0ZMVqSuOQILY9XXyUsLGEJJR/elowJgZF2yG\n9SwiC54jDuptQ8ts12uocwaiy7RpCyVoOClfHcT8ujn7HDTykE94S/qKvC4n\noZ0dqEjIVAFUn/uHgQ2k8CrfRoFWWbxsuqiKW1IZZUEaEROe6aeHATNs1q2g\ni0mY\r\n=OiAW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.d4e6c24","@microsoft/mgt-msal-provider":"2.2.1-preview.d4e6c24","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.d4e6c24_1629225623967_0.8339488812383973","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.d4e6c24":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-next.fluentui.d4e6c24","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-next.fluentui.d4e6c24","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cabea44b87f2338ce21084d4c0e482e2a3c8ffc1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-next.fluentui.d4e6c24.tgz","fileCount":18,"integrity":"sha512-BXjQAmtIvgacMcc2jjz4x0buJP5tRL0nSztpzgB8s/iWpXxZajErIVvC4NqnKT088UCA59T+c8C6L06PgI+klw==","signatures":[{"sig":"MEUCIQCD3DfWqAfCX8ZMkX2TLWzTP5HvHINm4Jj+Oc7TSVleOgIgd8C+f/BHX9QmwDwGGl2jia63ttJi7k0p9ge3pCQAhVk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHAyYCRA9TVsSAnZWagAA9C8QAJEVGP1NyNzoY6riMe7k\nrkBXtKfCfm/W6YpXcHbQNLB95wW/QIAyMtXeJlMEXl/olZOG9y3TxG7S/KRs\n5jdjpxUU5V5QkIIDqIk37lDl7L54nKgp+LpfL4Vb+4dlJ16Y92zliq76gwNL\nGWXS9tc6RRpAefl0QlJvLWaXfCBfa26XR0EonELasq/fOMXJMI0EgwIiTEJe\nVWANvB8pEoa/hNGpx0S9NUbsWfvrb1xgGhfoeBU3ETiDxoGeXVnafKVDGX4+\nrSDK2kTvELzZx6OjFxGG3thRr9BQvLlKd8Y4LBJJGqhtMZUsQ0M1/Hyp/Ihe\n5tDp43NX+N/nbRAAP7/0P4zpiRyBvEVkx0Kcn17GqxhhIs1HuF2zSQItwSkN\nq0NrFhDgyPQgCmtEiVY8blHq2SGwPg0Doqz9UvmGdc2pMefLA39KXC0BJqaY\n4w56xAyQTFBk18Zsq39zDfbZE+k/pZEouKxE157fdH49fuJxv6pkXit6Nr8x\nZN9pkhg61xJCHl57DPlYxVlew7VC1ZBpuokXzx2FeMEF32exyZ2QlOUWhxny\nOqLnUTfJJhN3kY2/C3ytFmdKpBdHOsT7ZeH/3opuuhpD0LD7lWTrJO3U6eo4\nc0Moi1uhSOGlc4FzAuoNV3bdUStSK4RQD1hnOS0uV2H//vY5fsYtcrzuC7rm\nWDj0\r\n=VwEr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-next.fluentui.d4e6c24","@microsoft/mgt-msal-provider":"2.2.1-next.fluentui.d4e6c24","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-next.fluentui.d4e6c24_1629228184108_0.9267320317424101","host":"s3://npm-registry-packages"}},"2.2.1-preview.f4dbf0b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-preview.f4dbf0b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-preview.f4dbf0b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"313defeb4a6b36a5f619852390494914453d4f4c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-preview.f4dbf0b.tgz","fileCount":18,"integrity":"sha512-nziVXEBr6JcR3SQz0zg9kQJMLp/oJi8Lo7iGMEzDwjsWgxp81UjQgHXCJN4R7oNV7SX5IKdyrw1KOCzjQy6SRQ==","signatures":[{"sig":"MEQCIDh9YpSyrxYg9vWsV42zHAtY5LjtpqNJVuD0tD1Th3FnAiBeHvLUKws5K2pcU61OqHOnIWUAWv+4PxWc4AGFoWdo0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHXZ5CRA9TVsSAnZWagAA+NwP/REC7JWrP63wacGLGpj4\nd0Z4i2Beoo3f2GGxeVGpMNN9KiaKdaxvyIHp94mremRM7h1h867wTbUn6KEG\n0gFyTFYRkYX/QXw7Vr6GZ77uWYUZc73wPjMiSRi6LXAUEIWtB/b2qOQD8TTk\nB2rq7VwP2NQI2OXkyTTQZrUBb1leQMMKe7/zvqYb3N1+i2d6+dnXnPOhsJo3\nKtv8vMQIvJHnzPDZOXXT5NEGW6Zmp8vp1QGiOQB7qhMKMReFZHnqbBaLg8am\nWZLI2H1E2vTaf01dDW4PQITSl3kHgOvDlQnHvIuDGesu/f88v3PgXB7i5iKx\nXd5F0iI3mOa4zY7RI25jrxMdW+vR3iSEUd8Gg8Cr5n5+aUhhixluAULVpjIl\nxTYPAyIVHYHwBenvG8naVBEdq80BxHTMqT7iMWZGILvbLMvnL1JcDvLDLbSY\n8ZyMvLP9kbG1qFoLQ4O7icQgepbhKrRp4Fobx6QCkOU8YwVSH67lV7c4wYpF\n+wy9EwJeQN3YFGNlIT4KygS78459W29UKq36w3WjfUdnx2S0YfdL35bYDRiI\nrbD4gZQPjUa/1nYpSW8NzULEpeA0y8tWUeQODOFuF15MZYpbjME1TR2sjJ/f\nDp2qj1chaqybP5pO03FgC8IV0qOH/7lV2JrkRwpHNjGB7yj401M0QSAMqpgu\nD98U\r\n=jmIb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-preview.f4dbf0b","@microsoft/mgt-msal-provider":"2.2.1-preview.f4dbf0b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-preview.f4dbf0b_1629320825179_0.6461390632266031","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.f4dbf0b":{"name":"@microsoft/mgt-teams-provider","version":"2.2.1-next.fluentui.f4dbf0b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.2.1-next.fluentui.f4dbf0b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"85a05d68416760cd2558cea094c1be9060f31068","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.2.1-next.fluentui.f4dbf0b.tgz","fileCount":18,"integrity":"sha512-BJwXmZPerrA19PU9O5XiuqJWPLTgsf9t/N+mcpH9t4keRdxlfXGbcdNwdrMZkWZ9w32Wz0xj48VX9+M51QcWww==","signatures":[{"sig":"MEUCIGi0Zna/+19O0Ad+vPOFdAQzl0ajHHWzUBiVMkqaZeBwAiEAgod/bx5Pk9aC5d+3UvPp73VVmsVKfI2+hPNl9sYKNAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHbHtCRA9TVsSAnZWagAAfn8P/2+PQIURWdIbjTOShUmJ\nkYRpvx9JzQT78HEhIaJ5dOT5nowU9WNIkmtzK0yAvt916JjcqD3Bt6F6Lu5L\nGnc458ULOmQbz233cT+8DcRLMMjStqZfWe0+QVahLReS7/V1HohfHVet+AdC\n6jK3yLjJVfSJp1yIR1mvvcX++4fsxznu8w0ppnOk/dL2cMDcJJNs5dQtXCMK\nJ6EGSVCPMY/u/oMyMWXmOU1d1PVmDuxIq3NTENuuPYjbNK9DzhMegoCo80ka\n6dpUtcMn4xwzbLN2+wUs5qHxjmYiEHhTEitLRaNtjmKdFLifcdBBnGg01xfh\nqu2DmvF0BbszJlzBaHBhUY6zdk92PGzbLhJdReMK6nW40GodQ/tCw/8b43y+\nIy5ayHcWaObGQL+l2Ayd50kLKLZ0qLlRVKjd5/Afa9LUbPWjcSxQ4SmppppC\nYlPcYGgSDtagzTRPWgfGO2sE3ipkPi1Ibb5nWBKw1zyxcW2P7PBzLwhppTMc\ntgPPUZaDUZloCnaRWq9WshXsRsPvXHnWWAutM8TKdSzA9z/khLVerrl3+i+f\npdswSch90ltVPg19j0GHChDyyag1ewqutMT7EyRNSsC7dgsPWUM2ylq9CPa2\nV+7htU77BV4IGsvxgAfVtk5tSf3hUItBaL0JeSpyi/zSBcBAJxUleI9CuHEv\nE5sc\r\n=iYif\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.2.1-next.fluentui.f4dbf0b","@microsoft/mgt-msal-provider":"2.2.1-next.fluentui.f4dbf0b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.2.1-next.fluentui.f4dbf0b_1629336045564_0.6244248558773069","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.f3262aa":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.f3262aa","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.f3262aa","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d112787f7551beebe6a40769ef79217a2a01b97c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.f3262aa.tgz","fileCount":18,"integrity":"sha512-EUu3cfm/BKOc2FCdeLoEQ/yJqxo0qiWlCmwKxbhU6DGvv+0YMfEzgAZLYYrnb/micV/Nj70nbKp0Jvw1yiN+jw==","signatures":[{"sig":"MEUCIQCNMMORh3ODZ865YBY1JejDUiSQumx2osISBdxhgc/B3AIgTr6eQpt3CnCnreC6CpVPKudbfi2eBhxhCDv1/R6jwZ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHbjECRA9TVsSAnZWagAA4XIP/Rdov7MMUXrJy9EYhgCK\nsdUROs6BLEg+1cKDLowndiYNmh9Wm4FDcp/LwOsDAlzA5uY3dCoJRyZqbjJD\n/PtxNd4BMI4whW7y94l419J1XU7n2fLr6/dmDaVKXDcriR0LvspyvVRKYawO\nISQ4md7f2IWH2DuAawkSixdZh5i8Jxo/NoQpUh4M0zAWhfIEALuGrYKxjKiu\nc4k5ECUcApK8tTnP1cU+EaBRP7UEtqQsyqeK6K+/H43J+W8eqRw6H/HmCz2D\n9/qqqlwW2063LgQ5+XlkZBk/DcdFGkBvOlmShghW6DUg2hmE7PGnmaPJfHEz\nJYb+AvEpZno/gT5cckuEzYpaeUuEKSGQy7LumbWqvXzcq+WjjDi8oIxpTyIF\nQGAD2svBm+jAW581t/7XCToIn+vHeHYQdWZTUSAjb6iKRfCa2n+UbeP6I8cH\nlBd8rztX3CRbzqkSeIGQmM1Nx9zBqSuAtPvmEqA68aZRFF4BJcD6/acLytkN\niEgBE/KGgR0mfvNECc+CPaUbKfZ3G0go+Pp7ERmdT7X63ioEGh83P//Ftvs8\nuXbVebT2ip6b1vYHtYae1d15lRxtP3/yrjmeQv7n/eDIc334x3DDaJIEqVwJ\nwEAQFMHRdnLydEHCA+KQstUUP2P+MZuxpzAXlF4qhaV2q4O0cRZncJJn0PsB\nxh2w\r\n=tGWM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.f3262aa","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.f3262aa","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.f3262aa_1629337795981_0.7322286705414112","host":"s3://npm-registry-packages"}},"2.3.0-preview.5b9fd62":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.5b9fd62","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.5b9fd62","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9af6ac8bdc17dc9d43fd602b30082710d3fc597f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.5b9fd62.tgz","fileCount":18,"integrity":"sha512-selINe62j6O7ynw1VHulnbcHLaR7F11lyiigrOp6os0nnCMC0xfsyDIV9g/WVjCOsiyJrFKuw4QnJ04Cf3Tbnw==","signatures":[{"sig":"MEUCIGHqgyE+uXbQtiC/OcTsR5Q9l3kzslN2gQxb5LiMmRaoAiEAoY0H6Zvj8tUb/jYzjxSMob+FKZjlnKyABPb2UPu7edw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJVEdCRA9TVsSAnZWagAAdTgQAIAGJqRMFCW82WFqURKE\nsXfo4CSK3h0xhnFZrQedlY8sPEnl8EVOyG1NPuizvoKBOR2j6c0+mqJJMFU0\nVKwInFkQ3uVKkGI6ICypnAiHCAlDDKfvJSBhfaX50XjCOwfCts4hd1D99BB0\nIA01LCaW8b2nVR1ttMuOjcBU2lR8OEzAHx9C+6WvclnkrgDxjSYufxOYmbK/\nB85epCmo+G6njT6Qcyg7A8sHDKfAcm+RElwTuQWMHNJsZ2l+qhR8nT4Ty9hW\nvc1qNzDuQ5WzGFiT1shPWvhcGAo6gOgzGex5feMfJkwvL7ZgPCzhN38/pCSm\nMKmNecN6Mfj+3JduuXHe+sPLiA4RVvqjRWXDuIJxdbu7P6fuVFChWl0qyBif\neR96Lvr4As+c9k79VnZq3VljqaBipa/cC+yhnF7/7+12tfYAvL7UnV9TL0AO\nyBZaTfd/AFZ6MjlUrewBD91FpMl8M9njlnf/W9yhYhFPpi92BWufu0ynfb1O\nZHfNcbFHBb3irI6QmSnTBkQJXn4QHZS5U9zPdti3czii3IwLMOoTiEn+oyhv\nIlcdT15+ae3FxFBfman6sbXTNu3SoCI7EA0vF7eU9n+WaF4+dRvAHhl69wP3\n8ZNJ35+9/Vz/ZSY5ujFskLi0CpxsDEw4X2hhp28+IIG/7YZD6VZBik2AT0ji\n7Iml\r\n=TyMW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.5b9fd62","@microsoft/mgt-msal-provider":"2.3.0-preview.5b9fd62","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.5b9fd62_1629835549377_0.4464939881728882","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.cef0a0b":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.cef0a0b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.cef0a0b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a5235de9b2a139b1b11fc021a2b0f1b82dbe86d9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.cef0a0b.tgz","fileCount":18,"integrity":"sha512-wsYm3Og5an0iS8xvVqlhqnZvHAWRxYwWRxNmQ2g34Fp+e5g/MdOKhbug1VolfP7ow31rS7PUBghDw4AF1U9vsw==","signatures":[{"sig":"MEYCIQCLvzITy3BRVlniOjVoY0IZxhEpHJotChBZ6Gl/7MrHCQIhAPQEkkmG2idTlhU3QzdA+TjCnNOBhksX80c1DHJfezoO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJZXuCRA9TVsSAnZWagAA2LwP/0kqRLtzwXmsJ4bAESCL\nR1MyKuzYl32MX5w+iWKFa13PArIpKBwzGl7jYOilGLpM3y4SnR4q7TA9BG1R\nDKNFV13SY73rOs56l9MZsbZmp3gTr+ppe8KH4yFQf1z534TWIcLPREtgwiWc\nzLT5jCMNmV/Bxpj4hWqCWhU+Tg2uIbvbFATrNmkqxehJBgrTYSXtzVGf1yB2\n3ob1rhfpiRzycpJQDsLDUDeq3OjQDQQQ+X8OueMqZg+RpUONqEBI+c3iZLgo\narwTCSzcGRSr9suRB1F2gNhbFu1oTXk0mgm+FgKd5hmTr+IlTzBF0/2ktIj8\n06iSl7HqVNZ1n+zkgjIuxvHxYnosHjitprVTpglfkd0qp9RYLnUuBwQ/sPkI\n0zOAo6LamXHrT6qIEYJzQ9d6vFEzcYutHB/hHmM/kc2XWaMRBOS4KEENXTgK\n1/3z4UqUaA2zcIkUjqEh7swSduRZkypnU12/Pi2xsB98WYYWKrBbnkuKfN6U\nl8qEaUoSKvrMq8ngePKXeuy4cZ+SWukfbtkIXYoqUrw7bcWFrn2mgIkzHNc+\nlazWIUSsUuHf/RfhJt3vqLF1LKIr9Nnp4E1VxFsp1VSHXjRE+CH2X43my3Ox\nocJXKtayDCP0DNH6FsoT+lYwq5jSoF5Bm/OmHQa142EpDJk0NTQqSGGw7gdS\nQ32u\r\n=P1Tz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.cef0a0b","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.cef0a0b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.cef0a0b_1629853166598_0.43595186113396034","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.985eaf1":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.985eaf1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.985eaf1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e354e8618a1231f4eaf9cf657706c599a6dc7585","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.985eaf1.tgz","fileCount":18,"integrity":"sha512-lV6ACOpFi5tG8iVoZMwMcK8K6IBEWmf4PNvshszEZUIJY5UQPSQ0dzQbDht2zjltEkL4AkXyz2zHnUyj1rrM9w==","signatures":[{"sig":"MEYCIQDvco1xNXNI9n5ptyFp7UvHOeUE0qyUM+3ZgTXS2cdsoQIhAOjI6Eahtc7h2cHgJ4P+D9yDXwrub1aXv7i6YMyqrsPL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJZolCRA9TVsSAnZWagAAknwP/3BPknA2knayLvV2XuBt\ng9GO63u3hmRhWdDnIfaCWaiul2Ey4rQVwPYSzeTyADBBpbhcUv+35NvgMtNC\ntEDC3QGFSYZnoltUePe61J44GWAPYSGEHYTJB5M8SxybCJQVSM9qJqIqLkqE\nb3Y5BsEEOE1TyXGIwBo0SONskDAL85Kxn5dlcj9GTt6pTc2qcjD2Xn+2axbU\nsbdx2cI/6S6X5zvbcsCHlq3rd0qTI8NgdivXAJddl4p3WB8o8igMe3ir8GA4\na8NXW2P/lP4ZZqD1S4El0eRScZ/zRTU95EPcC1uvYdonBFRz1vkWcmPVxC4j\n4KXUNtFh/NMAtPoIp6V092Qel6zApdJaNFFkNqNEqHAWXEzycppjZgAV1bRJ\nsfzFKXF5jnp+tOLSePSN+TA86a9oRQc4yAg4zT8scqERHKpWwfcfKSTroWt2\nYXXn5ueftF5tUTjlx34zgNi18RHV5tp/l72vs7STlNdYotosWRNq8V2odBW3\nATsm3HWYD7ut3zCwERUk9WXhP+4y5cyDpS9goW92KqH5CbrLqoLj4jT5liCe\n5TfifC6WvQGTrPHtEFIbgyaMDfvt9BDdvmoAh4ncsmPFb9m9yIWryFKP6cZT\nVs3ToyzW5SuUlw2scnGARBWjJh2wTw/aecBniy08inuO+DBDU6+9/uDi+/r/\nqxFW\r\n=wQlx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.985eaf1","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.985eaf1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.985eaf1_1629854245805_0.8918156602868608","host":"s3://npm-registry-packages"}},"2.3.0-preview.695479b":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.695479b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.695479b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"beb9177279a236915e4e98ef829cee6475ed9cec","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.695479b.tgz","fileCount":18,"integrity":"sha512-gJS3llzoQyjhv7KdbSgBiBcJI7i3FnOu8W0Cs+qJmEyJhMo4JhVRUh3jDnWMCvsU9A/CfUjn/jwncMNop4RdWg==","signatures":[{"sig":"MEYCIQCjFlknvuWO/iqZGp19whrLob8Y9X5HZ2ktKi583TAUfwIhAOynsm1k875xXkEhGSIeeMxpD3hHMi0EyMNMI+KPNYtY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJ+czCRA9TVsSAnZWagAAUW8QAJEmbeOh2IlrbthxvIye\nUve20SWcRHo26EiJowFe/ndK4BKluCfq4Sd4lLZaRPMFBj7lO7PKYGr0Z3DF\nJDaCQMaLMoC21vwVRcgTtT8t57OKay/dhAvQywA3NvHXptCLHwyGB5nkqhy7\nyF1av0l3369SCkG2jLYKB7x1wYmUOeErJUQeNmX0PBpm0wsUGcafNPyKpzVW\nT06r7qQrz1M085wsAJ0637krkKoEUTEdcNGhK8g8L9DlBZD3v2c/dlX9kEhz\nSvWd1nFRpN97TMTU4mSex8T4cD8UvLJ1sR1WKkGDyRfUwUw/3fA2zWp3Kjdj\nbW8QMdMDUPhggGTgjdWNaDxYX7ciwHLR8tfeyryJau6FpR7nGgDfhIYqEirG\n8rHGL6j3GuyV/5blm2BRHtYRzIhq1UThVJkJ9mzopKpITXSddZ1WOJRgoaEo\nTGwwKUdKvOmFUB/9wV5IP833RlvsvMTABSGtLj7TxknpQwJcwg7sOCrvKAYd\n7CoNGrTez8106JzLvAasR57W9CLTDf8Wo+8Ly5mxMUIlHiI6HAG/Cnwl8t6G\nmmN4KyJ6rhjHD7Bdtwl3xhawCwDpx8AJcAaZJOvotNbZa8GNvTVzgZ0sXWik\nAGk3xgu6/Dd3nds3DotKquXgE0vYTAv6yTJbBa6tX1ozTFvCVunDjRYNmzxi\nPbbV\r\n=8+Dg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.695479b","@microsoft/mgt-msal-provider":"2.3.0-preview.695479b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.695479b_1630005043161_0.5710545478534355","host":"s3://npm-registry-packages"}},"2.3.0-preview.16b6ac0":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.16b6ac0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.16b6ac0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"970be2c247ab31b72c18f7525ec5584d3c4e6dc1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.16b6ac0.tgz","fileCount":18,"integrity":"sha512-6K/mC8tGNepA3akyidyPG1E0DgO5fpPKwLP3rVjj1AjcG1okwpRl3kWGwAyzbLM1ROhkxTPojlgAjedYk8/aHg==","signatures":[{"sig":"MEUCIQCIc0/TQSGl8J7DEmxeQdZcR6vy8zSGiCsHBsjKTaN4oQIgcmXVeTO9HswM0OIvG6UFnc8CSsY21s3k60N2SMigsxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKDkLCRA9TVsSAnZWagAALaMP/iLfApkGCM9t7qnsXpUD\nnJ8HbZMmhPUIXfsG8G1BS5OlBNsdA/PCZWxQ4xZQ8XihM8g94oB1PQBCxyOI\nI9Ac0KV73VQYMuAaE344anCdvEDqsvnZmR6QCO9Uo0mOYBgptmMw9nM//+fi\npd2nhlpsSyP/f+7sZ3DrRuFqZ6I1PP35WUBR1vWVKBB+8DTZMCNXy3pOT7x/\n93mRBW+4aB2TqfiEqQETWoGRuuBp+NE7iAU4CO6NuoqmGFoKPOxfSmjiyurb\n0DnZbDVaqXToHt/gdR/Ckx9MRUq4dNUg8tdJhckiqP83GAZHO7sEzxWOzF96\nDTlr5CJ4sUyeRQqUB5Be1UPqzl7oajZCb6nsQ7Wdn7I8MPmg+WhAR3cfMKpK\nZXBt9YC5uWKVzXOPHZefu4YIpPod/w+57NN2zcLA2hjo+34PSboO4zke59Ig\nGPerHeyqMNlOYOIQ3x0HQ7tmJthVfdlyYw+Hh1t5b1OEj/oJTCjso85ta+sC\ngpIwgH1RfSrKt3vsRS8kzGa7mGbHUoeJH3RYjmiZd8d+MQqfcIN/CYKacKAJ\nvR+MHQGR/OUCFnqnIfEZhrWvc4KS+672mEiJ1W128yio45KQHAqE640UipeW\nFcZrubnpQPkMlGhOeNNJjUx+cYaCStbJe2upEJnXd+bENdCbRttjNyGtHvQq\n8nzP\r\n=fPI6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.16b6ac0","@microsoft/mgt-msal-provider":"2.3.0-preview.16b6ac0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.16b6ac0_1630025995511_0.6314887772954594","host":"s3://npm-registry-packages"}},"2.3.0-preview.be732c6":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.be732c6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.be732c6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"87a33ba0efbbea8a7b4b03274451baeb8423c812","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.be732c6.tgz","fileCount":18,"integrity":"sha512-Ll1F2wWl9fa84s7dBZHENXuRdriAa0J6rx2DwbnlePmuI8ttrlWbnvdriK8RvR3dJQMS9i8nqA5Y/jt+l1fkvA==","signatures":[{"sig":"MEYCIQDmryl/p/tEEawC47QjL8BftfKKNqr7aBHAbETBGsjGRgIhAJMXLnvbOfFiNkVdNZDavdO0kC8EHq2r2lL/yA9kOnrK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKRmTCRA9TVsSAnZWagAA6ogP/2IFwOBaGZQ/w1RUvmR1\nFiXj9CagD2RujpTidKW+lW/XhyTvwB6AFYZ7nlkvfzBL4W04uoDs/8ntHLsp\nUYmrSVsX2akiWN0+ZlrrvaIHpIfbF5x63Prl4KTh1Pe6HCwdFxbPV7tKb3c8\nvO7SIEsJFB2PJdLSdP0rWtGCOQhrUxBHgueBb50Tp+yMjWaBsHEZPW7imsdl\ngrJxk2i4dEgilcQTscM3YwppZQNIow4Kgw3dBD0RwVboQ86tQoK7HT2fL2Ia\nAHACaPtzaMzqK82dI9L6YlwVzuPPlQfYtmTp28uyqwqmNKk+vVlcOyTxgqCB\ns+yU2zzcRrkWao6di0HvAdiaDcyCGHddGncO7kjYb1rqSQI8hR1JrZwkKGp2\nt8AbPLQLL2hjFaohCqbYooq74ebvH+eOeb1Ce+rkBERgi3cls5VeDCTEDnAp\nDz7D4GRcC51fKDxVWfsGdBGIQpObedjYJUHXN/a2lNJBSZn/L5XaM+t9QvL5\nRRtpZWQLyuZDhQmJjbKwKUP9gk3WljLZDpD9NuH7N3roJP2UiTJfClaY5d0S\nfQl8kunledfb2i/joMc0iXeSYudIaPfqhKFRNEP8FwTlM+5LtDoXIpkUnpEq\n5hybSxRBn5DAI8km/WKi7WkTFlIp5sBe6SAZ/H5sys4WKj4bIDeTUsWp4jE9\nCksS\r\n=rIbn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.be732c6","@microsoft/mgt-msal-provider":"2.3.0-preview.be732c6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.be732c6_1630083475264_0.0076234178613847625","host":"s3://npm-registry-packages"}},"2.3.0-preview.2385e24":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.2385e24","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.2385e24","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"64bbcb0b765fa8914168518bb8a16d43b093407f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.2385e24.tgz","fileCount":18,"integrity":"sha512-E/06RkpZBfauUs6BNNhuHVXRbY0VhI2g1VAq/T2/YXZeM03Q3j/OM+kopokxYr/A8yAa4ZzT93/4pRa4MlVatg==","signatures":[{"sig":"MEYCIQCG9D0QCFjqebE2OyU6g6Hdg2VXjX+S7JlTEqnLQyIa4wIhAJnSPDdxjN2xEMTsUSOSUMuPD+EN/xz4gQiPGEejt6sR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLUigCRA9TVsSAnZWagAA8tAP/0rV0Cmkm1LBuDz24pLl\nrKINPO1pKoZ5jGd1UCnkVXfeLXun1T8uGh0f0RVt49/TSmksYgM3GtKMJaVo\nqd5OlwXt+k7NAaSAf21s3Ou9RCZvEAjgrHU2WWhX4T9GfGqrxXstuaYUCvwy\nhaFdwXK8S1XcwFVhEEh5iMSp00pP8QfMCFt2S9d9Fp8B2YNkF9jjHnJy7eDw\nOyUcnA5k3aYC+YwhkIWnpKDRhn+rjKTYkHuKdNTcMDHL0GPptbEg3UWnkVam\nSLc7it1wtN99lcrzfg6o+jUspDey8XuPq1eYwsIxNq7XApI+EQ+eMiObzlz2\ntHXhWXyDNyOJV57G/1w9lA5fE1qdsdwqn98xqYahQ2ZAZg4urKTFR8KoxdJf\nX0EdyOmiwI7h6fwPhv5OvPzeEW+4s232L52TSiV4Wnpwtc4cQhRcbdeWkWm0\ngAxinNZ2BCQANwrIVXw3YCcSP7FECq5GL6jJwjsYXHRYGHmnfVwjG/GaUZki\n9Dktkp8PDf9mcptt9Z0hNrCyGm3K4fOwtPBxnAfkBwB9udbF0x5L/rsSZlNg\nbLXKRqpc1vq5mHDRHKhIUDK1KGoZnLxxNerejFvSpZ9AMYzBITyN1xDX+XKd\n7WYArsXI6mwGEW7WjQHT/1cK/EJA4ch5XgPYj/HKj+CUY8n3WJ620T3dr68Y\nilk9\r\n=ic4D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.2385e24","@microsoft/mgt-msal-provider":"2.3.0-preview.2385e24","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.2385e24_1630357664733_0.14507794519745887","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.03a2336":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.03a2336","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.03a2336","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c08b29187647839aa58818cf47944b1dfdb8505e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.03a2336.tgz","fileCount":18,"integrity":"sha512-Ea0r13RPO4TOWYOJly0TzqUVIHBL5I0rOOZWDJhV+qOYDcuQdHveqKgtO3pmAjURuxgamoPTgDZk+x1Tp1M5OA==","signatures":[{"sig":"MEUCIGla9nPkph5TGbUtjGiFoEgk/GXonxtzqnH1ZnlKJTEpAiEA3ZdpZaRjFxqOTAv6BSDj6axEz/bS9NKparC4dFBdbg8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":720589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLsxiCRA9TVsSAnZWagAACT8P/jubW5PZuyUHOIJZPbzo\nnBl+KOf6AApxf495kTkqF2F2/XCG+D5wq442CRY/mr+GLtcyALOjKJAM1NVA\no3MOivU2s3biySpXfIhfxxagcj7C4lFam56ynRb8QxI2nItIzmBKw2598QwZ\nxIlsbEM0vN/YnFgSV3bOepe0VPEN+WG3dFsWyqUQYncozfKnhPjk4XnCLnyB\n5fnjSiuch2BPYS7fsgihDIrKK+hvUp8ZrAOC23nMdfiHEhVMaNytrl2pIJEY\nnWDULymAU4xLjZPdrKsi4RgaeRMR6++1fZCNgJfW2uiGk1eZMkCIFGJmWorS\n32igr3nOImeiGiMsTV2xyr9jpELbrKDdA0rdFmLI0I582FaQe13I/+c+JQRx\nDt1jzMCp25ay/LlohEbTSIGtwxgu2WAfbBmZGJ3hkyUMaDeCx2p0YxSBcKp3\nwByq4M6g4M3xH+l4SNfNEY6LeNCPOLbxFGSUfLncaB3Aolw0igWuH+Lq2fJv\nS3+n+lS5hFh/zEGxlPt7JgrIU91PzXtUISA2IfY9ubzUrbtrGOe8W1V19ccC\nmGy2t6+sQDfpqYjQ7RWMmyP5VUWMNRBP5D9Ged7hh+vB3Ln/CPfq4fhJvcN8\nfwRYYaeH+g5O+ZXSHU1AQC6I0ZTBkrH5ZIP+oEkJHR+AsczfIoCuue3extrL\nmHwX\r\n=oq2b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components.\n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.03a2336","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.03a2336","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.03a2336_1630456930248_0.2578357828326341","host":"s3://npm-registry-packages"}},"2.3.0-preview.aaf6d02":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.aaf6d02","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.aaf6d02","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4283f41b93f40a8283ed9b0b6284b56021dec4d0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.aaf6d02.tgz","fileCount":18,"integrity":"sha512-fPRcopkDQvxCVvJqck9MGU1j7+/4TCc7MJY2Aljof88fAPmX0hBTtZdBNJFQq1tnTLHSeMhjNDxVcyVRrR1gDA==","signatures":[{"sig":"MEYCIQCs4QmcFElCVt7cKCTn7BwNQFAbYvm/a4y79JWz/ivpUQIhAOLVfhJR3Uwpxljl5eG97QyfMzXNjFoHBvhJ9bA9P0eB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL9M6CRA9TVsSAnZWagAAhT0P/iV0Sp91q+73hNOZxNIb\n2eqRHfjM+km9ybVVMgokNj77gEFth8fqyTxBna1ewQ72zroBy6Gr6g0WDS3m\ntn9zV0PTFEJ8TEvknULLcCoDnMAKkgihhe4mWdr8fU6VCLvV5gVNthyvb6a3\nW3F7RRLEgupQiW4UuYe715dJQwFwH5KCL+Ggkm6kahvtIo9FR8v3JiPBHoV3\nePUghBzHj2tjetFg0Aky7X9GD3PTEJ5R1ALwCHm6ROCE31NIRIs4lE3hTbn2\nBR5nLfDVMB+akYAKb/ogQBsM+jP5J7+oHVaG72IReYrxBjLNTS+CDIcy9f4a\nua/d4btt+RHgSTUPDVZUaF0vbPpOSZzgiURi78viqHo+isR02/bN1sEdp4T+\nF0IGKnkTKono4Xc3zdHCkFyWQfVbX9DABpqoYOkMmTOwvKcvPQJN4Z2g0DQM\nRxqySn7iTXIfB+J5rLB9Rs2dAQ8wa+0mI4J/A8yRbJQsGYQY0tGh2eBubp6m\ngaAun6YV4rIW2zot73GU8k+4a7hfJVRhUERXeWNDWTDDOBF0XOQI/RCfNR+G\n/v3ZykIBUQjlw/VFv7bmg91ZYanh0W80nW0y+FJVscCClufjQ2N5EdGGbRuy\nq8qn3cbWDcvRZsipPFPKStFYFtd+YzLXxxNRQGW03HKUeWRBk6XG6JPFMzhk\ngK8V\r\n=kJCp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.aaf6d02","@microsoft/mgt-msal-provider":"2.3.0-preview.aaf6d02","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.aaf6d02_1630524218348_0.05890620941432223","host":"s3://npm-registry-packages"}},"2.3.0-preview.3877d84":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0-preview.3877d84","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0-preview.3877d84","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"94963abb509a37bf208fc983f868bbfae64f25c2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0-preview.3877d84.tgz","fileCount":18,"integrity":"sha512-/j2bIhJfAwE8SxmnB6iip4POw8gj4Ue1qBLxeAedKTM8YRoSa5JTq5keV8HcUgno+oxzfGbr971YV4gQC7bbow==","signatures":[{"sig":"MEQCIDm0YG1CiUHxCcUz+wYHoEPquqY24kfAfc3j3LLBAicQAiA6jlJbxB+FiLmVIr5fNFOCimP0XWqQHHKOYT8m99Rq2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL+86CRA9TVsSAnZWagAAhm4P/jyU3IRjFoftJw6sqrLC\njLrpHvPjMGJ+nj3mp6a6P5G06XrQ4AbvhOOQ64GYGnQH/K2YHxzhdPEKenpO\nfTMtiUo1GGCZvH7JYssefe685Ia12PqmVflvJEvsrXaF2Wj9ctrMEN6dq2N4\nhBxShHpKN/XFCnoRQ2mf6J44nPNq4RHOr45oDA1s7sxL/eKqBhrZkEeqE+mk\nSvJdfTuJi3puCmim1NdtCnzVyKg3oojGkCak3FRfx1tQPaXYZ/Wt9XFkBvPg\niUxvLJyPpqmMmlnmSLnDHmlyNyzZai4+WenOZP9R3rRe+889BPOupGnlafU+\naPrtee4dnY7V+HTnnsnAElhiWNmo6Nu0FszAMep5crl2aymKk9kxKJi+lsFK\nPRVqiBgjbxL/5aDCCgtp5oyWbmDeLRehoWlhx82xuOcttM++S2C2l+CM09vy\n7pqEzPt3cVYOXKzdUfWifTM9HVCsukc64I1ytk4ZiJXOTUVE3nM5IPXxf4NW\ngsXeX2QVCKH/8WN/J1nYrmU7gDIDhRIxX+7CeibRvQ9EZ7fiqqNp8n1MTlA9\nM03zCidPDwVkXRnGMOAFuQN0Hr6c3DpaqoW5yJfhbEkTYfqOSdBoF+n778tB\n7Lk1SqQ14fYWmKiPA5MjKAgfow6M2MpOIBFH0jV+DYtJk0WKxwkyd+9jngHI\nqeoJ\r\n=qBEr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0-preview.3877d84","@microsoft/mgt-msal-provider":"2.3.0-preview.3877d84","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0-preview.3877d84_1630531386508_0.3090258348294921","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.ea07a06":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.ea07a06","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.ea07a06","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a264e8a1a75ad04999c27f95136cef25c5a24962","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.ea07a06.tgz","fileCount":18,"integrity":"sha512-TUmGeKntqfTv3Vvj1j/Lx3+h2f124oJSzyjpx82cF/t/LUeoFUUCYb41v7RuG2erl0nm5QDYDpOtrJRkFu75zw==","signatures":[{"sig":"MEQCIDYPyEJ9tHYOvuRA+2gxFQvb1N6D9Ftf6UAc13GGMBVmAiAomuQnVQKkN2el1zro1ZBXVzziyDY1T0yKYN4SItsQlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL/X5CRA9TVsSAnZWagAAhFEP/28oyR3wROCILyedOKvS\nKZUuqL5LmRYxJOMBZk69roykvOCADnd6wFx2zS6W8KtMiqdzTVqUA0LZbdBx\nwKLKBNBVp+25ybldYmCLQRGGjGjPMrE3j9BH2DyGi/OZVG3Pa1IPggq5t7wb\nUURgQunfQcAY9tC38DDckWYDp8yZFdXJqzhc7Z/EUKxbP9tx/SOaMYxuKHdB\nFSkAB7WXCuUM4zHnuDlfSAkXOVaHehx8ebxDAoJ63Lp8jGNIZtDJFy/ACpZ/\n7ggmeFnQQ2bfaIGOWmEl0nnU8i8oHQXp9mdeB7NgIy+qRlPowkApemdMflZi\nFQFP0xnTvhHeTdJHb8+M/F8h0cHTLB+EKra2lsimXaezuqWk2AMWCurl09Na\nfkSbyg8TO4rkYUh2GyZCRPBe8CXDapUk9eiv1zOQ2nGyvxMX6H7+gpZq8Mav\nB4zE4xiaAZfQgGuqZ61ijy7fvKArYILY5HCjnlpDEcpKkn3uQw/LjDsebbCu\nCXgVcTlZa7hirLh8R/c1beKg86fzWEEKXF+SSfmzn1FsiLryawWYjh+byADg\nG/XKzy2cBVuBXQ4AkFttvP5of1LBcwXviOE26uQnupoqhI2gzBPtg9JZNr2y\nzO/Hk+ZiyaTIvVksENIeJlwj4mZnxsenxLCvxZklkUc9TJ8sA8RiPAtRnAbg\nAOHQ\r\n=uRfv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.ea07a06","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.ea07a06","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.ea07a06_1630533113183_0.313947639587451","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@microsoft/mgt-teams-provider","version":"2.3.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0d1cde288db077e4333e1056ced8669b024bcb42","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.0.tgz","fileCount":18,"integrity":"sha512-ncgmwVwHv0dpazJdj9ZMjgbyPjtrbcvfcIhKood4JBL6VkZEtUbvwLjJk9bnasQb5sYMMhvtaSefhSIVxNNsoA==","signatures":[{"sig":"MEQCIFTIsaVVf7pgsdjSfxmAB1jALzQ7Bab9Y5VdDk0q++eHAiB5X6Gowogr176jQ51q3keN9wMU/8Xcqh9r1VduFgAXbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOQ10CRA9TVsSAnZWagAAVWUP/iP1OIPGB5HHPcj5Oteo\ncn90O+okxFM97ixQCZhJtyzd3lPBxN+fk9X/jHZtFDkxRTI+oEWawpC7ZXFG\nUg359B0jpwcZXvUoM3TXPrNivj51T2dNKikuXq9Rkz50tWFpSuAWrtqux61W\nS3XHQnKC/NsSc2aCGiGP+IZFWkie2Ehisb2RmYaIAbo1IbqJoARYGIDXQyyj\nij4R8dsWEU5wAhvkuR9tSRYbNgSpFC8i9du35jhpUoJm1znYfN2cM13inWuH\n57MhNRpbFHv9eZbj3cwGuqGAFysGxQEOVycCamQOEIMXbtLrimDi8OTgNvlf\nsHDeChily6kQNMThjjqPuJuqNX8FoSy3koYo2M/0k8XifGnBisb0jdyJL9Io\nIN8KezqyZqocM2tixTKVeuTAUZf2RvhFvfUjX1+E7VFOS+gHD6Auo4fRGk4/\npMNFGU6by6mKKIbfQqoWeW3vZniDF8tBUlGzFlyBwueBzQdmyyqlc9DNwn3R\nJJuT7va00sezQm6wAQP4iy/lBu2KOx0qtCaUBQ65fjZli5cqHz6KhSOtP0wf\nz5L73sst9WkpNHD4q+uFK0fG7iYAMKAbq1yB30Q/uqhV6CqtoxmJFFMVOmQo\n7PPQC6pI2YYyWAJxEUJa4RiLUuCLjcPqqmaQnPaX1TWsHns+0ak2YTHtE8KI\ncA3J\r\n=6lgI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.0","@microsoft/mgt-msal-provider":"2.3.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.0_1631128947867_0.03573983500350186","host":"s3://npm-registry-packages"}},"2.3.1-preview.8579fb6":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.8579fb6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.8579fb6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a294979109a06edbd3c74bdb78a44f3d6c893869","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.8579fb6.tgz","fileCount":18,"integrity":"sha512-pwfAPL2wPn+7tfdLEIJPyjVoRKwN6v+e1QPaDp9sZ3AJydNRFp3o+KHafy9drkkoku9CapXwWZTeS1eaUNZycg==","signatures":[{"sig":"MEYCIQD+YyNonrC4CCJl0vhD7GbVqjQGbY79vnQYeuW1zcjjAAIhAOEnOIpPMpaL5hyHg6HrF/93S+BZ3In300hFc4EskCQr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhORKZCRA9TVsSAnZWagAAJqwP/R3aXt5tgWZiYyoMiNQM\nN9Ya3SXC+0nn8giVCLILnOc+IUp6RfBv/cxlaxQHVqwr8NjNxdNNeQNeaQZ1\n/PRCnDonlwTa7tnzIvHtbboqlsDVBt3r+JeFvBjxTu+KJal0V1fjHb2G25Nq\nYlBlWgMbXvvSapqBofJvB6itccVzCz+6iVB2H6iJfzDLr8mEA7N8knWaunEY\n+Y4bh5Vo8V8QktPkKMLvsPiWhoic6WjO1+vZK6kUa8V1RsQjW7oEKL1NtNcE\nCTTDD2C0SpD3xjfgqFYZ/qFeRlF6ViIyANYhHPQ6C58tPrW2b2oJ0PsKbMn6\nnbadxayyRata0hm7OPaFh56rUcMe3HE0cH1O+gP7a+WTBL7+g5YuMYC9TeGq\nNMxvIlhQBn6CclLxxD3pGMXOGLlF1/prWre8BnNq3xGCye1kD9s6dzkFxoQm\nSAcWanCL2x66V8nrD35z4s+wGFSwMmCqbQFjStznOMlg/dsi9k49PpdvlbOa\nsfjzGYwXMQGyMRAYin0bWCKeGWH2jK1ZuhzD0T66Hk9z0cwlLuYJmYUcPUoQ\n4txTMvVA8YZAEphTWmCNjBSKod4f1BKHCFRNZlqrO742Zp/WNN56jgmxQj6H\nf2Jt8WJJ7KSHMbzxRyiOrIX3P/MXzR355umRgyhCoogm2Lv8r3/D7LDayZtr\noS0A\r\n=hAJD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.8579fb6","@microsoft/mgt-msal-provider":"2.3.1-preview.8579fb6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.8579fb6_1631130265061_0.8487758100040459","host":"s3://npm-registry-packages"}},"2.3.1-preview.80de89a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.80de89a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.80de89a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"177079f7d7c25693b1c60646f5bc6c0de1baf222","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.80de89a.tgz","fileCount":18,"integrity":"sha512-VhX7/wo+tdoaZlkwiOeEswF3KZ/qXa1ZJjeFNRoIA5dRmJndWVEGeqE9n9QFyn0nYTVXqjsPD07Ng4SkeFD8/g==","signatures":[{"sig":"MEUCIE8oDB81dguqSBf4AZ36bU2Q5R0oju42SMhgZhvKiwu0AiEAmPSq9Qk4f1HPtYJFsE0mOmxEJ4CdIMOo0dGNPaWCMfE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQNFcCRA9TVsSAnZWagAAkU0P+wZ1mV+clorTVYQXOkR2\nu0rulN+r/SWGjP5K1itHa/HE54mvjh/4icgt+MPFlHO/DvWLmRTafk3K5NTr\nM5TAvlMVi9hTHAHSGkiSIobMwOhhhMSG8iNVrdNL364dQehjWEgOsj2NQwc8\nNm/g/K+GcvZ7xUqsbVHB4UzHYSzWlF/tsJYohNjMrdB0Slu/cX3LOQ0gDZhb\n2IT/SJPmk7NK6Pa7uzpaXbxxG52WWuRMCbv6gJGtw9E/NAbF4GbNLHE2LrX8\n/xClAOiMUv7Br663o28eBShShv7NwpeDGVkhq7R8s8XiNkk+SX/a/7rHP5W3\nH2B1xw2q+qmWgwPPpiAav9tNwr1ydVy1M3vi3fXubc90zAbzoloi984oDJf4\n96S0Awjmibm0D1uclJQrINfmoJpFpLzzYMlGIfl02fmeU06KJpRDDIlwdvVY\nasb9yQFK6w4arauI+YdCE2GYFUkUl+cMZds1Vr4sVpScMX5MvchbwGAcqE61\nzsEpXhpdmz99gtwWgGAy6OrXC5ibVLnLEf2n64O7u64tcEnJ1wdjzO10ueVr\nWu+a4C7Eq/QNeCgd4l+z7oEh/DRaECs4vq4pEh5iSVa5SKcvzuaNoTkX78O/\nPtFgNUk1sbZktJdISP3G4yEsOel2DmNhCjoSDz/LpFnB0BDylhudKmAXOLTF\n2GFc\r\n=AcFm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.80de89a","@microsoft/mgt-msal-provider":"2.3.1-preview.80de89a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.80de89a_1631637851866_0.7821297385143284","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.321e6fd":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.321e6fd","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.321e6fd","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a515fad12dba082a40aac4867987e7d43f68899b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.321e6fd.tgz","fileCount":18,"integrity":"sha512-s/hUfbVKcbl1jK/C2b+CnFDKIev1xAN6Bau3lyb7ZLJTNpMCbhfloIKdU17+PZIaSXanVL/yW2c37uLgYuM8Hg==","signatures":[{"sig":"MEUCIQCAciyX9rTl8+RVntGgu+G5bQQtn19JM6SANkeNxAzv3wIgBzW6Xx5hvcdjFKxMIcP0lMn1jqumd7qy3eOeapRuRmE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQk5LCRA9TVsSAnZWagAAP9kP/2rrhKe5TYF3YHbuRyvI\n1Q/HaY/koBBSjIvpkLAWecbMBWIPr71WDa3NNLx9aaKEddTfqBfl9W5pYMz6\nuXNz0au9M4lsSeEm3G6haAvsD5dQT4M0vuQ1tTuR81nnR09rfo/ekY1oDcij\nIQTwx5M/Kml55u7Byc3o4wFLK+hANP1eV1C0vwI4tmM6E5Jc8ts2xh8fr7RM\ns27S3PXF57Q1Ya1oturr72ftJY9eZx86lwwA5mOL2/Xq84diHeG965+H+kfw\nokJHpqWcWd1oFVVNPvCaGH5G2NzdDWbD95z4Uxaav/IV1js5qmSOA8265tFC\nmxanNoo9Nu5kkypu1Ghspqj9gLfUYs+nNthDCUlsbX/uH8fOgTvHFzmRe+2y\nxDyZh7uxaKdRNq65mPVOJSQjzRAxGR2rVAVzhgQNFuRL8ZwvwegpyLILUIgy\n6mejTC8gMznU/iH8jQd1VishRR12q45RhxZPysiFZAXeRce4GK49IEruKbeH\nQqgMldPQykT9I+VuV+8yjLCf530N2maQccivpWHcJnrdoinexgwqwrV3h/RA\nEeYvg4OmMXMWNQN7ABA6TvB04T23NjN0o9CyEcouxY8z41Pqtal6h6UE6hz9\nqkYeoPuuVExLYl5m0+RY3z3wqm+fBLUKoKsi9QRnDebR3vyvlXnb2zEF2m3l\nLGYp\r\n=QfeW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.321e6fd","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.321e6fd","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.321e6fd_1631735371089_0.9366866742854651","host":"s3://npm-registry-packages"}},"2.3.1-next.teamsfx.80de89a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-next.teamsfx.80de89a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-next.teamsfx.80de89a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d3cee690e8f89fca412b3ec139061b459cdfcfa9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-next.teamsfx.80de89a.tgz","fileCount":18,"integrity":"sha512-W6M3s1MeBRGjSoiEwcDfFdcV/cvM2793NPS/Bc70Do9/sR7G51t7UkqbjDiciHYv882BDm+sERCyzP2gS3hv/w==","signatures":[{"sig":"MEQCIDugOkzCtD54PFNvsErLz8tk1ccvehQsOrkPAVD+D4a9AiAYs1dxH2cHe1As4U7za/mJBBBn8kp0ZNh2yrjdcTpS1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQlKLCRA9TVsSAnZWagAAyT0P/1iaaEjEUcsKIqfIkXg2\nTMUzxYzfUGWehAOZKqFydIt0/dInbWvRkkLFPrrUlT3/HT4p+gULWJV8iTvF\nBeyPxrfGk6pKWGlXliUidhUWfeisPWYCreeA5Z9f5UvL5RV4z0bAThVmSLbg\nhZLdPXFh03XSrUq6a+7Pc9YmHSvh5GLjuSYWLH3LDdMAcIO9GS4wsb7CNYIG\nlwW/jBnBA7lAq5uxeeETJ2XAfwiaNdxPHcHcYvsiTP7T1b4qUxu9lUhQwP+9\nmTZLvq0inoasLWK5yeKUE8fl3bKNseImFvQLqd/tXFBzXHSJ+lMwqdIYQfEj\nho82zci+6kpw8qSVfxuvGEQnJCVy+a7x/sTYTdljo5NteiYv/iGvk5e8d4pT\nfB5abGefjRWjZ3N4RYinOnoZ5E8ui+K+YgUUGde3AxpFU+29UOSjZ8pNfOrU\nFDd2kDPy2WHy1MPZ2XZmS3890XwtTRc8IiXDMHaPfDLcKfDoj05kYO2tbMr5\n+cE6Hp1IY+MMC0rSDGbKmRWfKUY++T4sBHw/30odWA19m3kqrn+FeZmhCxm/\nutIEx3/G7PaEf6De/sO3L0c7VV7uBkk+U1yE4PN++8ie5Pnc/i5cfB7Wn2IC\nhALKhaPWqUsoxGkfFBSEvDlBASryqzVmOJ+LHYwOlnQhpitxWGAGJI653W2h\nhp/F\r\n=vxiI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-next.teamsfx.80de89a","@microsoft/mgt-msal-provider":"2.3.1-next.teamsfx.80de89a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-next.teamsfx.80de89a_1631736459518_0.8154798445026916","host":"s3://npm-registry-packages"}},"2.3.1-preview.cc042b3":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.cc042b3","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.cc042b3","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6d7712266fee9c6f625249ba0e3eea783a3f8a66","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.cc042b3.tgz","fileCount":18,"integrity":"sha512-70lEVMQCEclNv+mkMr09M6Qu6PUcFewrFw0MjO9fZJDiZGd23V64I1Z9kYz3HMyaZZpyYUeRMVO5ipY6hHIhzw==","signatures":[{"sig":"MEUCIAN7LY8Nal7gHR1SdMcFHaA5jBNdHleLDMutz/TWQsO0AiEA1Z+bIuEbpxD6dKacjbKv5elMGltjr74aA/41QrXoyH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQlV4CRA9TVsSAnZWagAAtagP/RDg+fyshOMmxnMmo/SJ\nRVy066Vv7tfzbVFbPZDSZprJZnAO/f+V2bh3855X3m6tglon+Kh64JGXdRkZ\nJQVgmjPDjHPp5Cd6KpadqV0EXuGm1/Z4Q7w4/DlpSsX6uplC9RsS207/EAQH\n0PP06LUFWcV4dtjr3ULooU4IdO8ShQdEjhp+T/QaorZkJZ+6MN31EFmI5iss\nZ/j0PjEnk8U8Cd538rwwp2B7eersy7AWISNl4GMTFWmPSd3/wBHLPht+Jap8\n0WL+7GVgQqGriHqCzDlDr9H5xl/cT+m6I8+ZwH48Yn/p6TZYWcdigWk447Nh\nI0+APQArlu4eiVfMfzhWpNOGWEpv9dwc47cIB4fweAz5d1LZo4M3SKMsSZ6q\napAStYEwRaHlWUylFvPcXBItkHtY53eW4pw/ts4T81uSpgpZVuPVYT5w9ivz\nxT+UdmPQcSFSf2tfYgIHt55MNuzU5a/lCNbOcdZ6jWNLdsTJRDhKmJN3DICR\nVBO9jM1yJtBuzuetmekM4f4Y0U+zVjH3LAphDYUu12Nmw3WkOUkgijKRdAUw\naL/ffqBLofsmWLJ9iKA/5M5JqBc6rbukkczaiuBU+zWlVxzhSfIv8THG9YWy\nMBd6hqLA6rnqUZEYZtpeH798PX5Fu7XhK9lqcwnpIJ9Pcoci6BLfEtRdkuDN\n40OR\r\n=x/P/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.cc042b3","@microsoft/mgt-msal-provider":"2.3.1-preview.cc042b3","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.cc042b3_1631737208012_0.46827486562135734","host":"s3://npm-registry-packages"}},"2.3.1-preview.4cea86c":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.4cea86c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.4cea86c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"418090b8c0d036aad69c65ba2160d7ff4a633a7c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.4cea86c.tgz","fileCount":18,"integrity":"sha512-E31wwyD3lHhsd5y6tiYoSAhiQCbHrHmxMfSD68ovgJQjV3PKmxKeKllscj3NYIYQA4FTkj7qQfGn/fTeDYrI2w==","signatures":[{"sig":"MEYCIQDx8bXXAURkolt+lI7QX56PbtE2NmWzSXBl1zwZA3BAtQIhAOVYMAHMgCm+6WqOJi9E71mLkbI4pCAojp3WZadiYhVZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQmZsCRA9TVsSAnZWagAAtk4P/2gaweAVAr/x7rPCiXqs\n0o3fDr14HGxVvfgPTO6L2Ex9UbiECaRvB+Ge7Wx3h3jhnCtPXxkhFzbN/qOW\nU/JWo3nevgOXXfy43nSfkNQ8GsM7Zd6MMlnwkoF/wh/johLi4scRQgqw5wQQ\n+HGM1Ym27CUT4Oi3J8cxbCTBoMi1Na0lrx7EsTSadUGCuy+mwAXvH5xizbOp\ncbQaL8hv3fHaEJUlpZancFeOgd4VYrxt10Ph15M6dURShH9/tdZf7Gbzy1j8\nE3BJKf6f9jhjRHgtgDPzcnZ1/FIP3O6n6z1c5DY+8CluJ6ATGvErU8SeS82l\n/qH+PtYnGtruwaVm4Y82VTlJ63+WciGT43WH5gALs6BGsO9lxznh8N3hLLMn\nnWatzFRlHSX86OF3JA+EPCdA6ZCx2rMHYOtZ+lASGMHvZMeS4cPFrdw1sW0P\nOSzhmlV7EbnaTaOLMa+8xo4/GKK/aPo/7ITk0ZxD9SR+tkpo8ZTv9kkCg/EB\nHF+bsayBoYeY731zi0ceAPIuSMZYdu6EYtMfQTqbSZHnBzHb+aKMScdn45nf\n1Ayr/aIzkDpTa+4vqNIyZA0ABDAalaTA8Ug327IqKB35TmPsPNJAcrnc9w+w\n4r2Lri2Hr4299MPtXH9CvYxTYus7wXzeUPbbu7yEg0PZThLp/xHDg4u76ETm\nery2\r\n=Nkl+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.4cea86c","@microsoft/mgt-msal-provider":"2.3.1-preview.4cea86c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.4cea86c_1631741548468_0.3397624746713148","host":"s3://npm-registry-packages"}},"2.3.1-preview.e68a1e6":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.e68a1e6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.e68a1e6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"46685ab1d279dba3f3abbd2ac8d62c7504643856","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.e68a1e6.tgz","fileCount":18,"integrity":"sha512-D8wD/HFlluGQJyaCDyNT4bOKvvWanRupMDdNE0SuctGbC0HTSEpw1kYpG1mWMwOXYRIQ0jZixm14bs5OuC1/hg==","signatures":[{"sig":"MEYCIQCD0UZNvyUQ0bcngCd6heKNc0l6/a6OQG2n6NComBhCVQIhAMEiATBiJ+B7EgI2t064J8FXtbB8Ls5E3h2DaL8OG372","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.e68a1e6","@microsoft/mgt-msal-provider":"2.3.1-preview.e68a1e6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.e68a1e6_1632243808004_0.10903012751075458","host":"s3://npm-registry-packages"}},"2.3.1-preview.ebaf278":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.ebaf278","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.ebaf278","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"fbedd7c96a2597215e53053592520d031d7b7b7f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.ebaf278.tgz","fileCount":18,"integrity":"sha512-SjsGVvRT+hSqlwxxWuRJaHYewu12yaseOX8lgpU5unXAXYllS4vsURpKiJjBUNshqV1kRsTfoeAeiY1Or52Xjw==","signatures":[{"sig":"MEUCIQDTUf/jvS6zWynRUic/xVUvlRJWHFzjfKgABpG/RvB3BQIgWKh0Cv+f1S8PStned2lyD2c50v1C0iIMIIe02dPihm8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721337},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.ebaf278","@microsoft/mgt-msal-provider":"2.3.1-preview.ebaf278","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.ebaf278_1632340549640_0.913419935138682","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.51aa656":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.51aa656","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.51aa656","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"35dfb2d5d04ff93a2d14c74ed48de830b28314f0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.51aa656.tgz","fileCount":18,"integrity":"sha512-g5dra9xRw6/I+mZqvstO/zU6/fk8Sei0OU0lt4jXjD4Lf1P+yLIrrDLbGwBddtohtqG/TSbpXHf2691VY2ivbw==","signatures":[{"sig":"MEYCIQDo/CmQ3fQ4ye0SVWocTmF2yuA1CxMjH08D3QBNiVAj9gIhAJuLGfBNCVV7gzOqDlBDOaZLNrwxBVosuFDFZOkDkN5Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721355},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.51aa656","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.51aa656","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.51aa656_1632422428181_0.26429807453253074","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.e5e86bd":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.e5e86bd","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.e5e86bd","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5ed58534124aed7fa00befa16488a18148455e5f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.e5e86bd.tgz","fileCount":18,"integrity":"sha512-ZMDWKcGaraic/aPIxHLhMLpFyzepM81E42KIKOm51BBOWbrs0Xon5AMEYmMVQZ9U6xvcBdLQo2aYP7Pa1dSI9w==","signatures":[{"sig":"MEUCIQC0ezzPNlCxZcxlGkJzmXAsUwDRpoYYos84YBGzqBwwHAIgI+I54ht22VeR1QEiUhbm3zO2TvG9iCKoru6zTtkr1z8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":721355},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.e5e86bd","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.e5e86bd","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.e5e86bd_1632945099810_0.7459682434477495","host":"s3://npm-registry-packages"}},"2.3.1-preview.c46de5d":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.c46de5d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.c46de5d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e6d46c6be82d55434608cc884e7a642352718ac1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.c46de5d.tgz","fileCount":18,"integrity":"sha512-qLeKumP+24V+OwMYF5MjIdEKcM3DMW3wBfcOo491gma8FspN52CZB6DrkE168L2EIz+av3vTxUTKTqIxUP5zwA==","signatures":[{"sig":"MEUCIQDSeHHTnDnDEyy6jcbx4VMagZKjAYFXh76O3zpdKkPJhwIgPH88EGik8z2M+Cy47VLwsdRZZETj9DRUvMsASBm4Dv4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722750},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.c46de5d","@microsoft/mgt-msal-provider":"2.3.1-preview.c46de5d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.c46de5d_1633566516093_0.8960228032358255","host":"s3://npm-registry-packages"}},"2.3.1-preview.2193f2a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.2193f2a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.2193f2a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e132d58c3b7add7e6b3279269d3886a64eebb12f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.2193f2a.tgz","fileCount":18,"integrity":"sha512-y/3lV+K3Nw2SUEzeMXQ1xSm8ZATLaHgVRauGtIGQdYhVSmUavkiTVSTjaikh2wGzsCPvgGjAYeHEUofQj41ARw==","signatures":[{"sig":"MEUCIBsQ7k00zvLnINRejtaOjr5Le2C3jsmdwyODuCoygVnbAiEApJSEa3tdmXRr9QxyNe/IVJOEQx/6YY5TgcgAPcx7XgA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722750},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.2193f2a","@microsoft/mgt-msal-provider":"2.3.1-preview.2193f2a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.2193f2a_1634070987797_0.8996021126007778","host":"s3://npm-registry-packages"}},"2.3.1-preview.d17a8f2":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.d17a8f2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.d17a8f2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1f336b31c5a0abb9c26bb7f770fcf7e13f5209aa","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.d17a8f2.tgz","fileCount":18,"integrity":"sha512-wV1alSj8T0fV+zUzn51sWf+0GsouEZa/cnnQcx2MbkD+rWmlHmrTr8ezUM1obi2xglxqCFoFSFmK7UoFCpUg0w==","signatures":[{"sig":"MEUCIQCNPdizPLlB7jmIF0ZAxLEh1RybjSObh47WQ4oQLbeUlAIgdVlK7DrCxqqNWAUwh5/SuDh3cqiM0HR19FrIY/55Vpc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722750},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.6","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.d17a8f2","@microsoft/mgt-msal-provider":"2.3.1-preview.d17a8f2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.d17a8f2_1634663129248_0.388489614895811","host":"s3://npm-registry-packages"}},"2.3.1-preview.1cd7291":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.1cd7291","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.1cd7291","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"fe0e6f4afc315bd840e5a13c8948530cd81d544b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.1cd7291.tgz","fileCount":18,"integrity":"sha512-di2AtWWGEAxMgQP2MJzS04y2252zlFGG8FjPudeCCYzPI0bXwJIkiAA3Y18kS2iqwjzEXG+yiSwW8rKhGJ0cFA==","signatures":[{"sig":"MEUCIAi9G1WwOiGRSLzJiCd6Sln9OvGTrdyT4eO0w7l6S27LAiEAqEmc9rZG5KjCRpnBfknboJiWVPxg1ahHRlCA919F7Q8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722750},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.1cd7291","@microsoft/mgt-msal-provider":"2.3.1-preview.1cd7291","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.1cd7291_1634833076625_0.3448150088883697","host":"s3://npm-registry-packages"}},"2.3.1-next.groupTypeTest.5d84b38":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-next.groupTypeTest.5d84b38","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-next.groupTypeTest.5d84b38","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b244de1a8bec2daaf38f679a1b04a60170b1e10f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-next.groupTypeTest.5d84b38.tgz","fileCount":18,"integrity":"sha512-PsCoa7RmDwlsy8qMFWJ21CagDCXozZ3zO3T3sIIIYkqfUDvDY2QLgpHxRDxMZRduNxOKosys96fbjGvIn3FEUQ==","signatures":[{"sig":"MEUCIHKdfTyBORozWhPhgGt7LK191zb6CJcyilkeZM8XqfSnAiEAgNKk8zUOfinLq/LRW8XVAg7LlkZ4kaz2tewUqn2f6cs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722783},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-next.groupTypeTest.5d84b38","@microsoft/mgt-msal-provider":"2.3.1-next.groupTypeTest.5d84b38","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-next.groupTypeTest.5d84b38_1634838146794_0.2174695024753106","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.77e1b20":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.77e1b20","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.77e1b20","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"62bcc8373db6948db3bee0a3493185e7fefec7f6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.77e1b20.tgz","fileCount":18,"integrity":"sha512-2h934jTxbh9I7LZeDUZJqON5QaXozF2wyWHDi3084ckI/gtkGTgRSRM8SfbD/EPzoKLbVxGt80l0MuLU/gQo/Q==","signatures":[{"sig":"MEUCIQD64RUfIMxILTO/p+slva7Sik0qL/llPG9DzEL3i7R8HgIgRZnX6BiDLOY8ZSV1nGuM5iQ9/brkChM76fEG/RoOJGo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722768},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.77e1b20","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.77e1b20","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.77e1b20_1634859707484_0.04769360105980125","host":"s3://npm-registry-packages"}},"2.3.1-preview.ca31949":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.ca31949","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.ca31949","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"87d79c8105d26abf7c771dcea8a3d37576adbf41","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.ca31949.tgz","fileCount":18,"integrity":"sha512-pC+ys8DopMzGQQYbZjPI54aSw6VQD6ujMaca8fHrEkTajjpzxYdTx/0Taxns0Y3ktFCOKONb9/UBqeg5uesVtQ==","signatures":[{"sig":"MEYCIQDg/9dBgS4rj9x4fIzQyMVxxXQ8/Lz3+haXPv+lr4bRSQIhAK/9Zks39OcM276w7Z9uanxRTZ51s1f27JfCWdGBVGsc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722750},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.ca31949","@microsoft/mgt-msal-provider":"2.3.1-preview.ca31949","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.ca31949_1634859866376_0.07204357794682359","host":"s3://npm-registry-packages"}},"2.3.1-next.groupTypeTest.07d923a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-next.groupTypeTest.07d923a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-next.groupTypeTest.07d923a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9a965a7b1b69bae97ab18da2c06cd80794aaa4d0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-next.groupTypeTest.07d923a.tgz","fileCount":18,"integrity":"sha512-+WRJUv5zgk5+hx7L/4QwH3k4OfMA13hT0catRw9EKr2+etTYjhEnRMQssBgw+MmQ/QDroKrbM+R3/EFWf7NDzw==","signatures":[{"sig":"MEUCIQD7Heh/up7Yz+HCFTa+XTEpcRKM5O+ffYk3mX8bELVFPAIgQydPlYDcAQgKYOp1XyIn8JuEe0v7H+vLjpBOtJqJl0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722783},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-next.groupTypeTest.07d923a","@microsoft/mgt-msal-provider":"2.3.1-next.groupTypeTest.07d923a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-next.groupTypeTest.07d923a_1634859897248_0.2862239643532991","host":"s3://npm-registry-packages"}},"2.3.1-preview.a25353a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.a25353a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.a25353a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a3df4dfdcd73d7bcbc2e6840b8ef5c6cf0b34d0b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.a25353a.tgz","fileCount":18,"integrity":"sha512-p2RMk5pQb/PT8ICO0ZFmr0J8TroeSJL6iluj39+oWM3chR5tgu/balQDY+ifpKYT6nr7bQXeKcAeuU9oUmfWJA==","signatures":[{"sig":"MEQCID8NVv+Cdoc7eoKePMsxoEWOaoXlcggXYCJqfFoYLT6FAiBRbCyTNCU3BO0AomNaK9/axH+CbuoNvCNR0EfG78tfog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722750},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.a25353a","@microsoft/mgt-msal-provider":"2.3.1-preview.a25353a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.a25353a_1635439162997_0.9582139090311346","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.80494f5":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.80494f5","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.80494f5","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8b215b83855db255c06e97c2de10078bf247e3c1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.80494f5.tgz","fileCount":18,"integrity":"sha512-osmod0a36vC4jnOOeTvjr3u2XlXiF0T9358jY5K1mm3vrOPRYezWI0bgjmp9TdZ+9Gqaddq+1tcRwcgJGOsrWQ==","signatures":[{"sig":"MEUCIFdDOqwwKUOKXIEMxbPOpgXr1FMMYQTy1NequU4PyjYmAiEA55MZGHOod5EF+r0rn52QEaaECTt+yKq4mZ/XPCEl76w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722768},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.80494f5","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.80494f5","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.80494f5_1635872215487_0.34635130310955575","host":"s3://npm-registry-packages"}},"2.3.1-preview.83d39ad":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.83d39ad","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.83d39ad","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6b7ea4827e0ca813cdd2dbf20ab61e97d75feb4f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.83d39ad.tgz","fileCount":18,"integrity":"sha512-m92hvKxfkToTWnyoSdlpsN2DS08TIWOw/hHylwjJdrjpjNhYryXqEbs7Ig+OmX7ReQgS8MLRd7xEb4EkMWWVKg==","signatures":[{"sig":"MEUCIDJ8ciqOBcYl6Vi38EJNXPEaVZKfXC2dCpGSMKAx1By3AiEA6aFPjolKhEI8MO8gOU1YNWt+UpoxNc/EghxhJPtEXaA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":722750},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.83d39ad","@microsoft/mgt-msal-provider":"2.3.1-preview.83d39ad","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.83d39ad_1635967483330_0.46129203590519796","host":"s3://npm-registry-packages"}},"2.3.1-preview.d30ed97":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.d30ed97","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.d30ed97","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e6fbbcebdb9df0a8f00894c4368296ffd6c0ec51","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.d30ed97.tgz","fileCount":18,"integrity":"sha512-Jo/IplHhwn5vQsdPWSiNiN3Z6KIx+4d2deosuAAC24zGxMlSC6hfLtfD87KEeCX4fqypJKzFF6F728qpmXj5bg==","signatures":[{"sig":"MEYCIQCIpC5p4L0/Toa24iOCIoq0hYhvKVhG095pluwr/McT1QIhAOd3IkZ/fyjiWmkvdTyrnApLyZLgoqs/QUr/D6aX6kD5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.d30ed97","@microsoft/mgt-msal-provider":"2.3.1-preview.d30ed97","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.d30ed97_1636038933180_0.558097790247825","host":"s3://npm-registry-packages"}},"2.3.1-preview.c34f024":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.c34f024","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.c34f024","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5049814989af06da4cc03dbade17e0970e5bd348","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.c34f024.tgz","fileCount":18,"integrity":"sha512-D3P89fnQrZZdGHB++ZP5NeiJMSODkb9jm2HQoXbrMGGGdkEInODEeBlT4ZROjNQ6Y+wiiuz1Te4ZaaIlFsteUA==","signatures":[{"sig":"MEQCIGuiHQkISd0se9q3AsIXJI1sSKH+QyzYzDh5a/QXMS9ZAiBb4didgPsFe0xyGLDl36eQq5FQTBUF6zamjG8pb0xC3Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.c34f024","@microsoft/mgt-msal-provider":"2.3.1-preview.c34f024","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.c34f024_1636039041983_0.7904303871499911","host":"s3://npm-registry-packages"}},"2.3.1-preview.d92acdc":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.d92acdc","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.d92acdc","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6327601e1e38d81af48dcf45da6b01e29817338f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.d92acdc.tgz","fileCount":18,"integrity":"sha512-DzUGl6RTuKNgDrtk+VTbQyYXWysDSGglUiHRcj1oWjtA/XZpvsJBl0RLHnbecgBywqIYp/7ObXTosT5SpprRXw==","signatures":[{"sig":"MEQCIFbhcg80enW3DU3FxHK6vFf1wigo4xj+wOAY+Fkm6ejJAiBRHKyRhSy+DnZBrS5VjNIyxJ3hDabnUuMbZd+5jgST6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.d92acdc","@microsoft/mgt-msal-provider":"2.3.1-preview.d92acdc","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.d92acdc_1636039137133_0.8320496923592289","host":"s3://npm-registry-packages"}},"2.3.1-preview.7255a8e":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.7255a8e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.7255a8e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5a28f5fef9bf9beb7648d225ef1cd5a7fc79fde9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.7255a8e.tgz","fileCount":18,"integrity":"sha512-KKQKCP94L6LTOmP99ci0HPP9eWLIDj/S6apweGlgyPktNM49J3c5kQoKFcrb0dtyTCHqlen2ktttEEaBpsirhg==","signatures":[{"sig":"MEUCIQCxr9lDG2p7+hDk1svEbaL0BUi2UKRAw4ECZEBgpgiy8wIgBfZJiWiwMCC8LTo8AGz3v6Vci+QVwcpOYxMJxqO6UZ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.7255a8e","@microsoft/mgt-msal-provider":"2.3.1-preview.7255a8e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.7255a8e_1636039872599_0.4876298202113185","host":"s3://npm-registry-packages"}},"2.3.1-preview.8f6b77e":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.8f6b77e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.8f6b77e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dcff1adb05e81a772b741b74dae4571306d6dbff","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.8f6b77e.tgz","fileCount":18,"integrity":"sha512-722hkcQDb4UBiT+kz54KHSqTfnhrkowN/GX1gVcddIKEFW6o1ryKdn1nQzI47WMjS21ZzAt8x/Ta0m0rorPPXw==","signatures":[{"sig":"MEUCIB8k3cm50xUPxHtir1o/AYKrrZWyusAROA3ypYJZSdoOAiEA68PHzxBGMvcgAwMCQpoSDWwr5E9KJ0BL3BnDCyR7su0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.8f6b77e","@microsoft/mgt-msal-provider":"2.3.1-preview.8f6b77e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.8f6b77e_1636039946628_0.5581301688988438","host":"s3://npm-registry-packages"}},"2.3.1-preview.448db9a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.448db9a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.448db9a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a61a28589b35b85cf65acd20cfe193544cbf4003","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.448db9a.tgz","fileCount":18,"integrity":"sha512-a0FguPkH+gqTGITIMZHAwn7KBcKqAywswNyCZlEKXaTYfqREFGA0EGYRROmNiodsrs4eXZPCw0ZRX9rwCx0p5w==","signatures":[{"sig":"MEUCIQD9Ios9SteuijP26DvQLyarqFl1R+X95RYToryi9YspfQIgYCP9vSx3vcL4J9XFR8F2EUBWKOOKGx0SoQpPYXXJxSU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.448db9a","@microsoft/mgt-msal-provider":"2.3.1-preview.448db9a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.448db9a_1636040065573_0.8421891742726988","host":"s3://npm-registry-packages"}},"2.3.1-preview.4e37983":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.4e37983","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.4e37983","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4ffde827812218b2fe2709ac5e1c65c396ee2c24","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.4e37983.tgz","fileCount":18,"integrity":"sha512-E2Qm8CcNl878m3D5JHkBeInJbB5hq9ZYwTPATUuO/qkRvKuM5QNcF9lyNapF6fNi9GcPTjy9FxAnJh1nm4Lgfw==","signatures":[{"sig":"MEQCICe3za5xuPsQkzi2VNo86ixPus3jtwFeKzlh5JZRmJOqAiBmabma7Jm3KfXYy3hrRKuw4b2cni+5Zdacx9bUADPoZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.4e37983","@microsoft/mgt-msal-provider":"2.3.1-preview.4e37983","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.4e37983_1636041390683_0.2748998072767883","host":"s3://npm-registry-packages"}},"2.3.1-next.groupTypeTest.e879764":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-next.groupTypeTest.e879764","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-next.groupTypeTest.e879764","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cd4d5218d35c24795055531d0e223e12464604a0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-next.groupTypeTest.e879764.tgz","fileCount":18,"integrity":"sha512-0FewEueQdqng8Flk4fDXJpYXOM53MSs307C1GzY1IqrguMcb0EGVf1BA++lnjuOZ5h21ybLTARr8Cv0gOeH1ig==","signatures":[{"sig":"MEMCID62/pG4nVBj+7VmRDnZ2Myx0g7luWuUJu/JmW4nHytqAh9xoH1//RI9AbMdTA1PgOgb4Hxe8zLBMeyFe4mM1dJP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715744},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-next.groupTypeTest.e879764","@microsoft/mgt-msal-provider":"2.3.1-next.groupTypeTest.e879764","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-next.groupTypeTest.e879764_1636041581575_0.6474909449100461","host":"s3://npm-registry-packages"}},"2.3.1-preview.39c451e":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.39c451e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.39c451e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"52fa9dbb01999bafea3ac96e84c1df29f4d5cc94","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.39c451e.tgz","fileCount":18,"integrity":"sha512-tlL3q3EG/cOgoyi1dnWty4+6zB/2F3LNNje/IKU0mzhRV6MKFPTdTLJ1vCALiqZlzbV5XEBAkXFEj5lrrcL7bw==","signatures":[{"sig":"MEUCIQD+rQpn6zwdW74ihD5kVQv3jscRAmkd8Pbxj00C2FRISAIgH45419siprJ5lBPd/XSZJGcvoApA0L8LpC5JUCjkJUo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.39c451e","@microsoft/mgt-msal-provider":"2.3.1-preview.39c451e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.39c451e_1636042156476_0.5228217036145788","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.dc3193d":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.dc3193d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.dc3193d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"20ab60b772ef7faa34e4d82f67ef13b074a4804e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.dc3193d.tgz","fileCount":18,"integrity":"sha512-c6GKA8ribsoi34PgM/fzI2LVGIQujeYxbrpsGKEYP4P2SCtzUz5IkhtUzqVSaON1Ynb3VyetYjqdipXKW0WhTw==","signatures":[{"sig":"MEYCIQDfX+xqLhhO6gKILtYSxNon4PG0HUubDkRDfwY1aCuo5QIhAP9PpJ+ByTlXR54hTXc/KHcVG0uVaTA/0nj0tycsNM0U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715729},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.dc3193d","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.dc3193d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.dc3193d_1636044181913_0.6429371665016519","host":"s3://npm-registry-packages"}},"2.3.1-preview.ad6b37a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.ad6b37a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.ad6b37a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"24948984845c5a189abfaf0f39a59b8fb8770c25","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.ad6b37a.tgz","fileCount":18,"integrity":"sha512-YUdMqvLYOCB8UIWK2hTm0PB+B1+i4sWoFU3knVP+fCofbhWRrEfztVyLaJFMfz9RgzzMbPa2ZopfVYgarjYTjg==","signatures":[{"sig":"MEQCIERNLBmPX/FKIRuLbsxUtbbBu4wuosbsUq+rkKRsAbDWAiA8xJAqhGjGLXaMM9+1yD4h07F6F3Cx+NMyRbZWVKYuNg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.ad6b37a","@microsoft/mgt-msal-provider":"2.3.1-preview.ad6b37a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.ad6b37a_1636480620250_0.5576594763440677","host":"s3://npm-registry-packages"}},"2.3.1-next.teamsfx.ad6b37a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-next.teamsfx.ad6b37a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-next.teamsfx.ad6b37a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"178879b15be4ca6f5264a0c2d374f6ad6549855d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-next.teamsfx.ad6b37a.tgz","fileCount":18,"integrity":"sha512-eYzRn70vQAE5DiyaXM4Yfld/3trFrCMPdwgkTB1szy+Seob1PFmMPTUng0fM6EYMbYUr25q0YcSirv2YuRpWZg==","signatures":[{"sig":"MEQCIAP91Zo98J/aex8ejNr62Fq9oLQIzvlhaQQxMQu8RrHJAiAJ4LZPXh52W58m9uhpYEub8wF64ng8x6lyJTYZHUjSRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhktijCRA9TVsSAnZWagAAyw0P/26SHQVrPvkRkPN3+p8r\ne+Q/ZUHG/aQlOBMfp75dYP3KTi5KuhqfsCGwvNAAs+FhOrbx7iPz9ZQXGVai\naTha/+K7FMvxW+Y6CEwsMByCGfhvKQ6FTpNpLsoHxaj0sWCnxDONEbwoLgwR\nyK5eGcRSd0omLbwPu58GVGS5Gkiu/6e85n+HWs1PlYNVjEmm+8g+sufy/z6T\n2148clrLL/wyM8OvOYSNJTrfI2zP7axAImTH7YeAV5N/5vEpyhfpDQy/oY0Z\nXHzDzeD9EfyQUxLQrPKITm1cAoQq2OSCXn56ixcuyqjVGMKlbFA8O/fVbLBJ\nMJvzSAgtrkotor2qZqtVSQaDpZHup38yooSolzvdXjmIKajMKiJh9iOfkSlG\nNpfvvDjK7uWryKbUYtYOUdtro7LwFbUBuHXG8K4SzDOYXxoe/3M0+NjtijVo\nMJJTKiQk3gdmX+Lyw/Frf9UR7eQ9N484JAh7n6Oanlz0hW4I8XGfawelnZGi\nhbYxVLXj/010p1nLOXTrPm/NHGv5xrVGjNWX/a9Sjeu2yudxITvWEsMtY/aG\nAGYMcmxWHjDBaid/5g7zMVfEBEp+XKJYbmlTc7RXSbLwR6s4qdfxcada4qtI\nMGs5rz8sBfpqtifwoAmY1AvdggO1B7SQ2ZNtGaqev+84GWUHJ4/SwLIIIM/9\nu+EC\r\n=dvnH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-next.teamsfx.ad6b37a","@microsoft/mgt-msal-provider":"2.3.1-next.teamsfx.ad6b37a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-next.teamsfx.ad6b37a_1637013667475_0.12296861604673204","host":"s3://npm-registry-packages"}},"2.3.1-next.teamsfx.a197188":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-next.teamsfx.a197188","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-next.teamsfx.a197188","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0f9e9942aa851dd5aff6f5b08f884c75a9b3e15f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-next.teamsfx.a197188.tgz","fileCount":18,"integrity":"sha512-PykdM+Ioa4qWOhebJJ+XRbUGGAALeSXyXZdd5VH+JAT4IgAfNr/qzZSMt3HSmeNDbglwjkIIoZhsakXwcxamDA==","signatures":[{"sig":"MEYCIQDHc6V77uMARfsaMV236oS0beYqHb+yieZP4DgFoRPFpAIhAII/rk24IBAhdIUT8T7Z6pNlBdHD7p1B2nt05po+ERT/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhkt85CRA9TVsSAnZWagAAkRQP/RsxHeaOrJBRmk6j6VGv\nT0HxCPa6ewrAhMxZA4F0Bj4AFqBSMyLv3YTYeawMdbU9Sf2rem+Qd5iID83H\n2xK41lJtCH+jpLlQIy53kk5rltNGzTys1ODkC7RI67UzEhMJyvWEecJxEYZu\nbWxzW2k4BeUShjMJFY5jNNOdfcbcUMGtMpIwte/Z81ZTPWx/ys7x4kBh9/Hi\nls6a/ACTf4qAGc/bGSTcAwUXpyc3WhDQ2NjYLxH7u9ByV/kzKiGZtaG0u2kA\nCchrVPf+v+WcgmH3NKjmCJC8AEdl5yjzBO5mBxU6aefz6lmZjoAyX/YGtVxY\nKl/OaJ4yIXODIGr0Ornb3sGDk9iU+WtRUMVs7ZdMnEb7nytitUvOvp0FaJJu\njqjcmPPHSmla+idEpfqz4nha41WWW6VLllea1fayBmHWy6IydmJlSjZ2eQu9\nZP3uC04zqD5SJ1fp1S3OeW8b1Va30mrUhZ5mr3fiDJhvsB0YDgpfPpxu9LfF\nNQYzO4+4ezfOLliyZAUUqOlnfLkZtu/43pteawDiWSLriGM6ucc7srRm6Epx\nosrXudsdfQLwPyvOeu9Y7FsE8p3+b63Lhb6Fb+RddrmmbOEJjwbPQZYmdAD0\nxOnXA641nvfM2Ki32WBAwD22HcVKkA3oJdzgeKXnvo2CxsX6qRwhfZ021XVU\nFMLc\r\n=+J6G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-next.teamsfx.a197188","@microsoft/mgt-msal-provider":"2.3.1-next.teamsfx.a197188","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-next.teamsfx.a197188_1637015353216_0.8624646994024157","host":"s3://npm-registry-packages"}},"2.3.1-preview.d7be81c":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.d7be81c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.d7be81c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c2bdd6ba30d3e9e046d5734f312b7cb9744a0fe8","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.d7be81c.tgz","fileCount":18,"integrity":"sha512-xs1AiBdOA9+LSs8D3v04RlLvYUCMZFsuerEx6bVOhK7hEEYlOK+keeJE81/YXn5OAoZKqlBWmuCQxxDZo83gdQ==","signatures":[{"sig":"MEUCIQDW1sy94no0HJzwvynU8WFfIr1S9BmIiBXdpOdGMp+LYQIgDZsK9Eo9T8rUNJRXtAjPDSNAx2A5CL9ExaINc0liJc4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":715711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhkuumCRA9TVsSAnZWagAARd0P+wRu3BIrKo7fJNCiPZTS\nxQpROkTvVgFWGnnywuwx4eDfJLs+U0a2jVzQrKSWYKwZ9WOiBx/I3JHu+WLc\nYjFL2sWFdatfrLhAKqKPTqVPniKGY9QjGV1sl6KpreV+4b3rtHjp2D8fc2CY\nJWip247HbPWetFFNFOzdwRfVYuUHwGOnAqCkk/m5f0QDE/6o05lYPnM1sveZ\nYn9jVfJiHioLA313tBtzc3TSShnhwHBeghEbh0iFsE4DxOnAISKbBcVtjC3u\noJE0YLdOKK0XFfaCB875oe6AaaLCtk9wUSBkG7P8e5o1HBpKqHaubtRGskR6\nTa8Th9xc3FJ//9lVudHbs2n62x3OpS2lOPSDLdEhsJYEmiRLa9n7MxoqAgWl\nSWz0hVPps7qXOjbXILZcEWXjV8e6LT8be0XwnyMkFdoYZVTeTyEV1s6iQexS\noOpTV3K+Q4cJA6pp8WdyVW612B5RRCwCJ8BfavZR2XFcJiaV17ukrcWfBc5Z\n6+gC3+3OOpRIEEe157tkJ0q9KMUA5tVWSqJTsl3oRgP5xBjN32GXLrf6ZXzu\nhsAoOjnM4KMumg5V614iZQMz7XKHYlNS2NTzfh9ZZZ0tzYmw2N0R5pznlGP4\nQG/AstFivYrv2SRAqyof5vUkPp3O9fqX/KfkaJuI/QOVEEGRVfGFZXv2iagO\n//mG\r\n=icpF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.d7be81c","@microsoft/mgt-msal-provider":"2.3.1-preview.d7be81c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.d7be81c_1637018533882_0.38138103141878066","host":"s3://npm-registry-packages"}},"2.3.1-preview.9a3d2c5":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.9a3d2c5","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.9a3d2c5","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"158297b1ffc86cc48326dc15fcd12cada3554d06","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.9a3d2c5.tgz","fileCount":18,"integrity":"sha512-U0dWy/IT/D3V6zWgbH00HRZnZbN2Ec9CxrXdHchX2dwncLGz1VlfZS4ekGVv7HVn1/FnftqNeLEp85QdA7Ah5w==","signatures":[{"sig":"MEUCIAce6vb0Mz8tgGSt+ET1DRIuzUsJrF3MlLwHLpjdaavpAiEA9JrmRZSXTQbZRRIPGwFxn2AURpWP/RbKBe7D3uEembg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhluQuCRA9TVsSAnZWagAA8L4P/3NP3ba17RY+dnP02ioV\nuNJ0obT/qYzYqV8vtj+TbA1LO26mn5wx04QWsPDbXDI53nM6L2CS2r8lSj6J\nlrRoFyJIyZD5FRKEU1BoN7CWAuHBOo+qsDKJQnDxNeqzV0obICTa2DDXYVFp\nhQGST2B/yljuAtSDF115Ti9D5HbokSXfwC9emXFLnmG5tnUAwTPBJo3XwIPM\nnyS1gyuLDERBBXAu9PUVhP+MrCXzlXX+dvGP6C8XydK5q4kbuVMwMKcInBd8\nF9DNgzUDozEVoQs+vnG2rXB/xB0zJrUjuaX186RCDiTp1pC5BUrqYeZypLyx\nNyChf4JkZ9In88FYWNG2Gk9ZrHzPihcEBtts0ulxCTGdM8r99BMwDLouxWpd\nsg5P3sChVVCWGC3MMtfjAKZsrcb38p3P8W7WQE26D4Wu3tdRbthfgCeovH0T\nPHvSZ8Ex9b5beEJ9bzhxnE3d+SWEb3qjas7HxFpNRYWL8hfMcRY4XwIlflP0\nYvdN22vr6uN48T2kHP9jEy+tvbfNQMSZ0SYVYIhoV1CHbNEMdzl87+VyuWqA\nF7VNT3dVHK+3CCDD7D9F6ntEbV8nvGis4AA5inI/5YtP4ZMZa4bDEOLNrhRd\nDnY2U29y3G3S6XjJbKBc6adv8wzFtU9AQY5/0djdVv8ZrsL2xXxPbSML8ans\nuAHz\r\n=wMc0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.9a3d2c5","@microsoft/mgt-msal-provider":"2.3.1-preview.9a3d2c5","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.9a3d2c5_1637278766364_0.23488481693535102","host":"s3://npm-registry-packages"}},"2.3.1-preview.4c06fbb":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1-preview.4c06fbb","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1-preview.4c06fbb","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"bf5df8146a93bc86f60b590f1f5c259dfa0e4b74","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1-preview.4c06fbb.tgz","fileCount":18,"integrity":"sha512-eE0elbZZC9LudxOnA3efJLbD1iMYXRnZsdttqeWMdH/8IC/exVdpPlD9zFhm5aSBGWG8A4DhBt6qdZpFqKHCOg==","signatures":[{"sig":"MEUCIQCH76uE2DnS4wS+Ruamvj2QfiU5ALxfu83FNyfREcqpbgIgfY1ckuhyCMkcgOOTgiEw+w0uROkj9ku6+rmeH4APWKI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmAHGCRA9TVsSAnZWagAAqj0P/iqeCvpBLUOtwpro6aZ+\nO0NL4P5AXXuWrgWCiOPK6gSPm035jId9SmhbRlYM2SwnkZ4LhobXkBM4encw\njNBidjTLjR2aZ4Hklchhh856Z+sU6JzIKOhOcifmvahfQiGXfkaSPY0gihZ7\nSM4+Vif7usGY6qTUlnHfk0HK/II2PKEZgbct+/0mNws7ue/jGh3DMMkNiZMn\nWBG2GJ1+3wyBtLDoIOscRP9ZNacwf27NBPKYCDj69svrY1+my+CmBFbiHs25\nvihcmNJdXseb0oNTSjCfdyoHVyJ7gSph0wHf5ItbAve981zQnzoiWfaGMEl5\n1Yx/WySs669tp25VCrghAHj0QVtkTv+jZIVnxEs9nPK9PkPQgt7dnEadDQlu\n45v9hj9WAtpZQd6nv3YrkdxmhK0zo8ii3IVlbk48VDFdFOSH3TDL4su076ai\nRPk6jJoGQkKPjNkLPGLBdz3XXolPrX1gshtr3WgCvT0nscXlzIsV+Kre1a0m\npuqSBAX/cNAMzKvwFwlB6EK2t1M6Dtd0aGoCPDgJ+NvgrFeSGrCO2vs4P2m2\nt30VrwBB2C9XMfbBohjReihPPA4F7iiBEZ1woBT23dUgeiDlcflHnHnMhwnr\nT/r8dW5NssG9liXxvkiEe0rcpGowauwKK1zCFEMnQC/5n9XcT+T1X7yiD6zD\nbOi+\r\n=Hlui\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1-preview.4c06fbb","@microsoft/mgt-msal-provider":"2.3.1-preview.4c06fbb","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1-preview.4c06fbb_1637351878505_0.8323620272984986","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@microsoft/mgt-teams-provider","version":"2.3.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1dbb6bbda3769367b5516a653e3a5e86a0180e35","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.1.tgz","fileCount":18,"integrity":"sha512-MiS0sPqGCl940dGmVtkigUEcLgOBsvmdMUmRzpF1HtKZP3/DkFq68NgIlluOk10c6ylr+6dtoIG6QgzJ8HP6Rw==","signatures":[{"sig":"MEQCIBuD5Mpdn7Utba262wYjCTDLFN16jDiCVTzXJhMTG98QAiBSIhh9cifLppivH6rivcSweXnMI1wQvfCdr+zBg/Ci2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmAKkCRA9TVsSAnZWagAAvGEP/jTMxDsl/q4QksP6s25q\nY4XjPbEsdU2P8tvoarvT+8yhTPVOuRGSQAToB0fDZJBFmak20+Er7KpJKYY5\n7OI7CGZWaselzmT2LpBDWb4eg79/lYvg8OCNz82BRy20MNK5iA58vgULQrR7\nl5QGoDDlsytTPAYnlJqvxpCaEdS1sxuk4B15c8arhRFBO4EuuOzkoqvnKlur\nhrqgIkp0xU3oglwSdj3bwQryG4D9ljeo/0pjGTKoAn0DTDfkJ+rHmOBbs2YP\nA4RVeQB1U2mr7gOB/DNU0cgF6SLMKWjK7GvJvJ9dORxjLA2ofoXEK0Rua9SO\nRfVP8cSb8fvKj1hEG6eZRhCn8Q8cuP5uNVgP+CLHn9CEg5IL3Qn5ylXw/G55\nngCWTJV6pzZnOVtYn+irmGw6KzneTlWGJSjWeTsQT9IRtAS+MlDtxSG5EQ4x\nTEwcwTv/GgOfmNVpnhTsgVdoV5w0N+WqIRvD7xeOU/rEh0JnSWxZDeKzIHxu\nXzDZ7adiTM2xOKD6/DexVoN2Rphtz2OPhe77rjJD5t5Umrt8XbaUmkAs5zok\nhMFrYzusF8zlbnlDagRlNqoJHqgC8WTDDkpvsAgwDFGD1727kO0qtUkjjbw4\nfKJrfXP+g0mjGaiugzUCYIQEoo/wxs/MUVYnZ50fnCaXYf4Nqew/DPTHeu+W\nMhYP\r\n=TOcY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.1","@microsoft/mgt-msal-provider":"2.3.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.1_1637352099913_0.5923834681904714","host":"s3://npm-registry-packages"}},"2.3.2-preview.5526841":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.5526841","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.5526841","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b2b28fec960ceb2a55fa7bdd41950f45825bd59e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.5526841.tgz","fileCount":18,"integrity":"sha512-6i1IIGXeZ2ik3usJc5IDQxvji8UQFkVyJZ8vnz4OC9I5Dnb0xJZ/cc5OEB0TCFkWu8wObS6ohzlZ+4GdZBMiNQ==","signatures":[{"sig":"MEQCIAe7W+6TLE6st7sY9i38TIdu37ZRxd78NPq1TQEuesE8AiBnFsHWV2PbfMrPPiT402fxJ2cgV/7PvUr6sXcdEebs0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmBL4CRA9TVsSAnZWagAAeScP/1q4gjJ2r8YI4sPgs4KE\nhw30imCLXKb4RDuhv+VMvD3BAnMVfnC6/NN/KPCW8yZkRN7eyEOGDlwEDHf5\nm/N7YBantVXEAQWNJs/u0ZANhUtZQ0OwkNejb2LNFepmq0PzIECiCPL3PX4i\nS8uNr/K9AlC7FbJ7836oLBs9WVGN0OsjueMUmQcOnKnOiulaTM6melWdu5E4\ne+D5H3FBBBUMJPVlvkJJk4XCwMXTGA6rmWZkILl6Qa26kT73biB5yJh02nwR\nEGHz73aUwufzQ9QbIr7i52arvvnE3+7z4MAfi1r0MGHaJSyRtOgkBIu5f+kx\nvcdX/Qy5cKDfkam0aPHx6INFxA1RI9h9ja5cnE9YBpBlnpqbvqiiepyvf4gF\nHcDW6VxIBc2JCVW39OkX95WAIr2ZAmMSqab+1lDopdRUi5TII08eHosrwJaL\nEwoUAAXLyZaWihhcb/7pC/uOQ86Mcw2sUbKk0PfMJ9MofCEd4kZRHkKVV2P4\nP+sF5gz2gMqVe70/T+opzvSlN+wY74cJWKi8+RmxKZopbFFutYS//5z7ZswS\nbCeohwj7p7OwPFjKTWgF5AGlJ5yTe9zlSjQwSu2RvcOmP0i0NogfJy4AbavT\npRA3ZZFez8elktfSjyfvBNAIQA6Y6Dj/xDjn37Ei+fVGlFKZVsFDA9obF5BX\nMO7o\r\n=jEYV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.5526841","@microsoft/mgt-msal-provider":"2.3.2-preview.5526841","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.5526841_1637356280599_0.04167897042680324","host":"s3://npm-registry-packages"}},"2.3.2-preview.4d255b9":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.4d255b9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.4d255b9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"faafaf6424691eccc44601b2929aad7637d64f6a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.4d255b9.tgz","fileCount":18,"integrity":"sha512-wxvlL6m7UQiosJP1T8u0pNZ2I42s+7qSZBmVxzmQ0HIlI7ESE3xeQ2oVvEOUjpQSY5m0Y+7z93zM83IYn4+n6w==","signatures":[{"sig":"MEUCIBVhHtHTKmQYJs17neXgjK7z2B+rAQc3sYG/f+anfOjSAiEA0M3i4tUmDhlYl9fuazjhvl1AHG18VLwJdDCoddXmYN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnSjpCRA9TVsSAnZWagAAndUP/iuTDZnnXvJv3OX2DMU5\nAJ+48A1shIWDLgN0KGcjvgQPOjZVT6RI1rWlyHb796/qexq9KomB9wU2gkvw\ndm6pp/IwK0+aqOze4ywXturXhR/JR6Rj/MD5CYg6do2Ml4ctVj8MqZu+omBe\n2VOsiijlveKA6KDEsKA1QQAeBroxe7AW3pm7eSm4wLQeYR4rwQDwcmPw77SI\n7MzLg1i+TVGnoxBUFXpjifiyLuewWFIsyD0gbbrC5MOeVP7ijL2P2pL8ggPJ\nAQ0MjhY/K1+SHHeywBhO3p2HrfbRfROT5l55w+o8iqV+TN3klBg6I+sYKwU2\n/PpyG6XYHXdhPpiqkv2gmaTzrjasC0YZdmawqmobH6mCSdP+MruL9ZWLq0i0\nakKVUxNQ1Pv7hf+47RvrdZZuy/etVeJyE8KTD4uek8WtA0TmORLVYh4dpOrk\nXzxGkWA0O5HfH0+I+K/u9Yp5j6RLKFGZGTrxtMqlt0HIGixMjWOqHxn66/0s\nuBoqTlhsZwanOV3QcNRAGUmTkO/NKDR6lq+qk835r+v48UdXy6YeSQwTIYFg\nM2Jhkp7X5yh7i1L/Vlhd8849YFkqO5LasovSFZD3ZBebZuzAew6uzu/sI/dd\nsRa5+ZdvaB/jfHFtOlDxe+00ol1/DWq0HQP1Y5vznIwGB44EwnOrA+wFsKR9\ns7Nv\r\n=UW7m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.4d255b9","@microsoft/mgt-msal-provider":"2.3.2-preview.4d255b9","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.4d255b9_1637689576933_0.30945816965096173","host":"s3://npm-registry-packages"}},"2.3.2-next.teamsfx.7e81e81":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-next.teamsfx.7e81e81","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-next.teamsfx.7e81e81","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8484625290d9311d8e7a8c8ab72d15b0122c5bc2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-next.teamsfx.7e81e81.tgz","fileCount":18,"integrity":"sha512-vPQWohQKmikP/9Y/eFOJFff8bF2/e8A4YDBJDP4wn7gIR5kqmiV7uTC+DiJLMjAY0uDU9ZtLpAHk/3znj6q8fg==","signatures":[{"sig":"MEQCIGBjZh0TywgmsnoC8i+5s0fONz52FVnGscWXppswIpiFAiBV97mExhFMKdA5nFyBH0fNx21Aq1PmxJPGA8GkB+2L1w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoQd5CRA9TVsSAnZWagAAaxcP/0ttPTyiWERxf8Eih23f\nwnB5i1EdWNx0AIFf9/rXhWJkL8DIrFI9xgvzWn6iKqVUpQgNe2+mRhH/LlRo\neag1jnQeNyFg0KX8ePLYwJqFAH+6kwO1yjFt3p2/LPgnrIu5AKg3488YaI01\nxzk/nlaJI+suVY/mtHFhkTA1QuOy4/Dy8v14s28E17h/dySvmpWWhoptqerZ\nr2tekyCAQTOOr+espcNoaKW7HnShKTKOHyfhCKWXN6TeuvRdCdbsgEfmA5hj\nqVWOohxaFreIeFDxR+z0wcjJkyz0454jXy5neOfbOLlYgbC7P3hzLW7RWdiU\na716nsz3UqOKtyAcfe+2Ec+pWPaI13K9y8PzRIEPK5+Gw28bcIPvnpq+TNnF\nG1JMScG1lsASQafkQPI3o/CqmNjHkQ4oqMGsMBvaQwP2seIMjxvbGtWAEpoe\nXL2WqKWc6TfOmY8cSZy+auGjfvlx+HUFVSrOF6Z9m/ButE75AtO9yOgc8DUk\nfDIa23Ej2QAg8yO1jilXmzuxcROMEiKLz0ahYfn6heaQcmxZtawA7ALgk4Px\nnAwxNiEM40l3MLL3iW85YUcfPHAvylGl4Svs3tahkdj2/y0yYr34Q9Lgr5rN\neHI+DoSwKYcmyypcJKowWovFiI3F5NvskEHKXl9BI1wIzSgAUvhnbz/Vu4JG\nKj+b\r\n=JYYU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-next.teamsfx.7e81e81","@microsoft/mgt-msal-provider":"2.3.2-next.teamsfx.7e81e81","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-next.teamsfx.7e81e81_1637943161443_0.9323948062833616","host":"s3://npm-registry-packages"}},"2.3.2-next.teamsfx.58b042d":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-next.teamsfx.58b042d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-next.teamsfx.58b042d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e29d484ac5baa37bc820310c3d0527c7b221bc17","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-next.teamsfx.58b042d.tgz","fileCount":18,"integrity":"sha512-cpi+SB95QXlPs4cflhMafGIHdNcH60XbD4Yf3FuMhDrQJwZ6iHRkqy1rIw/LKGahaX/oJhKU6F1OLjvATVD1fQ==","signatures":[{"sig":"MEUCIGdmvpu4AdZq+SDtiYjteNSBBLsRXEGegFXyHRXggyHKAiEAywzHhrcBF87obK363riIglJc3xPAWD0mWQ/LKrhPecQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpch9CRA9TVsSAnZWagAAtGAQAILhKw6ufXVvOIoQbypv\nODStoYfiiFIowO/DiJz1QLmcL70s5+PHiDdOG+q3ka525MwcFFHhIMU8sf8H\nJr4kFcsGFfsV0PVkg7aw+lZzXeHkN2VBPYFrJGDxTfHGpPwKbh2JCewzj8E7\npRNwgK7TNYkRSvZ2AK82/757k/xLqBguc+ndakPV/A0f58Mgpo3Cd1Ct+Img\nZhKHr/naevIm4Un0LYUxhuNhPCfWlLSMsrz2hc+/4UCWQ+UsGM7Z0QrUZEOF\nTxZ0FKR4MWW6sJ/5jLPyBtwKtI5tKhJmsEMwAsEQ7Km4H3RSuiebzlPsK7PH\nsgmNFDykPmE0+TVR0O086f2xg6/C8J5u39ccF7NGf1yt4nyVCc4UUPRQo+jg\nUbsz2Kk9IPNZ6ktPq1xi42Ro86dzaq9sYSYbDFRTc+M1+Afn4+NZ1uM4uRLp\nDQ62mNau/frD80mt2K515J9H0xmZtJhWCJdJMPJ/BhBrAbBh0ZnAlGj6qV13\n2Syx1P1Oz9XLDqD4HzSdQrA0YewuMj02DE5s3JX+dNV5Kz4Z7+aG23RR8nm6\nGSXH8zACzInj2pgocFFE/9L85/5ajNZNqGcF5dFiM5nfiHPglw8/Qs4vynSZ\n7pZO6Z7NgN/1kb0Ckd1DTyfQ29HlVD+veMmjWD1iUU06qvENz3jS5JmrdHrK\nh6KC\r\n=MTHS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-next.teamsfx.58b042d","@microsoft/mgt-msal-provider":"2.3.2-next.teamsfx.58b042d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-next.teamsfx.58b042d_1638254717344_0.6092401302363923","host":"s3://npm-registry-packages"}},"2.3.2-preview.fe9b274":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.fe9b274","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.fe9b274","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2b377169115303c8fcefb2264005283fddf1cfd5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.fe9b274.tgz","fileCount":18,"integrity":"sha512-phq3YWanjvDh5ODV9ViCIHE0sQSCz861CI+CMd3X5z4W8Ffk07YvGH1zzJN9PHrrLfIFzj6WjUKC7GGsOH18IQ==","signatures":[{"sig":"MEUCIArMte1ClR1cF1XRi/NnyeB4dJNFM6StQTF/mjM7ZYSZAiEA0pExMjDlHj5NqlSzMtghItFwQ96BEHSFGTq9+jOJeB0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhp568CRA9TVsSAnZWagAAE7oP/iJcpTPdJV3CwS0/8JWT\nZj3hkjGZBBweeYavbd+w7YEQwy9+NbwToufVWy0gM4ocfQJGg9+6qZp8EKzY\n/84f/jYOTWBCd+J13GvMXPQsQBNFKVnQynESE1igSTvQuh+QM6i0DnfOI0zR\nxe29CZnjawADCL3UF2y09k9Utc7PckoLxKnYarxf7NxDxN11H4RH1Yi1PoWu\nsLS8ztGlcMKscuUdwMUdsYG5hxB8Aimd61WfF2Dbf7QhMPH4REshiH1j9ugc\nWyTD0ME4xc2AkhFq09JDEh9iJLILqxj42lynHqV0m7vTx3GJvYt4ng18wdQD\nukVW8Du1/0HXOk937SPAtxNzuUhdue/bQ9uIcVPyW8pEJFPibhU6h49NtTpk\nXxMiPcLvH1opD6X3rFMVJDeLUxuFLqIkbOz1wjBJCoM5r/p/2k0IqN+RLMD6\nyRxbYedqA329OXV5jz8yvjQIDwE0JaFdja4AHrYbHBCfqDywWDJzfApbkABt\nVVkSzPiaEUUdGp22PfVMVQQKrWBDk/CIyBqpVeflWW4p0tIxUGBjcjViC7um\nTA1x6Xp57p/j+sA/qh113MRZxvScXxawA7IV1YDSy+iukZm/FP+RdoPC2fWP\nbQ/zDWLv8DkTueKaFCcyuJ76xefa0JVBKFYzX77/TDVK77SV3A0tucar+jJV\nolo+\r\n=UeT4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.fe9b274","@microsoft/mgt-msal-provider":"2.3.2-preview.fe9b274","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.fe9b274_1638375099984_0.6087848915948293","host":"s3://npm-registry-packages"}},"2.3.2-preview.c3a8640":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.c3a8640","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.c3a8640","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b6052c4803a7bbd0ff9be840bad9ce95761d2f12","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.c3a8640.tgz","fileCount":18,"integrity":"sha512-tVT6nXcqWDaWlxjuEE1kKbajCtxNjzaVL6ov/CQ3FB7yqLi4jlRBUcd8st3WKZa9lrTa/tlwozLtYm2Cn+JpgA==","signatures":[{"sig":"MEQCIBZRPxb7nrpBIBEKxQ5EGZWlftktCH8HBw5uRtXDOlhKAiABwpDXjmSIRAF05BkjO7Dy8lTzcWBR7s+uLuhYJUN9aw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":714200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqI7OCRA9TVsSAnZWagAAWzEP/2oDiHCLlEzk9mBOmdrw\nwFQaFn6/6hOKCtnTDyE4EOi8K/835KtHU/uXf4y9rnpb+xZSrAv+4Q8bIj5q\nC50kG1Ir7igamVjPXQ7SJAOwTQWWOG6If5mZJ8MwaO2V+6trx/poIF41aeYd\nfyizRyIPrmJ5M3zRORHPd1bypRABtctYRQsBTV+XZDhbFjOmG0BdsiRXJ2G8\nzkQ4X/Jd0/LCAnUT5cPhtFzpPlhvJ/LHM6SID1qnZ9ekH6eucuxZr6OzWMo0\nqapea9aBXC7Rl4rJxUiEUByphA8iVspgxYQVI4kMnPRyC08hJO5H6nO36UEX\nLBBY08kpJ57lqgwGgeBFhOGVowiGG8CBdi0Hwz6ZQPvpnSSW46U6NS89PcUT\n4Tzjqq0KS18M03fvzr0evWqGYMJuBImuHJg4FdACXiGGi9VcjsWTsam9tzV1\nkCyFAkUyEpx5KVOrSTU3nFILRk5qqOl/xWcTJVckwUXMKCU2Fnyebge0EN/b\n+dZhpxGrp26CXlyAKizmBGfeG2iQSHtFRHq2Hi1VUpoi7qdR1C6P0O1x1X4z\nwZ3SHGmGB6K643tluLHBucRQWfDD/NDkcFvqHtFEVRR3Io8J7/Y2/V2lXoLk\nMg+N49arlYM5FtGJpiDLsWUJ2tkzhUa6y+Qo+Y+2yufS3qv0o/wLFtwmf6ti\nADag\r\n=IJdw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.c3a8640","@microsoft/mgt-msal-provider":"2.3.2-preview.c3a8640","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.c3a8640_1638436558158_0.22840215473365633","host":"s3://npm-registry-packages"}},"2.3.2-preview.021cf76":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.021cf76","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.021cf76","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"848b353273539c1dbb631f0f81e4b910b54cd2a3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.021cf76.tgz","fileCount":18,"integrity":"sha512-hK92ip/csx2fFAdBXOVqEFl9mEvqkjcCZNVO1kDqFC+We9KHNVoBl453rOc6q4l9evxHjO8C8D/E5/rr2KJocQ==","signatures":[{"sig":"MEUCIQDIpeRGuHkO3eERxBhMPR3CDUZ9E4iTWzArSu3pa6yvAAIgPKeQaWBvMGk4ePktpHonhlmp1hk1TK0aBuhC1tBt+wk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqhA1CRA9TVsSAnZWagAAajAP/iKCNJm7SsMdse7AHgMN\nLjIJXAng/8VohLZipndEIkn0V84GAmamT47BhcVT2FzmtJFrNrX13uuCcpUs\nBGwnjCkvNEj5opjMMZLXmE+yGNo3eQTx54uqrUhb9JRtcoRndCpyM8r3McGk\neE05gMqUvRwLhsQB1m3oa5vWB7I6ATJx+kvjOghGqlvDDrEQO+E4wiK/AZ/L\nhmTjRQs1oDhRnkVuKZxe3efmSzzfw7nOLVX9SVlsPfXgrSfesACoemaizNM1\nnLVsU0hcF50TNfqpC6Ikcs5GJ7SIfX5JYLD6T08hjq/bRGHWBtbkE3T1Nsvr\n/BvFxZ9rFbMlpCT+mXSzFZbRebqqtxiUoVJINemOhms/3Ru31XMSFpiulsO/\n/aNT1PcISN9PUbaIOhN3VlqAKssaJxZ45FsU/v40Uq0RQPjOgyQ4Zh3/eDfi\nBcF3IlAMNwBGPJC2Rbk6mf5vpbz48wnZcTtwyFMX6AEDujVgHvANhCD/F8AK\n4x9PLa6oRAX9ziyFU8A07U9qN3AVSow/ea64c0rM3iGqp4EEYNVeuCYJ5Ugk\nqjMW5E+2kXJdqMbzG2kmwLov6w74gB3/KSXbm/VY36ZwpXRhYyHbAkbXQWxH\nezVUOlAp5MKrqn890I5XMmMkACTG60OqKssTOvLn09VtC/vIBRe3aeYRh4yz\nbzCn\r\n=IroL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.021cf76","@microsoft/mgt-msal-provider":"2.3.2-preview.021cf76","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.021cf76_1638535221703_0.27459681384094825","host":"s3://npm-registry-packages"}},"2.3.2-preview.28d74c8":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.28d74c8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.28d74c8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9c5d104491d0d602f1b8cc1eaafa887a033d9cd6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.28d74c8.tgz","fileCount":18,"integrity":"sha512-Kh3Y++MOsUVFtOItzEmlOllDXhuLRqjbbw9wWlFSZDufF+gQQVtG/C6j8GeJdrwyc1/25/n5kxDIyCX5ywDKUA==","signatures":[{"sig":"MEYCIQDORq4hL5Qd38b3vPskQ5VS2Av61UsBBz1eN8ztxiOXWAIhAIAdUkbsqSO66gUTgfa+VqERFqPYCCjjQmWPv2uq35eE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhr3IICRA9TVsSAnZWagAAdQoQAII4B4i8DnUXmMhDSJ+R\nav7aeUBuk0BkqQQjMXbHhne/BG6vUuR6EiNhueWVXl+5v1Qbr5t3hyDjlKyL\navs9TeWgB/LIdD3YrW3gkT8AeBBINKXyjIpMHXl1qx4pn8OJFSLjQiT98TsL\nlNSJyUpE6pyiayAT2jRpCxtCfSXV3ha4nxXCaavVyIkcXU7+PtWGyZ+zDH4p\nZ/s7ISOLw7N0Co+K3Z7PH9xKwOFzbPclCPrAJJuz5y8bSuBxNimhYuDNTUWW\npqUU5p/dLUPo9oXjWr4ut1X9mpyjO50G3KvmsBW3eciGANqPdP1SzMsusBIb\nZxjev8YEfMSYOf/TQ795sRtP1tFwWKHi98sL3K2MV0U2ZCRQW1RpkvkDoM0I\nZT04tCI9g5rN0oHSQ90WnRwoS3u2OrOsOFeM5vGUioS14LGHwEoTN+3XbCUs\ncgRLJjc/rQLi5/r0BJeVOf/d//wi0x8i7fjk0PsETj47zBFlggH1CoMYK9dC\nnurzvgxT3dLZ7zmr7I4INTQw+1Er8tWupnUobcVrvPaGJLlexv5YAOgb5GH0\ntM/PgCMoJT5NXMq+U1e38znUol2dr0yABUHtHP/BZGsgC5fnaTanrh3QJDEE\n7RSnnB7CRfSWFfvxbjhxKCtFgZHsyOa3/zjEubwyTXRrwdRBbivaUtCYbRPX\nnx4s\r\n=1JUK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.28d74c8","@microsoft/mgt-msal-provider":"2.3.2-preview.28d74c8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.28d74c8_1638887944228_0.04931326992736129","host":"s3://npm-registry-packages"}},"2.3.2-preview.d9fd80d":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.d9fd80d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.d9fd80d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"113ce3fdc475fc1bcde20da392e29275a32f76e1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.d9fd80d.tgz","fileCount":18,"integrity":"sha512-/o1PfVoDzHvCIJXiGM+3Cg3OFCPexVsV34Ps6FfW3iJrSxO4bYs1e0Fn88Yq10EwKCvQCoN7J+xPZKzhHfRCKg==","signatures":[{"sig":"MEUCIGdSug+RiZy0Zx0toKtJdYOIsjxS51li+KWiHA0+oSflAiEAzAhBxACn/x1M8Jny4H5aqGPNCAl1xpHQNfH6ez2YqKo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhr5u+CRA9TVsSAnZWagAAkW0P/RSgunVMSFYgW3FHf6gy\n/9VzS2YN3NB6D6lC+Oc1N9U+5woDGzLZwQ8UGE4X8tvFbC7eNmDdx0CaXyL8\nUNW/Q7zR/YIBidnq+Dbyv6qE5tbT+E1NdiE4G1iZMxNfFbF4Bz8NL4lUnjan\n7GgSuBB1l9vEWL7khyFp0S873ehZ58Nrnkfer3bOZAqWZyTH1lDPqnwuIAJl\n5q3+UG+ryDhfbcRJtTi8DK3/kJ1Sv9bj9tykWL53Y++XiDbu2u1Gkjg3OmSI\nA+FbspXIBM97leeV6iJ112ukfBymRyH7zYidQ0ysWsVxSl+ezWuiPpWvsKnU\nG239K9rMtDp1CmJnmhkaiHC5OIQKROkLt/hJkgkV3hEsVcfbzDxHQwtidCUV\n33+KwBBdh3pE5Fn1OQM+NhAvlAukV4YA6RLpH2B+t7D1LmnliK67T3PLYuiN\njKDpB8XkNXzxm6ifSSXkC7brtVAQ8zoYPVdQAivunTNhCZGz0dy2MnFQ3CM4\nCIrFzrLdN4WnFsyn/bhIVXZrgBEPK/7fCLhxQ0duGiHRubucayPO3rlE/sZj\nPGmXw0G2IMlC+YrIyj1K6RsPKfJYLbGBtXCbzyatS74GKXFlRyS4jCEeCWIB\narwREakRsKcKp5r75mETouXNjBMndfQ26zLEOSurR5/vLE8MYq5Nz+EsXW5i\n2b9n\r\n=Et9X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.d9fd80d","@microsoft/mgt-msal-provider":"2.3.2-preview.d9fd80d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.d9fd80d_1638898622098_0.06216630585603489","host":"s3://npm-registry-packages"}},"2.3.2-preview.9601f9b":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.9601f9b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.9601f9b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"580228398fc6529d586daa2711c3fd852dbaf136","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.9601f9b.tgz","fileCount":18,"integrity":"sha512-J96JBR5afWkisnM+LawrUZr/NK5NI6v0b9MlLBWDScUXmpiR2xBeJPiel+Cqn/lG1NLUTIewGyjH/2pRq98cYw==","signatures":[{"sig":"MEUCIQD/tUsBkL1ibzH7MgxT4Dkz6fYxTVJQMkiv/SFl1sjLHgIgZDPi0qe5rXOy0zum8eDq38t/rkU0bSI0PxXE0ucucBs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhs6bcCRA9TVsSAnZWagAAUecP/A2+WqawKyHvUqmJNJz7\nsYyEByn3/PlOSVCwcLuVWuXBexP8SpEuL6IW4lbep5yA1v6H+EJYawZpKYtK\nPeatxKhuiNprWmF4PwGCEAQYmiTe2VIUQN1GfopJyY66+HmfS2XyjSiUOohT\nz7YkPjHIB9AfHG8i9kA93Df/qDoxUQYHuuNJCCKCAmtFisd8fLPE7nb2tE6j\nLVCowuq3tNnksonnvQcwRDBQRurH2Xm/l2aUr8MUFLMM2z5XipliWDSVoYK0\n8I7hkvLE/ny3N0Fr8s1e7WYx8aXAuSV42B1zkbnmgM+GjuOsKqhYS9mimAZq\nOQXqN18A+i4oL4GImcr9vE+I6xRn73H1xrAx5KR5BBCeEBljUgMiwq1s4aZE\nJW7HL/T3YOjJIzpv7t+xdBoKV5/kFfeZEVxg9OCMpmq26zq9LvXj0TVpuxTD\nSZ/emu9uyf7nW3yL1CzARRH9ac7/4sw/tcffJOepl14nIVncfzLVowpuOUGj\nkN/3nh2v83CoHYJ1yrYKLIqrlTUSRTwR5RJXMyaSzMnQZ5V7yzNC94WJOfDh\nsH8Yf/5M2NoOk0+6pTMvrSOnJXeKOy5o9WG7qYD1lbS3uwyCe1Ne0GDHpZ2W\nQSvNDDt1DrhvBbdG9MsknPtI20wAigP89Zmn8E7crJZQ15EVmgGVB5JTV95R\nPcnr\r\n=a8gq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.9601f9b","@microsoft/mgt-msal-provider":"2.3.2-preview.9601f9b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.9601f9b_1639163611924_0.21141557362757668","host":"s3://npm-registry-packages"}},"2.3.2-preview.43e9fcc":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.43e9fcc","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.43e9fcc","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"76bd99d27c7849a630e4cd390977c212e50d731d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.43e9fcc.tgz","fileCount":18,"integrity":"sha512-pxpMVHpc1F01Usj75zW+w20iFIzF7clBsEMIzxGB2fpZcswuRhiE+XWm5eXQ5yqznIXok8xibf/ohpbjvFQMnQ==","signatures":[{"sig":"MEYCIQCEZfdWpmDEXJ6i9VRHfaSD/KojK237kXDyXOs88D5Y7wIhAI5fS/MpaHLkxq99rSLOj2aLi9w4W+JK3UQCoUg1NNyZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuNxzCRA9TVsSAnZWagAA2gMP/1MrxBE5ljTJ0sItTR4C\nJq/xDsXzlLTAkEqgO2QMzWFwa8wSsdFeL6D1W4g/8ggSPKWJQajVYEghZzNw\nwKTObMjvOj63Ut6GjUT95XyPIawZocqZGi7VQ3vyLonFclWzFZldLIJ6JXtl\nwJRSKO6g/UC+ZUYkewZ9RNP9vWmAg9C72hnbW2zUFLK8XoseUnpJyIsrF/cJ\nhN8j5YIe3CVNR/xSLj2mwRQwhYWl2zyeYXTy4PVZooByBYsQ06MpMRaMELIF\nTxF9AXk0cUQpxIZCXwEyzQVV4c61otaLu1bj4zKfgrgaXhBqIhRza1wqBaQL\nfq5jUMBP6V5EH7VwFXnVhfZejvnXTmzjxie4DKC6/vGXHcBK4KDmJLWeQkde\nwih2fe6nShOov7o5wfUHtX7O7FpMH/aFiPrB0k780EV6MDVDithIU2KUlajJ\nKFKYH/vjxV0TMHVPn5n4CZJ5tRvHbdsPpFPA4HyKxlVqv6XLFMUt7G0eL7Tt\n4eavsTibgdSY5sbPieImDt9JgafuwTZKO0e22UQ07Li79M6gtt1zyviJl4Lf\nnrz+3X771FKd4b+jGReLcMA6FX41SuU7Tzlfb2e1GIklNQT+B9x7l5GbdIfJ\ndyz9nCrxgnb+Jfbf0nBEuyfA63YliRJ6/r4GCxqRpgRfJI2KktEeXxJl0IZ/\nQzT+\r\n=RQbk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.43e9fcc","@microsoft/mgt-msal-provider":"2.3.2-preview.43e9fcc","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.43e9fcc_1639505011051_0.46938122349508626","host":"s3://npm-registry-packages"}},"2.3.2-preview.4985b46":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.4985b46","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.4985b46","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4504a919e738725e955fe425c0dc5a8f98f293b6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.4985b46.tgz","fileCount":18,"integrity":"sha512-pWPZ4sJI9/cA/IfIs3zX1AbkJR1LZpHKirxnG3VvbDN18QAuHpMXC8xH3kBUiD+D0+om8pQRrefgSA/rMTRO2A==","signatures":[{"sig":"MEUCIQC8tlkyWSOV/mz8d2SmLvuppa91LuOQwj8vYj/GDX0tGAIgLtIvHf8h0+lLBOKacMsLjvJJUwLZUFBRJRXtEEEPaxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvM6WCRA9TVsSAnZWagAAaiYP/AvWvIFc+/UflBgOZC8N\nQ4moQsyaQNAruaXc/0SngNk8Xg0IcGJANl/5z8wyNLHA8xr9opTiStaXVoxv\n48B743P/lY6FPIpFVRNcpwDQpNeaPT6j30oz8oYp3hzinTZqGLsBKuvEqMBh\nvStbkCvgErxRHS6/8DWFC1zDmzognalef9ySCwtT4v/lLBjQ8wmMCYXutrOC\n4tGHvyaPviUAlnDt5Y5h7UBb835pBogQkXN6SwlSny2l6XcoTVCPcMSDqFNi\n/eKGIl7ePVmp9rr5DUWO+Cs9yw0i/zd8sgbqAJBn2Shv21qFtUTc9DH4ob2E\nI3v7mHmU43siFSJCFHhO103E5Vq2OAHzHgpax7E2H2f42JuEjr2XYgn928ez\nfYqehXTlWVf4piX0evFyDhu95Gyc5GTndedosX6+T1N2oFafoVzHhDrJ9Syu\nhU1RRdSDrk06ERUBGCxY36dP/b6DQwO7E6c4XsIIHZnsSpndbD/s9gh7afyJ\nl4j4LbVUhHqozLEPjz8kx/PLlEhfms5TOXgb4tbjrOFV6+AUGmYtTHP5O1Um\nnz8vjtvrrpEnv2iei7Z81BlNQH+MJQ5WslVdMhXkcoKSxhEctxRjd8bebw7P\niudb0LlxnybW0AmUDZhxhQKb1+uNuCVnkn4WpPshfwBU/KkB7O3FoOV/pE22\nv2TA\r\n=Jea7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.4985b46","@microsoft/mgt-msal-provider":"2.3.2-preview.4985b46","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.4985b46_1639763606496_0.8998266798819166","host":"s3://npm-registry-packages"}},"2.3.2-preview.644b051":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.644b051","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.644b051","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"aff3f8462e374360450e084750ee1f7f417d190c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.644b051.tgz","fileCount":18,"integrity":"sha512-Ajda05tWYUn+MtJaEwU3kG4HVHXH+d1JU4jGOUneoLQkbFll3toX17QajuhZ6FOP3Hrh+cGMaQKByT+4+cJBog==","signatures":[{"sig":"MEUCIBP8/9VwQgBiHodxtJtnjBT6EsU7xnT9LBadnL2nETlhAiEAvPhro3h+D2NVbp/LfUCjTJJ8+5vvR9h8Jyo/w4KRVwI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvNINCRA9TVsSAnZWagAAbSoQAJft0RxKBzm+0E5ipZ/b\n4Z6RvrMYaHxU6DChjdLN7MFSkfN7xd/oJ7HX2gFN1A7fgFVoTahD2iIBZQia\nbAsXfV16c8GmK8xCxFSQDfQl14GZcaEeAV03tkKF2rVKSm5hhH3t1zlBlCDU\nVQWCW2tXjUa7nTNSZXDG5sO1wea+84i/3K8Fwo5DdYOzT+pJ25xrQijFRUc1\nKXueznaSGlxIqTTKpjaRFygwg2QCG95DC7g1/1nDi211frihm+GXczcfvKjo\nfECRfGfFNDB8bbbw3mAd8Iw9bPCqM2pVc9uJPGbmhFC03THBLHF9APtVHGLJ\nSCrx1XCw3dTcopLzyeE3cGnZsxaLrbyAB7+5Er3bdkMxEtQwW3pjHRYRI/wu\n1Q/coq84qDh93wbViuuk7txfSNYU5Lw+LojqjLYwVwTTZ32D+KllcKXpW1YQ\nWslRTuRJRfIfUE5ogwSr2ycj2D0YMNLfoIRcJEd5MUuRnjtQL/wYgH0SxY5c\nL5Mm0G9awBVOhiEBdhTSv85ZDUSds2fnNmK0J+C7D9ipaVMPSk7uWk/Qo9VA\ndFv4xBrATbt2gG/uk8M4oSHPnTq+0kQr+O75fZ0IyXJ1m/v7+1KlWOuRDD3C\nP7L9E8G3HHodjRsrt5Ye+Nerxh13Rx4wqoK7TzBUmyP1z7XUmnQ1rWBYw514\n7kvU\r\n=abgn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.7","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.644b051","@microsoft/mgt-msal-provider":"2.3.2-preview.644b051","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.644b051_1639764493442_0.6556516435023148","host":"s3://npm-registry-packages"}},"2.3.2-next.teamsfx.54e0d43":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-next.teamsfx.54e0d43","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-next.teamsfx.54e0d43","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1ada6fd82734698ec05763d8f9d7cbe6ee091ba3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-next.teamsfx.54e0d43.tgz","fileCount":18,"integrity":"sha512-aBHLVNGSk0uFsdE6EMSL6jV6DAW6Jc0Jh3D9PvWQMRojDllYGIwG/QUNWbMiU7NbkG34GnC7Tv2DglLs5BDg0g==","signatures":[{"sig":"MEUCIDviuUGHF1ZS9DVy/wffjb+HSE76dlpKCdHto/sGeDuvAiEA4o4yCjJpXe/GsPQp3ZAZSTEmbpbHRAsIp627OzxixC4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":718362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzc2hCRA9TVsSAnZWagAAXzoP/RSjX/nfBakMPKFUA/fM\n34QmRMzWoViHIgXW9KvV6SEwx5lpcyJ/fCK0AY7j4rBp0i4L7XFtWNsDMRew\nLhuTCQ+LZjbce1ohWnCAdESRPCchv/BJW80104JXKsIAH4irdb9PDqCXU+8S\nkRIa4ZKLk3PcpTr0QKA4b5qB4nmXVlSDnRLnqnTVsEAyx/LzCTY2CEfIuYvI\nun2o3OkmvWyfPlFjrRLogURLuz96WNJtUi2k2ua+wJ1UZZ1YJ0HqX/ISqY9P\nlsABIdYoM+0t5W2GGe20hNeVbEnn6SJ4Wa2NIhsxG2acjTQ27m+xht27IhVV\n7IE5AUKYUQ3+oTiJLeJfsqU0kYdY1c1NMUCsrCdYp7sRKY45fZy3DWpOodq7\nSkwSlE0YzNu5cXArcqI+mnkc6yrPzXmyKYCkzTvhRO6o3Bq7Vaptlj46Ooxd\nC/Yh6/BSX6w0qASkaV+MquFhZb/yztBqi/NTLb5quXZ/obCbZck5mldsgVF/\nBh2fAIy+AiaFLk9xXvGbenfKF/coTRA8+ErmRmr99r0sGKPviEqzaeKyJhWb\nsjkuhZ6yXMkDBy1QURHxJzXWiYy8mILohEhUzD5AMPC+ob4IyvFRsPXbN+Ay\nWMXk6QV6P9IRrCZV9E+0LWUbsUVGzVLRQx+42pIK0oyRyaDu/OjyJD4/enT5\nyYUk\r\n=YrWq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.8","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-next.teamsfx.54e0d43","@microsoft/mgt-msal-provider":"2.3.2-next.teamsfx.54e0d43","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-next.teamsfx.54e0d43_1640877473558_0.13410962432563212","host":"s3://npm-registry-packages"}},"2.3.2-next.teamsfx.4e8eb35":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-next.teamsfx.4e8eb35","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-next.teamsfx.4e8eb35","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"971a409716dc84c204b4a574730fc9164fc79d91","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-next.teamsfx.4e8eb35.tgz","fileCount":18,"integrity":"sha512-nVRnPp9gqASb98/453QqTyFAli1fi8hDqC1EWTfEwkiTORv2PE3KXO0Qu8rYsMWXojcnYjnnzf9x2XlCRgZtZQ==","signatures":[{"sig":"MEUCIQDd0AtCazB077iX8dNWd30lqu96JkBwxh/Zqy83uAEMOAIgaKXNt/PbVvRI0JK7TK73rDVOOQZsziLSQslwtZNzOwg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":694799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4JQTCRA9TVsSAnZWagAAi2oQAJngzQkAg0Co2RfVqdR6\nxlW7XGSEqQQ3rGKQh9UJ8f4r+tqe6sDMdLAluGaYV4ExlT+B/jSFYVb4vQGa\nrhvW7xuCIIF0j02ErrdwuZqrgHN7/3/OPOe3Qp+rLmcMQfS8ps/zhcChgCyv\nfZK15fcmyHIvAvA/+BNLUTFGI1IT4qiqAU8hoNQq35EzH5/HG/QrezjoMyZO\nb8uouUqW9dle/L91PIArvhQtkxYe+PcizxEiIof2i7paoOytozQzv8yVReL9\ntuvbRk7PwqFZMURf7kXcDaZGBOPob10RknCrTf8XqFpxgeCjKAxFnQkycdyP\nXp4gPAhM5gtLhrt3W1A8DICoUfbeZO6eXbqivxQMhhS705/BcTWJz04A09aI\n8riZn4tVAQ3bTnwvBSR9MXYo4xX6vpSczF9fz6ByKqlMwzpUIcEbt4OUdoM2\nW5Ev+bYyt/NuuwOf8IPbr+RpKYhH0bxdDU3ZMeHZQxL5XuVcmyb6M2dqAHC7\nifHIwuJr0S6jpB1U9U2uvpHoSgp6C98Q84aV1BroMoiqwviGRyb8zc9zBqja\nVmx44jjxWx1xstU2xboRK/uhAN+2Eqy5e9NLIKJoVIsPWyFpPSkiZiWOMSRw\nxTwwL/C55Reuu3lxMkQU/lZjGG/R8QXroxbQgLxMCLnFv4a6zKZbJnL4lJZw\nI4F1\r\n=NcNL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-next.teamsfx.4e8eb35","@microsoft/mgt-msal-provider":"2.3.2-next.teamsfx.4e8eb35","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-next.teamsfx.4e8eb35_1642107922935_0.813400191476795","host":"s3://npm-registry-packages"}},"2.3.2-next.teamsfx.6f1c31e":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-next.teamsfx.6f1c31e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-next.teamsfx.6f1c31e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9d629781cf90a22fadd424e78032055d4391fba0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-next.teamsfx.6f1c31e.tgz","fileCount":18,"integrity":"sha512-nKWihY9fD0GMzs+Kt2yaxaQOozUQNcbilBKxUZLUqU69sM/46TqOdArfNU1SqFTDVEN0OCRMZHx/9Ufl7zqLMw==","signatures":[{"sig":"MEUCIGb23YsooF+J7DH786bl34HwBPzR36EHEhHUhVC9pNOsAiEAj9X3TiXV7/VsQYASukMh17+uy9/Pj7K1WkvhuSeAlM0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":694799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5Zn7CRA9TVsSAnZWagAA1fQP/0bX8Y5UfktPpRqXtihc\nSRfBQ2V0wB3/LgloXO+JfwHpGD3jQnWJ/VsuCpoh6MSW99ISOY1M7Gp5vzUH\nO+mbSx8gDACZbAkgDjn+lxBqVsoBSeMXRxzqlRKV0jZUFvMt4c4ANk9XwH0m\nPZYajlogxXrodA1K8cuEFEcLKY+dK2vAErJnDkV4QBWzTNTtJMVB2uBPr1eU\nQRX2MqBl3fOM8mfO5S5QKkExaS/lNHejJ/5eCeqjQH6aSy0hw/GbK8TViMtv\nVPuELdEBoFDxw2W4ULLAZ6Yqj1Ut61mlMCTMUrPMH+dgbDll9Xk2DkPjRwAD\nZUIxL1cZBIAhId3CyRYFaCwk4+I6ADM0mhOAqKvpkOJkZv7txghnBFORxkF3\nVZlPbP70Jr1Ow3GyrnuHrhPQC8eFpffuyImp+fpxCK358lruyMq+W0TrTzRU\njaSKS+ZJtkdk1w6UO4azzTF8bQzpc767fXl/W9b609VFEjtZMXPT+AltFeEd\nJBVsaKT7QCZPYF8j+sXcMKHCPBw92nLws6oy2yqbsqFiOYVvaU54qq6cpHAa\nmRKGN6jDPSZcELnRLE+tbkr9+2MD5W2B9hioddfPlDMPT/1sdcVleeAHteA8\njJPWkL5RNzSrM1sRbN3Dfu6BAMvUQ7aBtC474rfxaHtJ737Ul0Tp4rPRI/j2\ne6gI\r\n=Wpbn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-next.teamsfx.6f1c31e","@microsoft/mgt-msal-provider":"2.3.2-next.teamsfx.6f1c31e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-next.teamsfx.6f1c31e_1642437114776_0.6840717052632592","host":"s3://npm-registry-packages"}},"2.3.2-preview.4568219":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.4568219","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.4568219","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b5c40a8ef380d8f02f5a57585ed03cb00871e424","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.4568219.tgz","fileCount":18,"integrity":"sha512-bpwKVCeeO64JsjtjLK+WQaJ5DBYo45mwW8Eq8bce/Bn1SKQkgQjD7S0PJTP3P0Lnd3y/3RYzBOwfoFaLtsJEQA==","signatures":[{"sig":"MEQCIG02QdFKKtkpvkLxI4LXGKfqPMvbKv6dzFisr+odM0B0AiBBdq3UI8UNL+umQ36BLVUsPKdnemviNje+8kGwT4Fbrg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6XdQCRA9TVsSAnZWagAAQpcP/3Zc+dSuxVFEth63he0t\nBJunv+HePps2ooLgRlzdSLXRMHUTjV1Yjtc3u4fLy9t0Gi+iqqQxVkSiyUjb\nGirBqLA2umLHHqM1gzbtvNil2eoQx0A9a8E3LWiyDBcehUwpfhQ8WxE2gxwH\nGdrmrl/Tp+GFCHvh4icD0vg59NGez8zcW5GLv50SUfrr2CvIkAxDiTy+WJQ3\nCA8GC9cEe7Cb8CjZQCE3Lg+oLWrg3xBbdiUuBGpurbsLnNF5T7WTiBTOtGe/\ngxUQmVgwFzr5TYE9gsYeer1qhJDgwkty525N+DvmrR5qYf8IRUzrq6BD2rmA\nFEoSmhZUz125bpoHTIBBTn1sTT5Nc/wRMDglndYKFzjs1CwwqfkBdf1qO2TU\nNw/VpKmdLnefjQVr+XbAKz0qvcKzJhYtO125ndiCr7JS9nCeVafQaz59nRjO\nczBoW2XqPPeVOU4B0DbrCHCr0cQwka+0Kq7ivxwECtqR6N3pdoB54cvG/xRu\nrr+Lh6WY1DETM6vPVBU2XBIeVkhORhH5c6fwIbljL1vg8U+QF60DqVNOx3Xo\nEJ4Lun3ED6zgKhlRsTIx1MWI3HUv2t6a9Nvb65dwJKAQOrR4TltRtI/s5smx\nM1ls5jYHlK8fjBkL2H38NOiiykTtTOKBIXYB6/5NRiEZhm5bD0yol9u7lV3Z\nLQro\r\n=E47F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.4568219","@microsoft/mgt-msal-provider":"2.3.2-preview.4568219","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.4568219_1642690383952_0.2464802607852803","host":"s3://npm-registry-packages"}},"2.3.2-preview.d4facaf":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.d4facaf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.d4facaf","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d741a830622e9268f5d7f9f7bbe9adc7bc819fa3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.d4facaf.tgz","fileCount":18,"integrity":"sha512-fEY6fa3f3VHNBcfVRkvZAtPLZxouguujADii0C1IopTdAQKf8GvqNNyZqy3Cth76l4uHv1EruN9raXYx9vU0TA==","signatures":[{"sig":"MEUCIQDePK5n09GMsJJchSWI/e0zAUsPma26Dq3BsjVPY2CFMgIgWVLf4GmfQgpdx68UVrhwUjYUoX4sPlY0F+TugPtUsxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6YfrCRA9TVsSAnZWagAAC9UP/39ui4bKcj/HqtAA647p\nndCKoBJHLmd3RGGDgPPNSoQIRabeK5nrUcx87anSfJa5pgWLcWoz2F7GbK8d\naBNKpFYbhoz1m5CFsU45dgUjMFLIDuHHjELwKccMbpPq+JjSf2q4vzREEFWM\nxp9aK5kujp0kGE9rNUq7RwQFyix/oEHeyC/+uO7Hq9s5nLA8uP/UL6lYQ0Pq\ncG2KdjlI4WUkFicChzwEOSATKq8D7CXJ8cxOBicQKWUtCxvbdgIqk5BFyfXP\nUjsR3hjcKLDfV4y8CFqbrTxx8Ss6lqSHXwEb8w+6s5pzFgDnxvceL/KbOr9r\n7pYh4VtAa51M3KukolWVVaCl+1e53LyQT9cHpjIs5AYYZH+bDgoY5TdxDST3\nylrcEvoI74dcjgAQL/iwojWfmbG8LusdO9kH3oFYg0GeLs221dO+mzmtCrRq\nh25SyTrhnDR3ViOSUKIX4mCYCAmDNNCp9T2+enFibCbA/1HFFYt5tLmJA/b+\nIt3MHM5rBxWYSa+tytqLBZKNJ+k1Va1VRF7CGf9jYu6E1mepoXd9bl2JmTyU\nWdoinoOEgPf5zptmp1k/Jot5WLehIrVf3P6aPkSyKoltaAlFh0wlbbcUdP1f\nfX1YVwQYFI0VzbbK4bUH4Jk2vkCZiDaO0I2SQbJH83KWMV4HT4ruRBl2vog1\nHusE\r\n=3nLv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.d4facaf","@microsoft/mgt-msal-provider":"2.3.2-preview.d4facaf","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.d4facaf_1642694635758_0.03065112439370643","host":"s3://npm-registry-packages"}},"2.3.2-preview.ec1a5bf":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.ec1a5bf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.ec1a5bf","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"446865623b553db4ba7571e85b273dfce7596c31","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.ec1a5bf.tgz","fileCount":18,"integrity":"sha512-1SCDzwV1754z+/Np4Pd8mPESWA34IWIf7JkWOCxOEP1xcCSMYf8Ru601BsmGpGl8OWIbXf5WLWiEiALlWFwnSw==","signatures":[{"sig":"MEQCICR2iJ1zh+4LdYAejiDtjH6a1KJyL1+hVLSobRksoHnfAiB9yebkygMqXDpCXZfZiLXieQM59XTUrFUEu5a0aLXMhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8tuGCRA9TVsSAnZWagAARNgP+wTQRwoSVbsfVHySNUmd\nUSt706Ez/3fwffRxhgOZp0vnEJkmH06tCgMx4W7u+PPtKezswMTFDfMTSPbS\nGMLkE8snLbbD+stQVUMh6XX5D+pdPzTTO+/bCkmz+6d6ect3JtFklUqf0Svd\ncwd2bZU/4/Ry9nqVzIUeEZyz/m90YCy3RCcg2kfMJssSSAfOsbiplgQFqWC0\nDkor0LdTdxTcTZNyKWC1oS+/Wp0j5aWEQADtsGIBit+44Hl68tKNJn5dlzMQ\n8czoVr6O2fEqLlPN+fgkmEM186djU8PZxJFgblFgnJ2DWTPUf88NZA7DI7tA\nqCEwyy5Nj0wgdwL1YeGGCyhHGbAPmH0z7XLiC5jB0T+Yz4PaApLS+UZeYsEF\nUx2yIZja0ZAFpDUcpGmWxRJoJkPrN49Ie7AlDT8vUAEZ0sPMz0qOIcKJeyeV\n8fitrjKuvw2rFC0AAHbCi5KHB9UiknjpYppvXXHdsfH3YhIqgsnO+NTVTJY3\niZqj8okKDbE87K5QzDUBldhtWucs1vF3nH8L1IX0+o4kjtPYMi6UT60Bmnyg\ngQ14Uw+X9P8QAzG8kuPBcjXmAcQn0ZVxwgFdj/pqKoQA2Wnu/c6gusvyNCrp\niNhLUsGf8touco0WQ3FTpxJ7fXCzlPjdTa7fHQ4GC32WzFjRuZ+QOOfGDScm\nLWV2\r\n=R5Ap\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.ec1a5bf","@microsoft/mgt-msal-provider":"2.3.2-preview.ec1a5bf","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.ec1a5bf_1643305862021_0.26128331089800727","host":"s3://npm-registry-packages"}},"2.3.2-preview.95c8403":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.95c8403","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.95c8403","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ed14375d91e974f7d020b681dad1afad9b3b2e85","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.95c8403.tgz","fileCount":18,"integrity":"sha512-VMrsg6tAdvNawXRQfQFkiYxJ+L39ls3ojMXf+QL9nwGt02vZDArn+pPtZZUu//fydQ1Hwn3mO4RF7ieP7CjKYQ==","signatures":[{"sig":"MEUCIQC2CA/8y3aK1TgDH6ECGji5gc9DL8cOkh8bVomWEHY7XwIgOUf/vz0SnOFzN+9Xbg+/n2/HROlkDIr2yu4eHXx0POg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+tfRCRA9TVsSAnZWagAACQsP/27azU82KIszoNDQ3zj5\nPlrgNDNSA2dOTu6C2c5HiriKEz5/7rUG4dmJZSBstMOYBVceaWzbeTdxnb4h\nR/AClf+oOynlNFXWLpNzGmHhubWcvTlyLGItuXlnbQWNv4/fnPFFrTgw7asr\nj4gXXMt32AuhRT872cO09jqR798j8nYlcm0xFdAgNbb05642P2pGyKAB8JxG\nqRMEyFAtM2Z/gvvsBLShq02fjX1MrKmDGXRE9xMsvcLxqhl24qxXVQ5Ua2h9\nT2C118d6pmcspj8dKuxZH0eGg10xwuKdNeod26pIi4kQpZd4Pherq4sr/Mx6\nTdpXtXoED+XurgR6QlDvrzAJlOrfST1r0DEZsU2A8ByocKw3mksaXnXzUXi7\nx6QCrlVMs8pO5oMWwrNxtwtCazSXJt6ejlmVdHtZLsOO5hIIHmgeKrb1jafP\nug3IAEQk3cCE+qvqzdfd4CuoJV7In1Sl7TciVFnnbyeBCTHHaCfBMGg6WRE/\neKIXVjzztnXfyESqTa+ZszSaIpnYwbcODmd/IOSY9DP/ZZEI8DJqi6Z/aASR\n+5MzcfypEcudSTYxVo9JNYt8dy9HvdbkoekwCaZB8lrB/N2TFSjLwqQMmNtS\n1BYJJYXZeeDWXwQtR4a3vDGPx+hq6t3fni9YP3i8SZivvHU36cfGkfQAg9ic\n0U4S\r\n=IH7s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.95c8403","@microsoft/mgt-msal-provider":"2.3.2-preview.95c8403","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.95c8403_1643829201709_0.2206941673210876","host":"s3://npm-registry-packages"}},"2.3.2-preview.0a4638a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-preview.0a4638a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-preview.0a4638a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"46b3c75da2466820ee8e14bd71c992667e8f37f2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-preview.0a4638a.tgz","fileCount":18,"integrity":"sha512-ZdeXFmHGFiCdfRiE0IauuqJocsxIDxo75hk1kf6kQ13InyNEE2X23kTEDCfakQ4zgK5uOKKIgQV+3jVomFzWeA==","signatures":[{"sig":"MEUCIQC+x0vNoxp9XRzh27DqFImjBcEQQcJfALAsxxDS06YEtgIgN4M3/JYn4pIV8w11JRCUsQL5z6uFRDC2Yf7Wi3leoy4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+vTRCRA9TVsSAnZWagAA/nIQAI0Z+Xl8RSDFSxUTDdrZ\nJgJC2omx+oy8jHa+2cPLgfrKhal+titnys0rPQtBPWYUttcTHj48MBw0DSsC\nmIkZqVptzG74pbffocoE0er+nMjZGWsCexBh38RqZQWgZtFrbgkVeIk38lKV\nRUnZXqONrzVeAOs8wJmAQs10uvcnX2ID7ZmWayLhKAPBUOwUDLyAgw+P2CTk\nbleLUTDh9D2ujI/GBokZMOjX0ufdfOrDMmz0gzkYCVbOpArCMzf1WhYSKm7n\nm2hXKqZRVl/eYBe+0P/7Q9R3ARkVCvf3veYbgDxeW5AN8ILjJ3mjnaPD0Hme\ntsMsknKp4odFuNJ+ozfi4Q47iRi19Cru3UJ4JHtJqDJdzIiwgNKVA6j/REs5\n2rofZ06AD78WGeMnSV0Bdpwy7awNCH55n2O2Fk5GXJtTcNZyzAet7UGY5Nn5\nboheFNacXTLEqAZGeDhk4xRR/RPZKrHcC9W0JMXTri+3Fer4Sc/SH7362gjW\nbH+GqFq4P+8J1yAF8qcJ52tzfeTTM0jJWyfCF4X4hbAfZesInNrR2Hrht8Hk\nASAPSqQdbBZRcL38NIchgOPblebsK+aj7Qxf/TntPEE5OCxCXpdqrKHIfHUg\nnuKdxgNBj5fVCPvxrJ0WUNUKuz3qQTpktyduJi+V+05vAYc/ifUrHnqOYtND\n/BFh\r\n=yDH7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-preview.0a4638a","@microsoft/mgt-msal-provider":"2.3.2-preview.0a4638a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-preview.0a4638a_1643836625264_0.4452591318608723","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8838e4f7386c756d45c9018405a158372eff4cbd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2.tgz","fileCount":18,"integrity":"sha512-yXOpXgSW3QEf9dYdTQ8a5Wf/237R+oC8UQdh+oMVDiies90irVa7yguVqvyzmE6zDTyww4Ss7ktG0V1LRxlx9g==","signatures":[{"sig":"MEYCIQD+dXPRNyrP9cMGjOY9BJwGmc6LiN7zeO9qtDk3/h98pQIhANbg8/WFs3nNzhu1GgfxY/jqT2YWlDJJaUsIm92nNBwk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/VRdCRA9TVsSAnZWagAAWgQP/0UPhJAWcx3I63WdYpk9\nX7BgjP1ypthtUjwxiqEKOu3/5+RX7+Q6peYCN2Z4dvvJnUs5NT7HSksWPYAm\nEoqSU/wo/W0vSeILObYCpZgiaypaWxhwwgtNOUj0JDaAvHUAGJyEriStXsUF\npDHbK72U99068RvpNNVr0YdiMsrTscnFsjRjDsJ4EJ/7TFBqlOYni7bctrK8\naB1LNuzy0EjSK4Os5aQrKTDH3vAyrcgIMWeSKO79xjv+kSLMgaxj0cuSkb2n\nNOqFybuWfcOX9uOQ/eIsDylveMsHctldQIWHDLtXjZAS+Zu8M/q5sagXUNho\nodSrwIy3zOnUdsqGSxnNQ3DQUuGiU/vI6I3ECHHMeiMASPi7hDjLYMyS/Nqr\nSDNCjBonra0eD8oQIXhoy2Y6z2CCRj3eZMTzsPVheeCF1BNrILFAmNBRW7Ke\n7DGvR5ufQOrorkjLuQa/H2geCBU3uSn1jFK22FVLiklrRMa4v8ZVCgi3iqyZ\nzaaEyA0vZaIOSGGz8eJ52HssE52I9vP6whrYonphz9kjqjYtjiLYvcwYDtoB\n7zahRzUS4DxH6RdHKPiYjvf43+5TJcdXnsxfl5lsst3U+UQw/k1o3Th3OaxF\nEuvP5S1UnivU6o8UZ5vtVcbf/lzPrcUMTPlxfuyvFPI6wd/cdHA91tk3rdil\nzT34\r\n=7Wk4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2","@microsoft/mgt-msal-provider":"2.3.2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2_1643992157484_0.290737457921342","host":"s3://npm-registry-packages"}},"2.3.2-next.teamsfx.f5fc7d2":{"name":"@microsoft/mgt-teams-provider","version":"2.3.2-next.teamsfx.f5fc7d2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.2-next.teamsfx.f5fc7d2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a3ce30895293b1f5c14251cd85545f6d77834226","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.2-next.teamsfx.f5fc7d2.tgz","fileCount":18,"integrity":"sha512-7Z1rH95AwOrGDsAt9+yhPX0TmftLRuQ3qPCQOKcGNw72+jy3Ir/MLc8yY3pUQwRb3RuU8VRFDUbrQmo1TNS59A==","signatures":[{"sig":"MEQCIDqR6r5tfPZYCQot3PxqM4+LHXEMzpoaKyuFlotycXFaAiBBiJwdwkUky/RVxRe5I6KT3AhJSykeeNgUAkDX+/YXOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":689595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBEWMCRA9TVsSAnZWagAAwc8P/3T9dl/eujmJqZ7n4+0e\ndPcdibRV5nyKhlQQDU8J403S2D6gHBdC96PvDQqM+bkz70Odp200CRltxSbD\nscEBGCSmyUxTCPFmy15yshE3qxy3Wdulwkm8UKD8EW5eNTM0msLBWGnevPjq\naor5l7BM1Ei9GCvQVoWXvnjyYQsa/wAnst5wv9eVHGHWBiNqB6dw/Gjic2Ug\n+n7Q9yZ9z2j3uar/K5h5LDB64Po4YwNlmlbCLnSfNXD4HkJh0el83z5ero8h\nFtiB3dd46xggEYzlCDndlHjjlZ0T0XMqBmiKVPzFi/WsW0o7ef5meCPiEYvX\nM9fUyJNlDR/2OJANjqdp6IV6X3kunaBoB5U9QvXL+hZswweeLeJSfQ5f6CT5\n3GyrJD6EClS//aHxmqsO6yl0ORIFLbBF+ew/vaxqfTSD/BtxgwW+oh9BI2wY\nmOK+ka9k+qRIsMLQf+mdCEsyG2vr4fCAnZqt5E3lASavNEpU1Uvyl9CSUvhA\nw8oSh0B6z8oXBycXiNfLUHtOiX1Mr7d1JGIX12F+bVsNIjbnJQoHLT5TOK33\n51Q4ckPqfqSA4EAHKRzeD2FTrEjR3yDL9VwNCEzVp9twfmHL2UEJuf/PDHv7\n11rhB7VhYSMss13JeRIu0HgkSXplf4GkhYKU0XSJdX7FMH9n9zcljJkzLpJ/\nY1AK\r\n=8Ci7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.15","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.9","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.2-next.teamsfx.f5fc7d2","@microsoft/mgt-msal-provider":"2.3.2-next.teamsfx.f5fc7d2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.2-next.teamsfx.f5fc7d2_1644447115905_0.6334023478440474","host":"s3://npm-registry-packages"}},"2.3.3-preview.077f967":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.077f967","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.077f967","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5f6722c4d6eb18b67b42a659eef7466630ddba60","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.077f967.tgz","fileCount":18,"integrity":"sha512-SjAHyoDqxDL0QZyRYpWUfazH1qGlZJnAiXEa+3FQ68MzZ6EJTZLR2JgazocMdCxk4mOqwbfJGWJ+HMnr/fvcXg==","signatures":[{"sig":"MEUCIGEtrwqhjH4i3zObUy2YetXXtj9g8jB+O17FaKcnbNtGAiEAhHSsM3rROQYYAIAVrCZJ99oAtPstEvXEOQYu5z/y1dI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDPSfCRA9TVsSAnZWagAAeJYP/0TlqsF3cqHFVeGJ/i6x\nApIxHF+dBH41RkC9O1cM5ueUEltuVGvTVkWnV8sXzko5tY1iJjftsfPJYO9g\n/4nYhGkTBCbjPfHgzyKRfroqManWqroXQxGeCtqy9d1kO9R3J2oZ3RvGXgMG\ntXwuOQSt8nObf+B2C4Rk99g33Aum1xfDpzXEIv/kDnhLzPVAQ1pJ0qom8E8L\nDbjaPglrKpuBvYyyX1E4RNbEwdy0pJDgBq03rcNEaMxCWKhe1siY2ZnDmphm\nhaQxcfXcr8llp1M6UqkEp5i+vN2slCDDI1paHQEtgqjK2F0qvLMoW9D1rx03\nplJcmZaZWSOau1jIoaCyrtHXi0yvvf0njRMPm3XloG2YplH0VnHiH+Ihg44P\nCOiQArPu2D+DZ3WDgcOfgY3xAga2sWQLqcbAsVoTVDj4I2+Sy0z3oegLPOkn\nSBiuweyW0Ep2At50dDFsLFeEUTtYq6xkGV/GbNjC5IjlSKrZRGfpHiM+PXN5\nQyz7pKcSWdJb/oj5PasOmGKJ7d/+CyMQUBOO9mw5FQ+Cj10XCqQIgARz4EeN\nyJUzJLLriNZFZ0MBavPr8qYvtepVE5NeQHl248XHBqiW/YY/VKfaORzhiMLr\nHhki7Il92gFXlVDq6b6FevCJGiRpJ6wqafOG2L+EA2mp8Z/x7UxbHE+dOgTj\n23V0\r\n=Iw1z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.077f967","@microsoft/mgt-msal-provider":"2.3.3-preview.077f967","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.077f967_1645016223031_0.7321131222865607","host":"s3://npm-registry-packages"}},"2.3.3-preview.65d69e8":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.65d69e8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.65d69e8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"34b645c7471eacb2128fbeb05087984a31c01d68","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.65d69e8.tgz","fileCount":18,"integrity":"sha512-sK9jFUkM+IGx4f/5z3WimLHs3t7AI+6MpKWsgduXyizP2hy1oZ1OKJWh9Xcpb7DLOjUnMekzA2BVzcBqo88AIA==","signatures":[{"sig":"MEQCIQDrqCMrBxocnNJ9W8/4qlei3eDOGJLOk6Zr20VJlZYrxAIfHN2/1UuL+O8N++Qh7KL2+hxN7xymao68uefKQM1bKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDSywCRA9TVsSAnZWagAAFHwP/RcqFesdaBBnnVrnb8ko\nBxdlLCttXk4Epf22qDF0n5oLb0hHlHgvIVZHXhzHu1x+z8SJun9xxheVRw0z\nPUILChOk4v3SgFPPnaOdOeDQK4ltmYdjYIbe7eW8lh9ZYB3Kwkj1Z0IYH+5N\nRWYKKc2i2u4aWEqsjHohtZL8QhSL0myKsPbw/tSYmAPl2miAuiBHBxa+DYtX\nS/XSV8BmLekTFrFUZAJuTSG4Hm+1SJewR7nNDiDos9qoCfkeFUXReiG4aGY+\n1UnKrRYmhapLoQIbcsTWa4lAZ3TIYl4LwqhVrUnmQUsM83/O2PWJB46ncmtz\n0xHxN3We1rpqzFzV77F6AoQwzpJLVNKskLFTAU4m5TBeqbRU5uZEuBmOu4nC\n4VDhLz4+RPiNpnfPUnXEMLEGKzXf/fLCOp+lEip9TwkaxXxxZqRHmbHn/Oxk\nwzF0fp990UPdRQ9UuU1iqvk4gx+DUjgUQpODO7H+B6DqA4VsRHEJUiWgpW4o\nk7+5Vb2RTMiGnCN7hpM5l9jfE5vBqle9tdN1Jw94IJWhg9i112ZbcORb/bwT\n92X5KyOvDxjBLPFDK6NC/OWl+wUF7+2Ak294TzXNEtVYWQogvFXr4YiYu0Ub\nxwrmoXLLxvueECfpiGTyfoq5HXtv3XcY+e3C7D9ghSwd37xkE8FdBzPnhmQH\nVOFe\r\n=L2vw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.65d69e8","@microsoft/mgt-msal-provider":"2.3.3-preview.65d69e8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.65d69e8_1645030576310_0.6330688560404569","host":"s3://npm-registry-packages"}},"2.3.3-preview.b8ef724":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.b8ef724","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.b8ef724","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8c3556b78d2f47f77948c545d7fcb62bec03f8bd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.b8ef724.tgz","fileCount":18,"integrity":"sha512-tPFQCpdrywweZNUa2qMJze8lTZyYvnq8053YMZxgX9Kz8Sf6CFmyaFxuwwwIYmigDyE3cYZ2Hd/BiXTO4x4CQA==","signatures":[{"sig":"MEUCIQDF/1fZ5rZ4MgULylP+wBjJLIXx43PoNJ5+jVB/pFLpMwIgWh0WPMinO6AYa0zodmOhHi0ctZeXq+qoXsqKHMFHYIM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDj8eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIIxAAoHVetIe0mj+L2F0XHmDmEkLFM+hvdf8h9xl/c6iidy/gYgKh\r\nHMJ7gir0YrOyiddoLxGi63V4/sQTP4b2H+nx2KOBFIOIb4eMGT8nnlQXRQFU\r\nHoCPQJWxmieXDLHpMlL4l85NAYsjAPS5Ryl7K2TfbYnFMmKqdf0ArhorC8t8\r\nltNyV2cAdHZ4ahPysuptFPA02cAQk3pYnNkWAgi9f/BYzz/Sdt/YjfI7jnIO\r\n8cg96OlS4HYH8KvN/RkFD2cYcqutr1y9Ehsv82JBBxgwe7kB0BhCGzqd8mC8\r\ne1K7eFN66nJw6vbC2mtXckaLes5TX7l0TjgbdkzEV6LzzclEjWS0x+tpskVz\r\nSfOmU55+ABewyIEg420AYuZK3HelWUsc/+/8H8p/KYi49adXI1vaXplnmJ8k\r\nx0L+zhcaVyd5jPH+kdgdXF0P1NrzFIotTOGjSE45lC8bzzAN7HWXEaejHkST\r\nSDtZNKjHqxQ2vxWv6pyPsLXjNgGCWbd1Sqt7BPxmXrCdnGqetDwvYz//9P5P\r\nsFTyaeE2t802ZXm4kBYtycDjYAV013ESxESshCjRuh08e86QNx/9FogqPM1w\r\njfEDpTLPEWcUr5YH8rlzlp+ICIgFGszGndP7jrxgMyUKuDMNbEqh1i8QEU+i\r\nV/bqaBiyi5fUcJTs1iYz/AjcbaZ1wmdwpic=\r\n=RMVa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.b8ef724","@microsoft/mgt-msal-provider":"2.3.3-preview.b8ef724","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.b8ef724_1645100830080_0.5432419129018138","host":"s3://npm-registry-packages"}},"2.3.3-preview.d80c70d":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.d80c70d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.d80c70d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"15432eb999e22151a516e638958a26937f9ac845","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.d80c70d.tgz","fileCount":18,"integrity":"sha512-PFExUlrnrK0ZMDB4S94Wytx0PN8qoBZ6FoDPrke2S1sGK4XHmIbtdDJ9SotdS7M4O8yAx6hJ+huAOILMric8oQ==","signatures":[{"sig":"MEUCIQDFfXRTsGEJi+n390v/PH8S8CYfzaFnbxq2WadLewxG0gIgaRTmr8BnHhgSfXY1/G4O0gWzXT7/570u2a3mHid0YA4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE3YyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrL3g//TB7qqs4vNRE9GQKnkVTOhaUMIl70sNhKwVFCrqy0/MiC1qU7\r\nmOLQy7B2wcYE4oOGjbRBsza/ggcVBeMxTwaVw4ZfLpaDDlIL8XwgchS67dUo\r\nexjfV609g4fzK/S2UglWoVZ583EY73E4TPq7wg5xkHGGGaR1icoMB9NPQJaA\r\ndzZBWWLyt2bZ6rv+up2pcvCsoWDLTarMaJ5UBCV8qVJWCIF7KXutgZmjWVu2\r\n5o/a1y9VJm7R6Vp47rTIVbUzuPNW4uVyD/51LoqDltksAs03FV9QiUorm7tT\r\nWOiB8rmT0V2g9wKHJuqKvSmRe0clsd28liXU8Qde0iJZj9CxSsVfmxGbpNuP\r\n2AkeIP/VGqMstCWIws6ziGntvmYZ5AlG0Wc1YtgqINa19+2rGq8/R2476E+X\r\nGPwnFyxMrWRMv1TB6b0dleHqJGDg20GtceBB/KKWmKJ3pFGd21vrLfdBiKXa\r\nheSqRHO4RLmU4/R4E+KCfh8LWhd/KRhYTkYPZAB5VmW3xQZSchBsDiORBDA+\r\nAMvR4RTCHDYtIlcY9Z4q7py9xH+7Y3//uh0hslg3/LN9ANi2/9/6y63N1yI1\r\n671O0Q2GgeW1v2ktQAteNhnBDZ70fFU7wOmbVeQlPtrXK3eXz3s8/aMz/L9Z\r\nIxRRZZBy6zabhQACOcowM0OYOuwv6Hd4YLQ=\r\n=NU5g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.d80c70d","@microsoft/mgt-msal-provider":"2.3.3-preview.d80c70d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.d80c70d_1645442610266_0.41966770238130713","host":"s3://npm-registry-packages"}},"2.3.3-preview.2476946":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.2476946","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.2476946","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8cd17f7c7148e17ff57d49a627fd1b59ab9496c0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.2476946.tgz","fileCount":18,"integrity":"sha512-qMS4tMHAKgfj92dwO1ZD+bd1qJaYfAGaP1iRYJOSMUg4vt6uR4Pgagm5djqJeq/ZLhOAcAPgZkUZ26Ejyvn3Gg==","signatures":[{"sig":"MEYCIQCS85BRsyIiYs/ZMtOwCxF599dJFz9NuS6FktPlrwuKugIhAO2ASahALuNbrEa+EsY7f/d4CxNp9lq5J5qT0A9aUSal","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiF7zQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsEQ/8DAG04VilBo/5YFNAPdXnsxPrb0B62Qk+dDhUZ2khfqE4AsYt\r\natBGeBtk6LJOu05M4F4gM3Qouy0PRAGFfHrHt9dwtLJpNdLln1JgvmVZDDUZ\r\nLzQqJ8VW1+igUhBAQqwqiVeiOqJAsmFYMmBzOnqk5OITKU0mUdibUhkY5Lj3\r\nGJocJT3eeIETfWxzNJTz7bPTqg8/ZOziuafKbkV1a+jdE0taDZRVVWXmiw2X\r\nj7lNI8FFTa9KaJFjjlUkyFVvhBu3GgK1SQEBN4huWE8Y9oQSLrvJp+rLjZd3\r\nqQ80f/9DuwsW93ux06iqSNlkknsnKjV+0TfOL/6afEhUjqihXY/qbhKmz6Gy\r\nsNNMOeJa7cqCRuT3bEnMavqc1qbvBH8YxzG9sT84NXYddr5/ow8RK4SygqRa\r\nQl7ZDC74IsGDTMSPkhpDgxN6Ihsxj4H6/P/RMVLdv77qM8wmEtnPQxNmICIV\r\nLt4G/Ygh0oLcT8dZyM+j0FwhL+m5d/XiSUvlvphCcDFuSxBPX1pN9+Fbdgda\r\nyKQ8HUdvICS1k9LcRsWCQy+THcaD9wDnkiFsk+S6X1F7u+58AU19Cw/CPTBF\r\n93KNietODFgZZkJ8he4u0R6IkXlxaB+CUh1v8cABE0Nud8r/4TmeptyddGcn\r\nHUy0P3PHdRL4VPrmjNMlkWoeLzezOi8Qa+0=\r\n=4XIJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.2476946","@microsoft/mgt-msal-provider":"2.3.3-preview.2476946","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.2476946_1645722832256_0.42059075020629555","host":"s3://npm-registry-packages"}},"2.3.3-preview.e9be8b8":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.e9be8b8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.e9be8b8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7de0ee1d0930e83f628bb9a732ee7681a6d76341","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.e9be8b8.tgz","fileCount":18,"integrity":"sha512-RsfBTXXz8567eU3LfPA58n7T6hKXbLbCxzBcMf/LqsjvJXWK3cGoetJBF/Xyr181qiZzqmE4Nma0EEK7CenGZQ==","signatures":[{"sig":"MEUCICzTnSUpx4vZHLhwY3qeJJLKBgi6WEBpe8vOSsaf0hKnAiEAqEbLKVJgzzv1jv2cP+KoDUo0dxDX3N2qFMCTWR28ByE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHPsFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvhA/+M7ZWdor5cnuanYXYFLTDAJ5HwAj0RHAC5xmCn+3tHH93iXk+\r\nB1MKsIYgcgl6hJfDofgixpGJmJ7d3Y2JbkDcNW4ZOHnAAzQjUMhfjAygj22l\r\nmpOFKqHPzs3RntolTxkQ9F7rxtIQtLNxwSledz6aIcBNlWpTb0bWR+b+FdcR\r\nqj+mFxREXfX+PeKEbq624rgLKjm4RJ8bQJLW55ew1RKq36Re9N38ppyk1W8Y\r\n1XX1/3yngLxTv9JQGUG7YozeMXuOFbb6Dvix/tk0iNVI74jvMzj5f03PDS2A\r\nGNcUYN0KFzACqLMmYujYj4vKoLKDG5PYt9YzmTKINWe9VKT3832JEkT/AF8f\r\n2PjBBbwMpM6FEaoIUzTKH4lhCpswrSdbD4s7qjUzS6jAzCeO0xeSWLUESOeC\r\nGOY8QQLqiD8652LSJrCPCaioaUQ56uODfnmSjcvGMqzcriy7nFPDpO9Qfutd\r\nOuiCqMhmxvAOJimR+VwLaadKBgiefANLmiSImtM0qNalffvL0VvZQr+tJIq+\r\nkbhbbI9EOqmzV72eEEA3NCZJGusDTueTE4dwy1gk7Y05Q75YxZIRGKuLNklY\r\n3FTFcJGEAee6Bm7BEuA9R17mhoJhzjsw/9JkLkPiVukeBaPFYUFrD3E0XewR\r\n6N+PtrWVliVsJriC9FuKeKBNB57VZzblCTA=\r\n=Lda5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.e9be8b8","@microsoft/mgt-msal-provider":"2.3.3-preview.e9be8b8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.e9be8b8_1646066437812_0.44389717254255534","host":"s3://npm-registry-packages"}},"2.3.3-preview.ec0c375":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.ec0c375","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.ec0c375","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"326b0897c2673469b0cf4261aa1d2652d0fa7f6d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.ec0c375.tgz","fileCount":18,"integrity":"sha512-BwOIS1lWTXwbPtrXGPHw1ZsGk3TggbwYLA5aDRH2kLwhEJbov7skTGqMpg0sA3VrgiG5oFcKCy7dM5mqHF4a1g==","signatures":[{"sig":"MEYCIQDLT4IJ0rBjlcXERA6mdoVdbjWybWHFXPr7+KJvXV5JsgIhALC0mRjfmlkonq7wqBscNjK7horOJtkRgT60FIxxEGD2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHP8bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq73Q/9GY1KDamENerrEmSMnvi0EktjXYThHgEksgLFdeoiO/HjnPGY\r\nXoFN9VF5La2MGthVZ2jSV60RPkOuUnwEg3nUBiQSabxkT8Bn9io8SHJdS4bd\r\n441pAOqY0chaKrV4MzTZamFAOAXR77tCiy0WpsX7RJMp2I5gYXTuWvSNBKdF\r\nfdVeNBRbuwd7o3FW2a4aRJl5fCoBPgVatm+X6b+WuOsNZZlcltjCPuKNTXVP\r\neboio6nADVpRm67JNSoVGuLnFVfrI8xpk/jYFv3GcxWDA9G2yB5rNACkq/6o\r\nSbFtTE7bhKdlqBnylD9gyM6dXIMAr214aAjReJATNXxTWRffDGx8SwvDFcf3\r\n4ZBnCryYcyUNE/Jhmq5KbA8dkOIYt6EvoVnhXwjv87KMW53SUyYC9VCobCHd\r\nOpAPwCFlUdFHiAXYf20Tp+4ruVIAlXg85/RKbYEwb9trqbuCRxfEA0N5k51o\r\ncCdJAiYTg82bcnjNa8/W/U+4kDIHkqtGTqRqCP/tG6A47VngnhD5dakQTUjf\r\n1tx35xmdNxD442CmQkzmuyGfnZShxmXYzd0hwJzfrMw3pIhMycYacfWjq2Yp\r\nmngsVaXvUoj7k0vk+kxc12DSOW+pASpsypvlK1oaFvQcDMiO4Rx+cr32HU5u\r\npyvPUNEyzp+apuu/h+IWrg6M3kaNCZyjrDQ=\r\n=3h1f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.ec0c375","@microsoft/mgt-msal-provider":"2.3.3-preview.ec0c375","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.ec0c375_1646067483780_0.8061236400269147","host":"s3://npm-registry-packages"}},"2.3.3-preview.922affc":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.922affc","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.922affc","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7e25282619f39e2f85e1804eb0717190ab0591b1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.922affc.tgz","fileCount":18,"integrity":"sha512-AIZ1QmZ8/bjkzFTs5sLLf9PeFEPFxidTnsJoNxoSu8Sj+xQqXzbCwU7HWtNQBbMWKgz905Gquz4UfiC1qRv+Ew==","signatures":[{"sig":"MEQCIA3mwf9lW++VStEwJLgk0TNd/7fQlNP8LLp3XfErqXIGAiAAgw6QbRcOFeD5n1Qp2T89Bxqgn9JxHrQCfl+VqolPKg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHQKzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpu0g//TUnvVV7s4DZR3tSKaq81B43aanqi908K2PT6eGpXuJnicsNg\r\n5aY5sKON76phzG7oDmqoSFlvoLC6J/zMRicdG7OPl3vU0+tJMCbbk85hXm4E\r\ntaeW3enX9qLectNpNypePwR+WDYLex/nPxhvi17Yy7UTquvxRXtUMGBT2IpG\r\nlQ31PtjBaYEtk449jPnyOV1c5gwuNTovIZB7VPV8ftHYRaYb3dlLi1KckdOn\r\nsyDHm2OkyMuvi4s8zRetCZz42LNRbN1YEAbJuV8+Cgb6QKIHyOSvYUiu226B\r\nmB73xAd9zSHUfas1kII1AmuSVAo4FNkgk6MNkRFYySEyGL3lG0uwNfpTzrCf\r\ngV/ddq4tA+yUoSP1MSfAqYzXGq8OcWTKGGKPcZhFOuoTJzTkICT7QDlRXBb0\r\nDnbwYzkJ9LbSjZb6Os7e4LmBRrdw0oRyPWNilDaeRRrHJ+5J/Tp5QDlHBBsF\r\nLv+wTTNFjyKZV+bm6zWLVLTZz/2FCwCQXEBj+J0XdAWPjAP10z8NCW655Fre\r\nSyS67rLoTjlqSTPw1eKk9N0ekm/bUa2Xrz4uEc9tASuFnxW3XiyJt4pygnrH\r\njF7RS9TqW1ROmji/imYHvXdGMI9Ov5umyZP/CZYEwiKo00/O8nASZo3obVLd\r\nqM958m2JyOvxEpxk+8CROBC+34ZQrcBKV3c=\r\n=5+5Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.922affc","@microsoft/mgt-msal-provider":"2.3.3-preview.922affc","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.922affc_1646068402974_0.8076351144220209","host":"s3://npm-registry-packages"}},"2.3.3-preview.74be0a1":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.74be0a1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.74be0a1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"78de0dbdf8c1d348fe0b210cfedc75145eaa8bd9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.74be0a1.tgz","fileCount":18,"integrity":"sha512-A0YRtvV7KjXxjnus7bvZ6f+NdCZipYkednCMguBZfgbfLaS33JjMS1U7CzYOW63/sPp9zvgHnXtFDrheg4kukg==","signatures":[{"sig":"MEUCIQDpk2JZnm/+5BsbVSWRSXDQW42QT4Le+rTvxUm4v6970wIgGUNkLUR0WLIkYikjoK3vVxjHBig09DXj+q5DYCiUZy4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHmnBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTCw//ezKK1Wc6ZG0hje2QWhdJrOVm9g7TJMoZ2AHy0P9oTFQhOZAA\r\nEzWn1Nk3oHX3HuhVm/vzZ/Mgxascq6z86gri0Ofr8KGTVFPrjMULvC+l1HcL\r\nhfxkmZ8Cfa8D7H0KsbK+Kk2faxhDjNko3+X4C0DhGpqypQTnM8i6w8fR7/1h\r\nvzBAXW/3N5evvWM7Jah9VVz0XC6JHKN0AiZJ+65NOCVBIiSPqkYi61sIlMOj\r\ng0aAi9SUlu+AKOB1+THJ5+KMnCh4UTm5r7LlvdFNtcXtV2zbzVTIfpAV8h3P\r\n1/7yUh0if8kgTfbKph2D1nnuwOdfXW1eburI7By49JcyCcelBgDol0B5z+FX\r\nTcoU+JbL33jATlaWPMYP0j6W1O87kljT/8EPvJRQk7oNcjQp20u3wkzAramU\r\nMR3dXOhM5kT0+hZXuYdPOIvVWMRUe5eJf5TfiHKxi1v6MdXhCiUKsDcpKhrv\r\nxLOTyejYEEaKRsiXtj5jLBrfi4N2BI2eNNlhUWqT1bLkVEr7FwjXU61Pyz5f\r\nG09UglcOC5vwB18yDYtE9u3F1ulSOk7Oo+BcXPBHCKeVcFZTIoXDAC2BUEec\r\n1tEUFPG4CFgtm4gG5eyjIM+VsgHq4LYc3WykgJrNf6+mlPwAITpIuFnu824C\r\nnQoQZ42BqvWscW7VnfsTVomJRnZBD5lB4H0=\r\n=v9A4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.74be0a1","@microsoft/mgt-msal-provider":"2.3.3-preview.74be0a1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.74be0a1_1646160320673_0.7137644770285636","host":"s3://npm-registry-packages"}},"2.3.3-preview.8cf1b74":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.8cf1b74","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.8cf1b74","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7b68647827a2504c545045971180f8f61be71efd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.8cf1b74.tgz","fileCount":18,"integrity":"sha512-1jMot6l50s4RYTF6EwEFNQbUDJQQ+leKUZ4P4NqZOpg20Pq93hCNPPsF6D6QosC4yangN3bhxFfzM4clg61SBg==","signatures":[{"sig":"MEQCIDEyLFRV80saRjMCSFkae//IFrG134Hie4Ug5xjMvz96AiBBZuTcfWlfRY5xVNRADCYEdyf7h5AY9Kv7HYq4+Vm30g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIQEkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaiQ/7B9PffNyiH1orQ3/zkSOp8CknHyEl1EO01pQJw6XPSwRGEDzE\r\n0yCa0SoRziqKFc9fBRtd26yhvctU4NZYcl0n95+AxEHfgPb7VPSY0GZZ/cPX\r\nh7rP+Oog5NmHE/JtDdFLGyIcjvHMPSQu739sSGIUgVBkLEr8e5+ZLVjuqMPv\r\n99muVYzVkYu8+MFCIIMVmIoEFXF7rG7l1SpYeA1LHOSOwcpSrURLefh1TFsg\r\nv0s+VE4nBbSUXzUebJH6rFY8eoZ7xRDTbdvemKA/W3IPrJC68UaNNDbZJkd6\r\nzlpjjOSEo0ANdjlGzFqTczxNC/2Oos9kGDsveHK/DP1KcwdIR5u/rdxL80Yd\r\nUX6oInFGllV9lPfle+rV6phv21iJ/WJafq391IRsqf71XBSFwBt5nXaFoZFB\r\nKSWa4L6QoAfTRiU5Lz0fpxAuFeh+Bctn8MO1FreQIBKoPLSqZdoOcd3NfXmp\r\n03Kc0BGDINwi7/T7gzpWYnAvvGDIywR0QOLX4cD1o+lkgHVLYN1Ok2krsSan\r\n/B050gnmHKzUNLAGT5Lpl1uarUiK23AcR7zYhOID9lUV5o1RxKughlrhGxkF\r\nVd57SovYUJWNKiiWasDQ8coJnqsy4qkxI3CP/BRbvzzZHlRjskXNI2AH/z1y\r\nSm1zi9TuKW5yst5aV6tJNiE1wuYTMGaYRRs=\r\n=t5b9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.8cf1b74","@microsoft/mgt-msal-provider":"2.3.3-preview.8cf1b74","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.8cf1b74_1646330148680_0.7913188629945176","host":"s3://npm-registry-packages"}},"2.3.3-preview.e9920ef":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.e9920ef","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.e9920ef","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7f4be59be7688e4914a1752f53d36af272ef3854","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.e9920ef.tgz","fileCount":18,"integrity":"sha512-XFodwLpoeBuOFxh1wT60gRQzHF3uxR1IF3rW4mlq+T9MUCVKolAhKpvAbWfTuW4BzpeXyqKnelJ0O0s9oqacHw==","signatures":[{"sig":"MEQCIBLt4vmJBBpb4ji8kbFJ3cK5DTUaDrqV1oDDWCTdj9ACAiBZ9LPPe51JOvf01mjvzSZ3MAnOW8ZNMoif0AQFGHkIFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIh7MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpT0RAAhCr+I8/wtFfKM1JhlcOUsIZdV9DqtZqx85b9a9XI+qeN1al8\r\nDTalow+O4lMlnl/WKVpUfGkX3hxN5e+kutruxnoVUt0Qei7vHUDZqyzr6qXd\r\nLTZhd/ozmaUF5uOdgLrdRJ6zKXlmgmh3vL7nAj3/mN6unqpqCCAjxHF9rfHB\r\nRQH29sNgi+tE71AQo11p3PTTmjhX2mBNoEEuvuPKW64/rCT6iUz2jz9bnT2u\r\nATTzAr2SYqvpP9u7ri/eSy8DbJP7akwOXTjma87i5tLIGa9po5U5LijOA/D1\r\nc29I+d0O2LMCT5u42Eezu1qCT0PdY8If70r9P/z0afsl/dd3BoYtg5+2blQK\r\nNPZOGTt6duzpiDM4Hfodrg3zO0JSWFIjFEP/5XhRe5YE7AQju6pU07Ws77+W\r\n4K1P7YD0e/I2jYBuA+r1I8Rm3AImuXOWsixBGpxEUVPnAixkTN6J+7W74/Ah\r\nN6eUpdn4EQxSbs42lTM1j1OUTT7a8o8d2pRykO7DNRNr+2I2qXzt988aWFB3\r\nQypUc9Je7Ak9u9dLtdp6SDvSsJOWDrmXwz8vG7t5PvQzUBpiYdzmTti7/gSr\r\nHWDKzJWGQvHwjzAndsy3XmPRczmO56SN/Rtq2ySyygRQJSzW8j/GCe0cobPO\r\nU93XgwqprveF7ohI6khTrMaYo2TZANujc54=\r\n=rfTi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.e9920ef","@microsoft/mgt-msal-provider":"2.3.3-preview.e9920ef","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.e9920ef_1646403276541_0.7186021933562405","host":"s3://npm-registry-packages"}},"2.3.3-preview.ae546e2":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.ae546e2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.ae546e2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"896adc941b296cd5596c767d7ffb1680743c9433","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.ae546e2.tgz","fileCount":18,"integrity":"sha512-agyT6qyBCWjX4cb5GnhvLy3kLJm31mFUDsD6aAfcf1jV80OuHU3N0jP+aHM0vWcXVOTu3PBU+P66ZCqlIsk8Dw==","signatures":[{"sig":"MEQCIDPGbXf8uvBYIZ9cOd8onEVb22oZmartRRDpyu24XUaTAiAKTPYwjO1LtPyebIuAbb8SwNa3nO9ZZxvFd5TiujUtXg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIjtDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpn5A/9EMacyJ55Xah1P+44gMU+odLymieIdS9tU1O+jukqA0NnBgkX\r\nrJNNez2c8u9AaHZDTp/0w8WLR7EiGkBouRCkzF7pOcGj9CZm5AhB1naKoyTu\r\nVMh9Ru1tBaTSzY0PlbACln3I0QGmjR6r6cN1uDd2BlOlupz1tF3RFFDxUf33\r\n9YteRtHJngDrkXtrOZ26jYlNPZQd3EbfkYQ+b2/NtR7CHV+vx/OIOAGjNsdS\r\nWKv9bM1AM0LOarcrb8Pic+/Tsv6ZgPHmuJqoGIgtX3Yc4SxVSGTCTa86V6Ya\r\n5V7k9FUoUbq1VunTe3yjeTEqVn0NuCkdZ6PXjApWXZlzgBfTX4EEdSXuXez+\r\noGPdq8a0vLyU+mcZUyar7AettKwEdoevhR+jWs/k9OlW3d0up14s2bjrNO/P\r\nacXOQ32UmjWWvMR+7PPxEMQdPlUMS7PfSejAbwmBMpWHTyB6S5jf5GZnOoc4\r\n6G0D0t/PvpQOxna05g9k20WfnXrQlG4IHZNLpNtpSOyConnSbrO37hFxNidi\r\n0aBtLp4PkT5/cxf9F142dSSannpl/7Rvuw73whnYlcwiC0ug/SN+vz4hkKhe\r\nNuLJ43CVxTBfxNBrtTaEnIXY00Pu8b2D9UOnD/ck9cJZ6QFFL/4mrg0nD93z\r\n23rO3SM2m4l+hbYSQ0way2dYspiOEI0lPFo=\r\n=rQv9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.ae546e2","@microsoft/mgt-msal-provider":"2.3.3-preview.ae546e2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.ae546e2_1646410563472_0.041023031537067656","host":"s3://npm-registry-packages"}},"2.3.3-preview.8217c1a":{"name":"@microsoft/mgt-teams-provider","version":"2.3.3-preview.8217c1a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.3.3-preview.8217c1a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f72375ff40e5fb5361407745a0b34ba38f81395a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.3.3-preview.8217c1a.tgz","fileCount":18,"integrity":"sha512-Se3XlYU4LBBh2iQSUH6CmR5ZOt0bw3XUFFtw/IoiDguKVKxACJvZZjY7i2wfM0rM+T3q/JvuaVk9TzPuamhnBg==","signatures":[{"sig":"MEQCIDh17fD2QGYybK58XepyHda2avis3c6LeHVIAqgDrMYiAiAT133Gc+LJ0W0u9NEIkUslXaBiu+hQHUoCweycRc54Pw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIj01ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQNQ/+KyrHIfIkdk8AWBtm4gzWLv2Yi9NqgZ2Y4zp7utb+cQCC2Toe\r\nT9QGvd+rhYJGAchgGZDdgzi4nEeuiZoAGK/2OhEBc1ApkeF25N3wwFXgify0\r\nTIJ4P1CuxS15QHcN4LRkrGa1HDwRIWor2tqfc750BuUHS04r/IY5kqc41wQe\r\nCdGSkXq+o3zU0/TFZAIdEJcH2T0g7Us7pKASsTle1zWZHu5m1BI1ncRR/WoW\r\n1OcJdJvIVUlLxiW0Wpgj0xi/FeoFPY1EOFnhP0uBWG29FbmySFDR3OyOJiRR\r\n4mdbbwccOm+OSP0+eJ/z4b7hYBAhlORU4Nk1THuy7++oSevG5kjlpi4m02Mr\r\n/o3TZqlyNeT2FTuqIn3LiA4wUv5ZZ2Yppl9wYJSJQqPClIR+x3ZUxe4MiqQM\r\nxAFbFcqFOIL103zSLK2lvq4MvJxhSADuDOi5xoEranIKoEPqkP04Guu4/uLn\r\nHfqjaHLAC6PvCqb6vcdr4zOJ/1x4c58upVkfhEwpyuV8hPrxtWTCbCiDPg0f\r\njF3SS9iwkztg16drNWsAfCu8VgOJYG5xRoiIAawOCvTx+BCFpBxiUWq1B4as\r\nqCNmVB8WZjPeUDTOX1bXXOxMxWhIE4tdPDC9a82OPzlp04KbLfQYaJjsUmHU\r\nSzNEBfaUV8dsjpfdk2jauITJlo0S/uACiwY=\r\n=VZtn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.3.3-preview.8217c1a","@microsoft/mgt-msal-provider":"2.3.3-preview.8217c1a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.3.3-preview.8217c1a_1646411061437_0.25512712113153113","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"@microsoft/mgt-teams-provider","version":"2.4.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"97aa51ad1b723df11419d33c123856396ab14e3f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.0.tgz","fileCount":18,"integrity":"sha512-7E1bE5N74nrT6nQ9zOVmbwZue1N+qg7bjTMn3ZJvBjf0HXV1GOjHDwjQsD/+ospNVWJc8ZSH73vJNUiBoXFyYA==","signatures":[{"sig":"MEUCIQCm/LnCSL5dVm0HLl7/9ice4atU6olXi8b4mK16cDKfjwIgZGgTXpYxmd03+8iAS1ywbQtlmzoeNn2klAGbWiq+7hY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJjTzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo19xAAiVNNb9aCPkHROzPfahnp69VEXNXJ4+/Ga0vv6L0jyqj/V4nx\r\neHL5XQeALFzJb8WO5DMuhLkkgG2KAxxWYLMqigo9gL1uDfHhUo8DGl45ofTj\r\nHjXye7zXsOvXEotLa/GtZA1E8nfOS9KIohh3kYXSYOV1mmbzuVUwS3NBXA2D\r\nCbjoGkeCfyVQkqiw9sCtrGj3C4tLh+GdzOUn7ZhRPqod9Qiy0j/Re6mICNUb\r\n62IJNbZfQZdtpEyALZksEC37nSENMrPnyoKsJouUYIKJeLUZ59QIqtzFyK2h\r\nP8V9+B9cJJDSdwDgYscz/7Et3KidSJrWomtEIRobn+Pgy+KG9iuX6gB1G1xZ\r\nJ+oahSaNhwpzXBpv4oi2++IgzEJzbo4iLfJEXzo6/7ysKea00ZA28mlKkwwS\r\nONGdRcETv1+dfL/TOxybd80ULd3SbeX0oVWTxQagsWfsUsjCJOc6pkHk2wgP\r\ntv1cN3Pb5b5atoolQjt5hLjhXLWHiDmZBQ341H1FhH5a3fT0tvcoMuAeenxL\r\nS5pkmBoqACSrXcxthl/4wsLEVGYHLnRw8JtaRjp/KYzVM3uNhiSBwxFwvTLu\r\nuBWAyRsmtTu2rTp7LW+V8DuLRaYLMdPklvLph570vt3WA2zLLtjEmkuhvj1l\r\nJKckLDs/f4VB9Zx/6N1QyOSPUGvOi79HSlM=\r\n=3Yk9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.0","@microsoft/mgt-msal-provider":"2.4.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.0_1646671091187_0.47715289775001524","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.a559bcd":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.a559bcd","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.a559bcd","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1d222a760b8094789d3180f71a202c488093862b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.a559bcd.tgz","fileCount":18,"integrity":"sha512-BhlDzlQZlDxgNyxp7jYBe7fq1z7DvbUTSGvlOfUjfYFqTpeLy21McYIAPVXIEyETBlIHtrOAGGGl654dCZIGWA==","signatures":[{"sig":"MEYCIQCj9td9ZYZwWmYhqouIXpoAVzxw3IVYPfZ4oS8yi4p7dwIhAM4Dq3iw64++oDkzEaZnV1FAFwjmQga+YTSUuYPyfKW+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":689595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJo0/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrArg/+PuDeRseg/R4TPPnbY/EVkzGcqNVQaj0oEmQf3JinyZWUfL/1\r\nePGFKnN9theNmbgJ0W7xqbLJ3jW21SCqUMfYVgmI99q0/4uCKRwYEYe2/6Y/\r\nUcCwaRCaZEiNpEEzt+oPCLdA9MSNetlaAG8lbSuKEo7JAWAeH3EAc74LJmiK\r\niq8ivLLX0RYsyai45G1VYi3IqcgcoAQWmDeKYfmteFlcqjr93fF7t3h531u3\r\n7mIQGQZhuFwXdl7AZP2TKVu6qDJh1s1UQllK/o5/dK8rvKIqHldX6bOc/fwN\r\nxkLenMjUwtDMAw6ImVyNvu3g0Vne7a3LWapSFfPveBTQjQeNQE6M3OGaMUgU\r\nmpWIkjoxduFajKEJJK1qHugtYuFMxaKjRa7cOWbxvCga9qmYgCM8MHzWqNL8\r\n8mjEdH+6I6PHcxBi6HB3ucEkUElg+sAvx91BBtpqWpiF8PNIpABs9fskZN2k\r\n1+1ZXiF5b7O/J/Qkm6RCQRzmCg/pNHMKA/1ObEPkLaYZr6aNsAVBHOjGVBU2\r\ngj2/jTGxo5VwzcfPPTzl6ZGOyTRjKpBehw+b17Sap+2x1tFZkVpOhDjTRXVc\r\nklEp6AQe8KSH5rx1Ue2Vw3ElPNYhPPNz70D6DZbhthk3uRfKitTPzks3cqZb\r\nyXLfrhHJu5nvhReDB/r/b9PmwWcod6XUMU4=\r\n=WO8i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.a559bcd","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.a559bcd","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.a559bcd_1646693695001_0.2568277469599698","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.3511fba":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.3511fba","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.3511fba","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1626ab40ff065b8be03311c1ebb4af185f2b64fe","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.3511fba.tgz","fileCount":18,"integrity":"sha512-BTvnNs2No9zFZHkFSd7Kx49uufEvROmIq0U3gz614+J5vX9VGD3eYO4hqP3yV2lGAmnt2RL1GHYIpzNTgwT7aQ==","signatures":[{"sig":"MEUCIQCwWUYRtS16HL4+RooM/e938r0ypw0itPsfl6kiTyI/0AIgBVPtLdpcW9dtEwzLoD8IELMuGC2gexN15kg9bugyoQY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":689595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJ4oOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8Jw//cBbSUQIUn0c6pyhypscwXHb/gFz2INWppS5AYS93w8CTUbXW\r\nWqOsThI/o0jKtHcq1RazyAvggOUmdPkUqvPJXguERqgXKLQPJnIcwC72sFPj\r\n55ZZ60h+C+2nk4hPZfg+8akcaKS1MeDiG1FGgVsIDeMir7Q8kF5VupNbhQ57\r\nsvgCGT39NOAg11Lo/48B2n6eVXVc8u05AmHruccRq5Ng8kGr/cEBaGug5uIw\r\nd11yrRy1vM+/kM9I7RnV8+bRGzhG2YMEZXWXhkEheo+NYQqikwbqXOA37/5s\r\nrKiCjQ2eR5FZ4DWVAZGFmNcYWpgv6AfhS6Lz7cHJ79Yt+t/+UJoeBKChP8vT\r\nM+gCR9cJKiPqEasg8y4+4DACpJpWuv+WaJ9y2fWIPd7RSGf21I204G20GHRp\r\nXuyhMzQ3ypsNv+u4nGhr6Lkru8Jhc/Qt6wsCU9n/a3jsetGzdM+poI0LRy1n\r\nSDtEwpkANDK42nwToUQPAIk1pSvdjHy4wmJF2/IVWSWHmeCLHUlglYZpgdTV\r\ndfu2rr+x/vKa/oIJiQlAzxmHRISHhHRUL9ueqAK/TDsUwshYnpnLPTgqMl59\r\n/qFZLBzew2T8Ae4t1zmbo62+hyNAMegs1J5lxTiyOJeOjmj3MJvzlbvcgtJs\r\nOp6krW/1JIcI1bMX0+/gmSTk85I8IdsBfgY=\r\n=2IY0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.3511fba","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.3511fba","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.3511fba_1646758414673_0.1665676601436823","host":"s3://npm-registry-packages"}},"2.4.1-preview.cad3584":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.cad3584","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.cad3584","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e88900a61b42928cc48030dce4eeba6575acb811","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.cad3584.tgz","fileCount":18,"integrity":"sha512-if1tSzW+tHjr+OdPWLeqndwwH+q8rchS5L23sJQLrYjVqvb7ok6ru3/NtF8WEE0dyRqXqhmx/UaecJ/xiueBCg==","signatures":[{"sig":"MEUCIQC3jsCS0Q3L//q4qMSUSs/mzbQ7RBBjC1gREyAiViZ8YwIgaBGsQe6YFUlmNjNDaIT18u3M6YWOELDm0ohDWGCEAso=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":686636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL3UWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3DBAAnIOU3uyDTvqmB9Gw8fSDrtdD14v6x+X/2SBoPpTuCLnh6wa7\r\n79Yb1lhBz3p7RdRE7UZ3bTx09beT/VgcVJGJtW2GLQ7xPi+HyIBUsPP9tP63\r\nOFUfI00nd4XEzIeb6x8gvnCjdoU1vkLgjhgeroYu/fZy8P/31cVLQpMknfam\r\nF2WLKfrRxHh21aBI+gs1gcH25u4QU4BwBFycVTTzdJX4+dpgCoLhlYyguhDn\r\n5nqRb8LlpnRn34L8Sg6WA9yPIf18NEhs80yHAKkRKD1Ayxd/aslADapnRuFd\r\n6yZjToEimn43tlrxQnHCwpxhJh4zE7VS77W5oIR/hvcm4aAHOrXKByoBg/of\r\nmtJ5ev/ffRNzxqwHgUDvEXbOsd25hUlL3TkgB9F6+K11Q9LEnM156Typ/Rwe\r\nTJjgCaeg8gpaQ/hwEQt7kegZam7gr0LUA1f6LZmhm0jTwz7aqtkgeI/YI89U\r\nxUyrswoTjQXA2Fm/lquHSkPaRIMV2WqwXFVW2NOwexf+QldX3l0VZ/cktir0\r\nXHOprnB2Gr6F9Pw5FvAokeaKC1sh4tgHCCsHlVQABCT7/nlKTr+hFTz90shB\r\ntwOKEzB1+G4U+yVdav98oqxm1uKeVB579RHiZMBJMrp7/5dSOqNf4apGXXRf\r\nH5A+iUlgGFZvvfLGv6Z5HQb6wGb6DLL3UUg=\r\n=rEaL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.cad3584","@microsoft/mgt-msal-provider":"2.4.1-preview.cad3584","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.cad3584_1647277334630_0.8082702394908721","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.053a600":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.053a600","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.053a600","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"45fbae5665edb07bd2be619d5d1ef81b4d990d2f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.053a600.tgz","fileCount":18,"integrity":"sha512-oTh9hT4iYWjEADvDfd40utzifkozYs72+ST6VGJLQe/ihtJewQMWuIqEsjQ5UQ3LiH/9ZrbsTcOvPnWhkgpYEg==","signatures":[{"sig":"MEUCIAXn1iJ5uZSdR9IcvXDyX6+lKSzmXCtgYSY2a9FCkwwKAiEAvHAAbmRE9lFdR5EtplvDQk27udkxUXP8udXmXRHsK/g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":689595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMc3EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrs5Q/6Am3Q9HbZ6UGtnL5gYCiIx8r7+deU0quWJlzh3H5Ipc6N2g/j\r\nLsUCnKzZDHSG5qFJITFySQsh9Md6TVtpPe1H5qqJcMJcWbKbCsg1WHg53Me4\r\nY6sgXwBkID/0HMmBdSfRtDRNvBJPyVOOK85sNP5Tk4vw7ItuElV9kw5RJHRz\r\nRJfTHnCs6iFmSq31AzoVjYd8O7fOPif0mJ0Wxl1nPWWMtA6uoBKdVmiHgAZh\r\ndToFnJb1R7cnQcjqSHysjan9oJniKVJJIWI+SN3nS5MjhS8+5XBxYKegP8Re\r\nL9gI5wkgU/u50LCL0lUwJ7L1wVEth0YqMDPf5kLo0NiMwsjaMA+8c+X5uZ7Z\r\nJBZ/tZmj0Mjr4Zfcnv/5uNdfxNoW9cjD5AWzrk3OiW7hgxDCT567JCO6L1HH\r\nKC4L9wI1TFUbu4+XOKFxif0OuEex/KhcWRTYd9BoaDOL+p55ON3xH0YKBUlo\r\n100rOFuEGOZaVod86EHmHAqZL0NF30l6mJdBNVmgIoUJFAPc6/b6wj5TnJ7g\r\nH2TWQ7+3lBcT9wZEoI3421uTM2Hj4kna3ofKAui1lb00ASEiPdeVwGTEGAfo\r\nkgh46qr6CM3G/4jZEqAkLNnnJff+Igh/0zlCuHFHmPzIESh6bWvdpEHGzuDy\r\ns61S8ZCYIfgUjmm3V+p5l+HJO6CRKQcy3/A=\r\n=mbXB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.10","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.053a600","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.053a600","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.053a600_1647431108181_0.6402410428800127","host":"s3://npm-registry-packages"}},"2.4.1-preview.bb3ec27":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.bb3ec27","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.bb3ec27","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3556a0530c289263d4c267964ba0783aae6322f0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.bb3ec27.tgz","fileCount":18,"integrity":"sha512-IAlONI5Znv8HkkuD8ADtd5qknT5nQMbhsdr5N3etGonv3YRAQ5FtiZOZtSd2vs/2ks1G0D3/8ZVGaQua1rmbWg==","signatures":[{"sig":"MEUCIHFqbDDcNAbaltTrPgv8kALleM1KsKD6d+w3GHICvOEWAiEAv9JSkJrew8EKoP2wgIltcziTriVkb/mFoP3+t32IgYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":691305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZl35ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnCA/+MWMsR/4Gyci/h10IS2CUpf0jbJ58+ysZBNSk+4u5apah59rO\r\nzzbuwt31KmSzcgN31+ra3AhEqEMrYZIoIKNLneUQxhRtc4heAAPspHbkgrgJ\r\nRRnpORlEODFdl4TmMJpdjkNQmhBUHARmQrJviW91d4UrbPYCEzqF/0lwJl/p\r\nJsPmXixJk4cUyOX+dqCUt4OAMPazepxdzviqjpeWVWVd4APXsxrLdRs6msus\r\n12JLB7gZMk/8D/vfMVKrRBtqKGA9Yd/db2BmME51wLkc8VuZWmOizw0viDH+\r\nImCluoquZgjkiWRyv3+lFqHbJnFHKtJESvco27zpK8JDBuGUsS3Hi3xyAPIq\r\nxxV3YRaYz6YnOWY2bezCNj4RM3JkxLBGz72XhYjLaWdgoQ5rtA3qN21rB5B2\r\nlD9Eq+NmtzZKiLDFduwow5z95JxwO5ynF3vIEh61addNVvmde0ig8Kkksm7P\r\nzuf8IIQpxwkXMYoXrKOapsbku7DWYfYlNf97mtAK8vPMX7wdIL4rDb17Nmz+\r\nbsDCYbb/OLZ1lY8wF90qNbmU445nLS4g/W3iTgS9NN73ruTGVHcbh1+ccHvE\r\n7X8+vpBdsz9B7F4932IXqv+71o5QlHXFXjXKfSZ5+FAOk9skk/Z7V/n0AfC+\r\nyNqaIOIeWtEdQzIMQMUI4wFS/AFLIbYFuH4=\r\n=B8cn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.bb3ec27","@microsoft/mgt-msal-provider":"2.4.1-preview.bb3ec27","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.bb3ec27_1650875897220_0.19638942508170976","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.c5a7f44":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.c5a7f44","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.c5a7f44","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cf88942392202eacee60d8a4e3f3b50efe6f39ee","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.c5a7f44.tgz","fileCount":18,"integrity":"sha512-YkElO6HGoC8XtiOhKwq0gTcbCHGYAQPUjwJrISSNNy/V187sbqqUWk8BXS7sVpI4Odpks4MvDwxchpd2G1HInw==","signatures":[{"sig":"MEUCIQD0lHZKSh4Rx574tgxd77agmbfURa61P/SkAIUwhOd0XAIgHZU59F0zWOZcuLITLpNMzYQ6Xw57LFN9YixyLDKWMQU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":755304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieVfcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqC2w//SSgV73HiDso53QMRwARt+HrJKpE4YlILDeMZyQY7HXribUzS\r\nRvddiR+PXux5niXHrZpyHWD78cfNPyaNcgmSZMc4Okjlgwm6eEo929rxuB02\r\nCifSdLSPPQy8uLVbhIJ73Zf81qVZKyK1n3LMVgIxNnIAWUrvwIagcpqVwHPL\r\nBk6B4++X0y5aU106b4G+ip9VuUHVHHpqPT1McJAHu1O3/Xn8qjK2fZ7HeK2r\r\n1GkPY0ign8he7XKbff1gRcgkA231Z5OoMgHBbo8e4eViXfgiq6VIJ03J/9Ro\r\n69RswxcX5mjMVXTlb3QnZQxwxLsnIGDdXR1OnKvRln4WzyaFHGpHtCNx3DOS\r\ngXQvNOnlFqVGdTUn6WUPLlVmZaeW//JnDiIavqGDgr2PrjKFJwYyVjI6TJo2\r\niONHOaNxUv45IKqr4i49ncRvDzGAsvWaF2lOwzRJ11Dci9IAuPA479jXTzc5\r\nSthRDrqZri/5dTtdYQOz1OzYqZ8u3f1XISwCcDo22fW2bnumj/bZHCNALJlE\r\nZH1K4xR2IIfJhptBA7G3M7p11fZLxIKBnfcVsqoh0EC9MLkpMT0uimiImL6b\r\n2KQMIFYX2tIHvQcSf05Pby/Q2BV/rRuEu09DQrLjsxZGumkBW0iQ1b7OHIrR\r\nJLN4lMTfpJ1VaxfWeKcyKYjFt/rJMZ1ze0I=\r\n=eYXr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.c5a7f44","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.c5a7f44","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.c5a7f44_1652119515866_0.05640745178698037","host":"s3://npm-registry-packages"}},"2.4.1-preview.6d73855":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.6d73855","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.6d73855","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6c1b977542b32b67735d34ac159155919b3af22e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.6d73855.tgz","fileCount":18,"integrity":"sha512-rCavmGIFjNS67w+wn+NEeVH5kfvqi4WrUQPyWZY32ltVB6nsB7AsIyWk2Ld4F7C0a0mvC1g67IkSncMU1J0MwA==","signatures":[{"sig":"MEQCIBptsZY29MXl7MuhC8E/XN+XE8D2FHGpEp7grtIiHenoAiA0F5ZzWdROwbpUt6to8ltsau/B6+yPZCqobZFAedJ3HQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":691305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJie2bLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUsg/8CFpIey+/IbzsjKarAXiSK7V9NpM4GSLd4K3KrKQx9gFEJ93K\r\n3VKs9oP9QY7Yy2lD98R0LJfRrGzshNRd7oP069tY3kV/IKTuEf2xqiojOL5/\r\nF9ZzO4ubL3zPFKA5hmQm00wpCirGlwQJujeT0aBmwZPnQkKxtZ6QVq8eKtSG\r\n8IipLQPotKPRI9a7eI4vvQqVfxD/IFyGjP3SNAI2eZfGndyORzC9VWUcOyJZ\r\nA0QPoyUmTZuu6SXZbM+uUjHys6AoIRMwH437j2oZ7KTLh8TlmSLwXaMiPC4W\r\nXQmm3rqtSkQJI+nuhLXS6WXZPHvyypT33BsE2PFmbGKSiXVQkTRId/+QY54h\r\nThDe3tOEbAmaP/JT5tW8pIhSja5mcN8VowQ1ElEYHBzObBtfSRVYtEWArvQL\r\nWKOxwJpJUyi8fX3zYc91jzXQrSMEo9+1uUPMO+MPVYxLJ8VCbkqcom243Qex\r\nFGiIDF7apWUcBQFOQIuLiHIOLieAJJQ9ETvJJluDe48se5NKLpNmakXpi92k\r\nwxKtcjyk+OKzvN3c7fu1oCGcugAjnOkXBS44/jB3WEL4Kf5Em+orASV6+Nu5\r\nMPEAPckLyv4t7H8EAg0idkI/nG12CV3k6fhZN/ljJpBALKOWWbkYiENpgUaZ\r\nzIK1rQiiFdxM+AFriKf4Su19JPzzu1MemFc=\r\n=g0sp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.6d73855","@microsoft/mgt-msal-provider":"2.4.1-preview.6d73855","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.6d73855_1652254411259_0.5787031858761262","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.1552a26":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.1552a26","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.1552a26","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f15f6cb139410aa8ad9fef5a93ead6abe363f4a9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.1552a26.tgz","fileCount":18,"integrity":"sha512-ljdXuOngWN3YwKGKtLC2wl16d7aHRgYlYs3/0WAtLmmkvJefJ5I7XNqlxkq64DC6HUGhT4Gr5tSAQcFg+LC2UQ==","signatures":[{"sig":"MEUCIQClfRs/HxiflDZAlwMcOZaiqhVe5oZdgfaFlitGpFI9ogIgIl4w9WM24PEGv0032tpjbiD9OzS3ILbJYGi2rIyJsoY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":755304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJie+zEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzYQ/+OVaETe9diD1d1jUdF4q+jSLx1vTaaTa0+Z2R1byOihvMrT8b\r\n/VuQz4zMAc2fiIbZnvt8UZkrUPcp7bvNblBLenhIC1ViKk8rTs/4/IrFt+iT\r\nHXGL91jvfflJWDptN1OLB1c69Z1NH5cLvB81I2m+pImEbY2n6kftwP3oIqAP\r\ntEf55FmDxW0vIqy26IY16BXEj5KZioYowr0kpgSumwdrAUAdg3jcyglK251j\r\nkgKgyh1Ob5RH15kaFyq+jnBs5oZRxmQmicZpk0u5cukFH6zG76vXA+tRsmcW\r\n3rxwLSyQ8i2bY8umTvKdlNA/6YtjsycmHOkUPX6leEfa85KD6Tsz0VT4EOBk\r\nOEawZhnl0QFGaqmWUP2aIYBOSpyRe/EqdBs9sIhnvwFgmqanUMOMbl1bB/0x\r\nqySEUqLvcywDwA5zwZhTuhSYS68ZZOoT7+1zVVSC3rU7u+VHB9pIecMzeYGa\r\n9OaScAp8H4qHf103xnO27JkZDtZ0Rb2Lmwwi5SqOG1VYNAJq4grcPcES3ssd\r\n2QKQpDtP8ZLWCSiLLlsk1v/WH2LIuTHnG7bJ/Jqcu5tmtiL5YhJT1ELo2o24\r\n5h0LiuQkhgO10ZmIjmr6316bMOMizPzfgYOS3u3zMahkBdaUosrC1jyQpy7l\r\ntb85QwHoBdhIzBMRYrubBleDdndbKMfP70k=\r\n=Rbep\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.1552a26","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.1552a26","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.1552a26_1652288708185_0.28921358924316976","host":"s3://npm-registry-packages"}},"2.4.1-preview.5709ebd":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.5709ebd","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.5709ebd","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"21b477039837979aa40d741b1465ffb5e45562ff","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.5709ebd.tgz","fileCount":18,"integrity":"sha512-XrlWyf8VcUfkXWI9tDc9suYo+UhYAvIyCzciRHCq6plsV80UAMFnYw6m4rCVtG7n6sGjepkkcKXAeFQ/6ZQlFg==","signatures":[{"sig":"MEUCIQDVeQS1xbNJK+urY3dXYjqvib0LKiCiEv2N7dpY/gDC4AIgJcZXGzCKzekggt3FYssQMw6g9lWUKkvR/wsVZdNOpvk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":691305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigghBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoncg//T2ovj4HbDyvbFNpR9h+AyY1/O1oei69kAB5z8ucPrA19FpQX\r\nNMThIXTuMBcjEajcPifkJ9e/87nYWl5Gxp6ZVIRDMMyEMQHADVucbl95iMV0\r\n4oCtEGjWn5HH8R6YP5rq4Y05SzRPlGlpYocQBwkWYV74eelY1rarRT2oACIl\r\nbDRYO9UcrIDQB1fUvjqTF+Wa4fDxp/Kmd9Bgh5tuICYJPiORTxmdpFhlfji8\r\nqH3JcpKfXW/JADQZ+CiKz9AkvpZ2p8lVoJ31X+b81Zr2k9zzgPmDtKgtRB0Z\r\nYKNlPhH0gENTmcF7riTpViRnEEUffDCmXCAn1SR49QbXglcdGIB4p1I0aYi8\r\nQJAfZZv1GdcghfsqGBHNvlyUbiy34vQFKIt4dscO3/peGX5dUPR9EHThJHW/\r\nAn1gIyaWXJoCqjyvV/M6QPrpz62eX3m0rG7kK5Xli+kn1kNbqC/kxR9YkKE5\r\nHpccPMfBj3cM0tDgix8csUD45cony5XxpfhX+xHrKtnXE9zGRNLsCdKJDs+3\r\ny0STQDyEPms81FcNX1Ja9rIMy1sJGi002eB0bvhhmZLlW4nXRqkuB/osISxU\r\n/wqYj+zSbYjNQ2jNqKmNzCiZrIBFWcRfMiC8BkWYSsge92qxwoMg2yQfMFe8\r\nFqvrkxF8E3UgXMqbTC1j7Y5BR99p5doNGSI=\r\n=zoKu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.5709ebd","@microsoft/mgt-msal-provider":"2.4.1-preview.5709ebd","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.5709ebd_1652688961806_0.38300306957171504","host":"s3://npm-registry-packages"}},"2.4.1-preview.3f6085a":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.3f6085a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.3f6085a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"bf85b85c0344111fc283cb8a08cc60554aca2106","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.3f6085a.tgz","fileCount":18,"integrity":"sha512-WcFJZlG/mJukXTnILfkhmbSCO4qocUCw0eBdCUcfSCSXTGzCsL6rAuptWyqKZ+7Aw5dNqe64yS+xLORE81rFdA==","signatures":[{"sig":"MEQCIB/z32Ob/cDXWRXc4cGgR/YVfquadBeXRAPMEmLNuk4OAiAIxXmiPZvFQrR68B5hQ4SK+bLqP/9/quDxoLETRO0JlA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":691305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigjccACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfoQ/9EAreCDxyZq2GtTu5tvWKx1E5XNc5GIEV585pfbtnqxMtGCVZ\r\n3fgCYEPOV3tO+ASiHAQ4toroJlMypLH/+a7w5d802oQ9FoTbqsjQBdDQqO8G\r\nYaXlszqFsL/BJuKiaouQR7rqQqxE5txI5T0DyYkneNZtCrERuaMCCNMVaVKV\r\nCf4rGw2/ogpXVsMsEKLz8rPiLoVoLGn3z33944HmLhVQdLtWRvvlWBGULqDA\r\neJedzN1pbvm+JlBdbUqRBXDwD7mwbgDSqNviZX3jRaej/zwVn4Hly8nuPI9Z\r\nosoVLk4qJVuicxnPP0jLOZ5XUeLu/It0NDJ94TTzGCHIy0yd4midFrVEtNYy\r\n/VsfSKQJHmBvfnW5zKfJE8Xo4Mckgo21kr8e1DSoF4M4k0JpYswB4E6NGzAF\r\nYTFE2CoGWOWQVpXsWrJMaqzJ3cQGMP+J/HR7bwhGjBR+W9YW1au2ZnIjTi1R\r\ngEHSfkFAsT+2Clv65lEvj6R6Gn4/75LzNuRbA+m8ZbBWQF/WDd8h/w7beqUQ\r\nGFB78KB5HivsWh+mW36imaLX5Ck3Yr/x2lVWaSlXxqIRvR8wLoNLB25AErX2\r\n2+y3yJFf9uc90b8q/HX+T6nic7QaQ2FJY+Q7IDffpIzJs3EIRI7zjCkxdbfO\r\nY1ceKkRxCM6fG2S2YPbP4rJyrqILPhcKERY=\r\n=py3y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.3f6085a","@microsoft/mgt-msal-provider":"2.4.1-preview.3f6085a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.3f6085a_1652700956313_0.13026826642383593","host":"s3://npm-registry-packages"}},"2.4.1-preview.c1cd1af":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.c1cd1af","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.c1cd1af","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1540221c463b326a023a30a6f2cb68af6340983b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.c1cd1af.tgz","fileCount":18,"integrity":"sha512-zFYww05Jn90ICnSfHUx7+L46uIDRMBkOP2ponx03YkTEinj+A8cfDk8u+AdwwrkBD2IuhUAPiylv8ghdQa/VYg==","signatures":[{"sig":"MEUCIQD6hFk5TIVGxyZGUJw24WMArJ95oMYrEDt3/+9Z+HX60gIgcH5SqdyJp0ha1Xw2hTitiCHI74Fc+UTeBdlqUcBKoZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":691305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigkLGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqpoBAAiI/xh1WxgesDTAwcejRcPzkUM/Cnj+uj5ZiloW8auYIGAmbX\r\nGWOvwcb2JiHIWWfpTQQcxvBaV9zCzbHDvL9B/EM7uC8jl8ToRv+fDahm/cNy\r\nG/K1NnZVXDIlUDrajSoXOJ3W+EtlFa/dc+uDq7VVG+LZbpvoyIOyOXdCmKcY\r\nA7FDUsU0nSy5EUuiqe+2y5f9CulQc7jYGhG1cDfccMWqaBQ5PsV3/5hexUrf\r\n4HZg0amjYTW7toz+I7yi+woPek8Zjb/k5/JTECQAmzyDdi9Dz6VQqfTuHq7v\r\n97NxIcDm9wTXyOYrNlt4qaJiD+XPCu9oDXSynrU7Yv2K/ZRsMe8uZux9Vi0S\r\nBpDMvY9ZOkzh67qxU9KUuIVvxcDiHa7bP3dru06agdjyetKBZNHfhdn11eP2\r\nbxC5NGwbjDGf4q2HWeelpvvVV/quZuNHkkS2gf+M6puIypkG1HFzT3T00LQQ\r\nlTWfYpOytrtrTd3LO4IAJJnLYZys1EfFKZGdkMouLFDHjAMpv92oKhx0LjAJ\r\nIzSDjrxA18wwxl8qn82OZqqyfPPXryLmCAigVA1KJFha+BjVdPMKTe9kS1h0\r\nrltAzBkeWzZqB5m4/w1PYNFEXmVqwMioseN8eAggtuB/Ev3y1AlflN43h3XS\r\nSl/oz4EFMDlC2SSKO4zWfuIqZai/FV8bFYo=\r\n=72G9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.c1cd1af","@microsoft/mgt-msal-provider":"2.4.1-preview.c1cd1af","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.c1cd1af_1652703941964_0.010814242896876713","host":"s3://npm-registry-packages"}},"2.4.1-preview.148aa7d":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.148aa7d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.148aa7d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"19f0d4eadcca6dee227a181a5885995862c1e5b3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.148aa7d.tgz","fileCount":18,"integrity":"sha512-pIFxqo+2Jcb6hKos/0HVM5RQEGZE+peXWmRb+LDKSnZhM483Kcsm0RiO7PtULgAAXi1rnmyv9LEttFUzsYcX+w==","signatures":[{"sig":"MEQCIHGEqL85tdzxmmIrCCOfJKqt1KQuNxwHDYnKkx2FdxQRAiB8/jBBTPFkIEEHcN3Amk+fNSon8kHpojoArDtwWBT1Xg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":691305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJig5+jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ3w/+OWEljS6lxEhle6+zEY6wtj9Vo+M58k8OmMAU5LshMpI8bUg3\r\n+ETzJrKVCsI9YNXlGSXPTA3Jq/zexIUpcSb3Y5Ld9ZmUo5TUdDf27+ir0tNy\r\nf3knCLfyjHz911roEREYGp2FaqTE1Ef2eHQlEomMZwntq1DqooZJhDOFroir\r\n4AcokQ7STF7Jd2+OnoXry11VHteBpjMOvfpkW7pPMCdZ4JDRNEoFQfVd2r1j\r\nKh0mQwAMeVsWN1GudabELFfgYp2ebwXPnsI90aR5cnIfG4A5icOmD+aY6n+7\r\nipBpKFfUyvOl+IAEfUCpoEqIhuoVJbz1FV2iqaA4U891qaTZ20UM5/UNlmEL\r\nnzFGBU38rrfiISshhy60//nFgBoBVqiNklQFAgzOnE64jZOnJ40f/04Yvw0R\r\nhsUbfDgihvKDQeIaCW7GNW2uMw2kT6bWpEhDYkczyLbjI9drLc/Gt5T2Z4FR\r\n4DbTe5wTdcPxuUDfQpZyw2osbC+ciG9zYo+i0gmJRedhwS95jYqW6V2ogiSr\r\n8M/KSCmPucX3KurCArSIOMWsZu/mav/XnGbX16qVQ38VvhxY0kwM7wRAcJ9U\r\nFU0PeXTlWT2cVeu1NmWIsEMm9WhZ5XgqZaDVBw2snm59SnZ2M984GXyYOHSr\r\nqUaJbyIH+D9HBuVwOoYqTS3pexlnVQqDeP0=\r\n=DHIb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.148aa7d","@microsoft/mgt-msal-provider":"2.4.1-preview.148aa7d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.148aa7d_1652793251313_0.041987912734433586","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.15637c7":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.15637c7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.15637c7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6019ceed33e598e1d177bb8d70065c774fde315a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.15637c7.tgz","fileCount":18,"integrity":"sha512-8ZthTOv/5Xke0EBAC3g7cKpnH+nKPrAuPRmZhdpfk584k/3cEFLy6QC2+awhBpwH+roheOW06W6v8jF2FfqApg==","signatures":[{"sig":"MEUCIQD+ZdhIVQlTVfVSkfaWYJ09ENFljU9h0ujw3berLDMyWQIgb5K00XVjt5RXvDe/T1XlK0k63hGls6qXghfyaBlJEeY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":755304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJig/5SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZpRAAmMRF1A8sH4kckrP9bQIYteX1an4vSw3vgrpDBptWCj5abWji\r\nORKYkwKPUNXl/poCCP2x26A95X564IDZjBfo9CXYRo94PWH1tVObL1Hm7fcg\r\ndArVYeYpoyZwfyJJs/eG2HHtFARzYZ/ddel6aJCmY4KPHAxIZLLs7uR+PuLd\r\nv6+y6sl5gSYYkmMsESy3rQQ+/+2G+6jOzV+folTUnWQxn6BE4vIVgPCtfsWl\r\nw+Z055K5QqBTrBXQIOtflYqs9xSb4GPzEL4dyBIJyR6D/WH9neJFHOmh5AyC\r\nG7pkCddUEoYruPYadK3l3BDmiA4XHwfxftAMFtNHp2m7opqgZLIwJy7nnOpv\r\nV3tA6AMs6D9OLGq1OrWNVrIl6xggs+VoIkIOVB+4EH+Uitm4t4N9e+uqcqGe\r\nYsVTlCmonU9lqnym2hojkc8vxtXpfbbDWXK3vu31iq1pjTK3O54b2/6njkqC\r\nWsb1cfMxj9Jb9U+OZWYtG1RCTRkTftibzlA5YNJLSWAYNH6jmaMS4xkgkGnC\r\n4QFFv3EU2WZ3l0eRt5c5Jxpt6P24ghTzc11D73rusWV8OZwahkKXg5CTK5ah\r\nwlJhMqBAmmfLHZwloT8sC8rzV+btbypGyEbTwUmOc1gG1fUpnAmiCPar9bAA\r\nrswEvtxi7rJ+eI6aKFfvSt/4aUIyzF7seGM=\r\n=xxXu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.15637c7","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.15637c7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.15637c7_1652817490182_0.6620784868416334","host":"s3://npm-registry-packages"}},"2.4.1-preview.f78c398":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.f78c398","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.f78c398","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"20c9b34050afe2f364bc205730422894ebaf4d45","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.f78c398.tgz","fileCount":18,"integrity":"sha512-/ByaSlsZPdeAvxNrN9R6HRVTiFp8t1BBgVzFb0wjaud1Ctdu7KaPPRS8HzL+BBRDPZeHS/20bE6sLRi5GlZaMQ==","signatures":[{"sig":"MEUCIQCn8oBF2nLm7qwvlomPUVTMJmTd0xYpo5+03sG90YK/xAIgWNY8hv6tDiW5nHkEkIuPkTsQg5bWL2iSglKYonf4pik=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":684540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihe9tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUNQ//UYiHZlLHWQdK4UsXx01yFF3zbHEPf4hgRa40ci49nNXaejWb\r\nWmx6V3/wleDI5we7c4R1XVDKeK2QUSdboifkA7t3eGzPFFjHqADC+Jngf5yy\r\n1f/fP9knxFwWrWEh3t68noWi0K6dKQsCI7pgo2fn68bqQYmrycaFKe0I4m04\r\nraBHLkBR2/y5RUbcOe7Ac60VQxM/gRzEa4qNEIxcj3wOEstSsKvIfe/xGWBs\r\nkIsL7uSL2+5qKANOoF84aMfoi0eTPW87146JkzIXb9n3/YD3xpejl7WqbLhI\r\nAQb/iM5RoQgMmh4Q0uINdIeLYzF6wmgnKI2Tot4vyLLQnZXjuWaYOCO1Olu4\r\n0DcKpdkzEEPXFJCoyqxyFzAXM1Tiy8fCvXz15NMxeDTYoa0HldFmsq/iGIxT\r\neGfIswCT5BI8Sq/bu2LbpUqthdrGwXghnqcZ0lsuwXPKDlr9w2E0e+uGlUOz\r\neoCuiEe/UmeM7oGKwGxJvpjd+ClXZdZpfIgW2OKII0QsjcleVMbMonCxlk4o\r\n8RcH/lgOUisSBlrlZ/Jbcd0F7equvi7t0psTQeo+ZPYLWN5na7fKv5n0T9DU\r\nLp3tcxp3CnE5y9aXK5Hs96ZdedDgO58mN+z1tvaBbwmpdtOjah3IbK7t/sxd\r\nYerTiNSZIfa/AwU/lbOK1TfhHs6rSH0g9d8=\r\n=uysm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.f78c398","@microsoft/mgt-msal-provider":"2.4.1-preview.f78c398","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.f78c398_1652944748962_0.4575144922813521","host":"s3://npm-registry-packages"}},"2.4.1-preview.ef729c8":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.ef729c8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.ef729c8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dfbdfaa7c67cc223f496bd45acd11828ca7b3c7b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.ef729c8.tgz","fileCount":18,"integrity":"sha512-LdmVNxyX4Q7F5V27mc6TImiKpORUt9C7C7rvlTCa9q7c/tEj7jJ3Gi6CRppeWjMUygr75MOtlSJbWfh8YzF6/Q==","signatures":[{"sig":"MEQCIDKorFplB/DSBCpVkyNqkcQIOsgt71gif874EdUPSRhOAiAby+KV6LmAXovRtztsVXzm9p6VgcPviJchy9SVAxXFVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":684540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihiucACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZVQ//Y8/lU+YHTpWy7Af+hBNqa3hA3vHoHFuve5jrpGog5ad+8S8J\r\nGxFFZmEnGIvkCN1F2XO1uVkEfSVUERukdt6HUzdSZBkwW/tKBaGv0zZErJat\r\n3j3mfGH4RLh413H4i8fxjp91plXJZwgeWiAfHQn/3yrrPYk9Z8EPTDuWlMl5\r\nt8JsmxjSHzGvwFXWDa8EsQw9bZAPL2t8IXaM2AIgwFuVb6pMeHcxn6r0VfUW\r\nyBrmx8qqySYBK7qbl6sOUWXAbb+fQakvWukeXFNaNo5MLdj7dYbqb5Mths5b\r\nG29j/YXFBz7g5NXINlnaeYjYIT4Cxy2SeA3xhfpLNi31L7VdFUK56Fo/BNtE\r\n5ny8SqYAkdcEgzeMbNU/Fvw0G1HmmHKJF3ydSST6EOeajA42EOPT8gBe7XpQ\r\nzNLS62SeB5QtKNX3ZuyEJUFHc78xOf4E9H1zkz+nhVVVX7u4gzr4KMFOGXYF\r\nk/5vtoRRVw1iyLY5d1ZLK6WiJRxf1kbtEI26aYhVEiMklKgoAaNWUwtuG6lZ\r\n+wnKIMkTD2q8Vw6+gTH18Z7YfKp8miVvf5TK2hRjDkexyPJDFMG+sHUELtbS\r\nC59qJQa3S2mfCNPdB6MDM4pO5HjJCpSbJFlENoNJxgq/xX4xYVU+9TTr8r6/\r\nsPNii6cP0hwt8gJCCW4t+os7H/TCkQ8DTVM=\r\n=q0tQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.ef729c8","@microsoft/mgt-msal-provider":"2.4.1-preview.ef729c8","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.ef729c8_1652960156694_0.6387436673440745","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.7b93d57":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.7b93d57","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.7b93d57","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"036c013a7fa5243bf6cee2db21e6e057643c9b07","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.7b93d57.tgz","fileCount":18,"integrity":"sha512-JGu9JIgkma2w6W79NnjVD5UgWvfBMZqvVuIYwcWmDTCZUyeV0E5CgDwrjZqHxnnw1zYbpwixBcWb0lOOGwQJcQ==","signatures":[{"sig":"MEUCIFSMFDXiktC5fFloI8ss7DRwMr1Zhl+Tf4CUXH7NyMoRAiEAiba4Ifwf3u4E4CaxXQNwhTpsoVqX8SMxwGC6ode/bOk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihnaCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqktw/9GE9RKPyTD9yGkeBeZCtucKTzhaCszf0OAI0I5ad+SpTWpd2V\r\nMujnR0dfn7A7+VqFofUgerEW+Ty8cL4pE78xBJvpa2r0XYeOH/jiHL+e6uYi\r\nyazC2YiRLnirD6Bf7Hb2cq5ldnWUGXuxJrlE7L9liCusiMQAx8iZGBYzOvBA\r\nD15+ccWHljnj3sPFFKk4pEaSTWwlPzih1wgNwHgbAl4oXz4ERuyt7Mp0kBSW\r\nWhasaX+cTPF77YnkK52SYfVN71w0j1USIOeciHD1Y46A9OiUuHA2ooq1tfCm\r\nSNAXA/aNVpQEbY5PFUs0YNrm4+n+s1xkRT1iiksh5WIuZ5ge+Tj+cVxAWuCK\r\nNS/7luPYbEble6T8/u3PSf82XJSq5RnykzYgUZ8zf7G8BMeQ1uMTL4L7Oj7a\r\nxeZF6o7DqY6mf6aDZ9uxpj79NojkLoC+y0V8vHTqRj2nJt2qJIQNyIoeThFw\r\n1CYIPXFLEQ9om0dLgmYDpirtXU09gSzT7zf7eytysp3DNNt00u/SJ2CY5nl+\r\nj2mHHtnQcd5UgayjzEWVLeGCmPkHkjD0KO/8cHARm2wCxpWcpnE37nXuILkF\r\ncT0abiAGKmKLkdojPECnfe1Nh55Afr0P4URmJor1JWOb/LZQkVGmACiZMVE5\r\nhms/i1FjrdU3CYoa7iRbyrdKQxwg0wuUT3I=\r\n=nZA9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.7b93d57","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.7b93d57","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.7b93d57_1652979330426_0.856337336097188","host":"s3://npm-registry-packages"}},"2.4.1-preview.30ec91b":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.30ec91b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.30ec91b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"68f553251fed93f70dc4b4ae32e1151cd04617ac","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.30ec91b.tgz","fileCount":18,"integrity":"sha512-HKanS43MwUuTe2HMJajSfP/tynnbANw8E50hTjopnu342EHvTPknEHntKJqnxPxD7QIFhKjyll67CT+keD/ezQ==","signatures":[{"sig":"MEQCIEOsEfbNMvaoLGTEGyBMrqQ/8+3I5TVsWfkwP1xolOhkAiBMDQ/Y+kacpk3+3caakoOhqQKtzW4JmeuqonTXFdQIjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":684540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihoWwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZkBAAisZcaZ0M75/AZUEKU4dm4Dy2pr18IU+XkjLBFV4LBnIbGvtN\r\nxpHIvefYfUtWSkr1TdAXAaFejIdcWR1ct9HrqgoGlOStY8+SEudVkAQ2cr0L\r\nag1aGlMLUoghymEsf/hlJrLD1YK7Ju6Jg1xxuwKO9t74uGMPj1wca/reE1wA\r\nmWrnXpV8Uw3pJ5wUmMgFqBabMOvNqA7TkqM1/Ba7oYrytv7JgSL7Qdl9sRFP\r\nfj2U5BB2ESuXvIFuM+53qS4e9xFrv1u4xrKUincG5dyLcitYK+xVKA9MgxLs\r\n45mxQbbEJaS+hsAMlql+z3Ug7YRY9osPPbX1343iyQPyxY8YLtjP3ydL4tWK\r\n6hZLUEi4ijwdl68Tyw8yQSJzUUwToa7JzhzZ8yGC5CfFel7QVUsTnKibVwyg\r\nWf3Juojiz8MCl2PssbyEXQGHKcN3zOyb2yzy/WBlmcDRtjzqLCmj6uFsEOk0\r\nE4k8LKhFoMx83ZFlJfZforVdbZkw+G7fl4gLpMel4RuVET0sjteSUfkulCr0\r\nUvTzbazFrEymrUSNcpFRuLreK0NRhwolvLCGPwaI12J6RSzkeEU3pvDZ1kls\r\nInIpWMKwC6SPedp6nFKzIHkZ7FO/cSyqt1WhGJZ6eJftxQN1U7mYzUSufDc9\r\nwtCskz3uAKCzbg9rCFYJuH4ecq09FUHWjtU=\r\n=az6k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.30ec91b","@microsoft/mgt-msal-provider":"2.4.1-preview.30ec91b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.30ec91b_1652983216090_0.8555757685632892","host":"s3://npm-registry-packages"}},"2.4.1-preview.6c124f0":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.6c124f0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.6c124f0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6075776239f7136dc4f0dbfd692cadd820ab3bf5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.6c124f0.tgz","fileCount":18,"integrity":"sha512-iFq01IKIih5utfFb2Fh6qO2JziSze2W4m7d23V/TTOrv1Sw6kr+gBgPCMCwfoooXiv1wfi+yzbAxjlhfKQr7LQ==","signatures":[{"sig":"MEYCIQDcmlfmJWxR1/RV0hFoP1U5s4yQe4ORyPravW4wrM6bvgIhANZX8Ezuq0fBGu4P8KQx9+q4FpiQ75CFOX+U0Ze30syB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":684540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihpQrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpeMRAAg8DFPneVC5Qznvf9/dnFiP1+NE7OhUJfAw5HTM4ognlDrWRL\r\n1e6tK+4570WYuqD62iGauSK6ItsIR77RtUd/aCCuXlB17UW4YtA8UtQ2Pfs/\r\nYv2Mzd3H6XtwgfQ5Urq9DkVTCaLZHCbjJpfpddgWYcXljIX7ORqin11xP3ZX\r\nZIxIHH5UYPdqwzFw2DU8D+r/wnFXrSnUUS643cV15NLyYzHH4HFT/A5Hc0tc\r\ndB8xtcXeVZY34bh1e5chZQm/JAL+Oct0nVrrvBIeZ7kaS9u71SjjeSgLOq57\r\nGEieWHJK/AFMomknY0Z1mE9wVgOMu4LqNJsyASxxm1KOqK8zvagSE1dndrlh\r\nv6O/8u66138TGRcS934u0xxj9dnFoUzGPzsaAIT3OkFg2+2+HqoH2aiawVaa\r\nsavGmcfZwjWpZm7rKGAeCjpkQAJlsa5+oMrW7ztz5UR4dXfzdSDu5Ijf8oQP\r\nJrxmguukbd674oSN7NOqTxaQPWdG1p+SWbQAE1km6yTmFCE495h/7XZAj0EJ\r\n/aaUybT30FphKMDBF/HMNSCj/FLkx3fX6mniY7R74i+HSbwsbp6ngWzakOp9\r\npGA8WV+iXqmhrSD4Qya2O8/FQrram95lmVwYqnQdwfSFPzf6QtgUujIj3I+0\r\nLNwafoMzOC9cfSQMBChB/dgm6c3GQtegOd4=\r\n=7PUm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.6c124f0","@microsoft/mgt-msal-provider":"2.4.1-preview.6c124f0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.6c124f0_1652986922900_0.7622485869918885","host":"s3://npm-registry-packages"}},"2.4.1-preview.26f8d31":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.26f8d31","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.26f8d31","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"99b6b790867339a462b8b4e3be90dbe82cc3d964","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.26f8d31.tgz","fileCount":18,"integrity":"sha512-JmsQBLEZ7i/1o8vD10Ne15fYuO/fQLDVqjqH3tBbVwhCdVv0rLuXP8PWMl3XAs50wRJ5g1oeVr1b9lSZyB4hfw==","signatures":[{"sig":"MEQCIBz9Z2VFF8oA1TTJHaigfOTJHmO34dUQ4BW2cHxxMaUeAiAbtsULq7q2BcRefnudvfCql+uAugX/O/MSXPO9v8euCA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":684540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihpmMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZJQ//TJZuNmAbUD7+fJjeSjMqtCppCshZwQUlc4jRv6/4yqwKEVZK\r\nmbWMglpVuHRTm072fGKTybbwZEDNQtSypcA0y6ipor2ZVcYX2aJUXd/pQaJD\r\ndkN5dZPwj2c+CQzUl7QYJ5a2J7I3+MnLA1RUxfw0eSEsdHSELzyla7rTznFP\r\n0NFIXIs1a8WNL8EuGUM3twl2JFmPsrJ7U5qe45MXIXep8VzawsAmHbtXNXZl\r\nBT8xKkDSCLptzRVlOcZkQ1OQwQL2shIPGnv9amEOHVKmoln/dwaXk4KwRDZ2\r\ntmDjak7qT01AqfsbvVbPpG1clfzisAHtLoiSaWqylEk0B6dfDOMn2/W6zyTU\r\n0O/D5UWj+eBsQX2RQ4hf9JtEvyxL52+NUASyAkZUAvzxD4bLI/EgMmlihFCG\r\nQ6TW0sREZFHNd2R4iOT1xfjlNvwSu+0kh74fcJ9/eQoEo8cvddr4msHGPFAe\r\nD7c2VVPFmUH04q4vgnVFH5+39b6Vw+wRkGjAaBp2PQ16bMwimq0dXVlECWos\r\n+oahLBfyplfDY87f72HYyvd30uMn1MOg3AMA2ABQ5JOqlt0MfQSDifxP5va6\r\nlnknjDiN7CXWriVlkEA5GfNEn+lR++Qjr8aggPQZA9ozWqJRcFuwXTe2zzor\r\niOKo9Wx29suwtb8jT/wynVGIcZoTHm4Aguw=\r\n=ygr/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.26f8d31","@microsoft/mgt-msal-provider":"2.4.1-preview.26f8d31","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.26f8d31_1652988300215_0.9384541976001008","host":"s3://npm-registry-packages"}},"2.4.1-preview.4936d97":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.4936d97","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.4936d97","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"07bf05717157c9d2de7bcb2a25a6cfca838a8f94","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.4936d97.tgz","fileCount":18,"integrity":"sha512-TyqyK7H94nCQzescvbpZygfKWz3GoOvJKpj16EmwcD9njHldTYZVuzI5FdbS7Cte+UxgXXjwD5lZrnizDfEXVw==","signatures":[{"sig":"MEYCIQCEDKftyp/I6iSdswYg8sGVpUaTXAeYkCDAhfm0d4WsIwIhALH1iE0bKwgemZ+t25HJQAl79LM24myjHCAAuxsfbRCp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":684540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihqRCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr85g//ckqPi3o6AvP4qo7V8c495a5AsfEhC3HJhumN+kS4+FP5AFN3\r\nEVeQ8gODMs71pmuEW5JAXTbcA/7GwZiwMrWFhce1qBdpsXt0QNI+iMVfdsPO\r\nZ9MqnmBfhJQA2zzGS1SKZMCzeVUnWdSz9mAoC80X7BothcWgWpPqrpgS5vEs\r\nntR766ED0DpKdvgY9Mrr7ZzzLFim+gSty+hvLcREq6x0ezEo/QlVxIWE9Xsu\r\ng3LyAAvxmJtR49nLlWU17wHZbIuFdfoSK/yUzIqZdrv9dGJ/jrfUw2x11I1+\r\nOnKva9UiAdDCzZOz2E+1UtjwUKa/Rv/5iZNGSMtEpJWnpkYR5pKQ/2r+sDFy\r\n6F5oshW/otNPSqccsoPV2MlbPq/m7kUFC57JWOlj9SZhKtxPrKjndiucOl1b\r\nL3BGJUIzqufLChRp+QC7l0ruaxUWUNr+pPU3xlt2jCCWmjy9sKpvSjXR/qxV\r\nxf0RW2Zg/k5pstQq9/rwIKsAYhMiroydEPdpMS7eUkMV7aGwoFJx7JIFML5K\r\nbtrCUXYn7fkV30VJqTOzMPgoMHrwiiEpYELZW7oPwSK1gHTSV3Pb/2ratpHd\r\n2ZKcAOClc68geG/Tro7n7MsLWcq5GoFuRIRF4hstLRAjbBkHMna32WNTS4+H\r\nr0JZvG5o+SNtANyWsxoOfoIzXC51IPJtxgM=\r\n=fhkr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.4936d97","@microsoft/mgt-msal-provider":"2.4.1-preview.4936d97","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.4936d97_1652991042120_0.9348435920472504","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.7125261":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.7125261","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.7125261","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a6dfd1524f4e3c9f010e726e558b77c3e8429f6a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.7125261.tgz","fileCount":18,"integrity":"sha512-ZTWFxwdZgXiVCO+uEdHHL698HgF7raMF+PyMHtFFNEucdhKMhm0LlVtN9rHb99Hw3ZOxXf3z/edkI2WUne3dvw==","signatures":[{"sig":"MEUCIQD3UT9/QIkkoBdPsm7hE7Mp0EFBWQI3Cuw4LpKCtzb42AIgDKhz0HhNYvBgdB98E9xr9GQyiKjqB2crlBsElW7FurM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihqTPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPxRAAo5caXl+RIT3LjZuYal8M7eY5lpOVTToDp3kmeOctTkIuKB/+\r\nlpw5A/dqEfoG7+JkmV/TBFICfhSGelkmw6yPIdVMK5RCNv5SWidsRF2ykUfB\r\n2aMV/3arexXR7z5iT3AKf3ppfFpzn+DfgL88Wj90H2F+7uYJKVOz58TMFRh9\r\ncG1Ela+hfbivhuUuIiCUspLkMFNZwPzw9n7ujhOQ2Vr9ZY1zxpd+an2wcSkk\r\n6qLifbxxZ1nkgC7Mwx34X2FAfWhUjG92oDwrW7ez/kDXPhOmtcC1Ki0dMi6l\r\n2XDMt3W3RgTb3QfnHx345Uo7J/Nz1UHYP0Koin6sjZZNHGG3QuSjbEjt85GC\r\n0Vte3QTu/1O0T5f9U7jNx6U/kMfOVvT1suN3XXW8i921nrYGbiryY3UVbtc2\r\n2Mm1pwREuWrjWsTn9UFAhFW399PKIc9sQXbTHQSE0KnKy+q+Q4klrNxH2O6v\r\nQ0F6dEjavyxjvyfCIle8aKTCHErvoJ0pJTXD09NrNSFoz+wpn38P4yrZoWv4\r\nsgzmeitMrubhh8skb91z58DAGWLzYtGFkYYD6ZggYQuu4vf3wc/bumDZSFvb\r\niPSSwVqUqitX1gAkji/QHO2plD5jGa7VkzmfCVGD5VXGNO2L8/70CzbcpHcr\r\n/WBXpYLjuOkHFAsrwC/sjvAHhAm4lHFUWig=\r\n=P2gv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.7125261","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.7125261","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.7125261_1652991183377_0.7196745476156545","host":"s3://npm-registry-packages"}},"2.4.1-preview.f33e416":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.f33e416","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.f33e416","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3c1c0aedd304b4db169a1fcf4ab24cd0e457b6bb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.f33e416.tgz","fileCount":18,"integrity":"sha512-JAC/Op9wxoZiAgwKpj1BntFQSC0XfQSrsOsttFRjf8YYap8/qnbN0WYbqf2WXqW7Lq5P+6neUxIwyAD7O0w5LA==","signatures":[{"sig":"MEYCIQDuiaUMJvUqfDp2GjILWt9isuXYd6IIUhA+L4bcNxiS0QIhANfo7PiJQ2DGcfBlZc92V2yKoLfk98wn/pJ5R9JWFhYk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":681378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJih5bZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpdjg//UcfLHzeG3cYWkKbi2CTPxbJlbEa0ASFgd0oHpT8M941RdBXV\r\nxkeVgztH/xFgOmwTuVwfnnNZAmvTQNzjxNO6WQVR6pWJrmQuA1tcRAEFd6+c\r\nEcfzBHd4Tt2yMcaDv9fUGo7DxSL9TQjrAlxlNO7hatTD4tc+fICt7A3qxcba\r\n0qYj3OHSxNIb1Mh0Z00c+HQt5N0EVUG5S/KPzN1KgAvtFNKVrPMHOCCom8VB\r\nYFbdxaUJGUclsTETzHQJrdX0P8ctWWv10ZZprOYHQGI7ta2Z7FXZ2AIXt2SB\r\nswIMXe35ccDOc2V2mWkjYOnzkkx5Nnoq1NSrGlIGhCtwPc4H6dV9L/5SojmT\r\ne9Xw9A8oeouA5BJ4vKNTSuNE/SSLGLIfqgZDT1vLCbBh2BLSecueNjdzHFAh\r\nAjVQd/GyED/W3of9dzDcY3AacqjoioCemtI1nxnN+SnDoM3bTwL6/ZzsbaNm\r\nFR1COp6NXcoL9RTha/tcQF23wi67GO1EH47zdt1p6MrGgdUBjPMf+gE4vy4R\r\nl8M/BrzkKF7MNgX5gSYGj9vdf9+79wmGzLSf4v6OfJikcPTVOjOS45aEfkjS\r\nqeTLkVsnEUJNtMHvL+Ne0iBk8DkbspFCVJp9omuOVz/1nXXuT7zFxntTn2Zw\r\nkTEewlRiLg9p6c0Ea8F7tdPRVDWoZEyP0pc=\r\n=RhBn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.f33e416","@microsoft/mgt-msal-provider":"2.4.1-preview.f33e416","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.f33e416_1653053145670_0.9162958630514721","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.5936a19":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.5936a19","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.5936a19","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1209f55ef4b402bd549abd63ccbe4a0fdb07bdbc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.5936a19.tgz","fileCount":18,"integrity":"sha512-qlf6EsmNS5uCryWkWicLj+hv02QIQrDzW8mUKBbq3Q2NXCyeT2rBaQRG/zZ+O1RfDQ5C2zTrcEDJtFwv12+2dg==","signatures":[{"sig":"MEUCIBMI2YTbfTDMIPyO+LBvz3DIq0sGEfV91X7o/2BizNXUAiEAgMA5AMpcTcF0iL0Piil32HLxkuS35beqGAJs0vAVYJs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJih73vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplEBAAhvVJhBXAakE/Cd8plKyTAfUlKmf75/QtWOHErkDUdXWUAgWD\r\nimp8VjpCC4pwKatKKp7sJZsdTNzebn2/NXMyKPde5aH9+icI/KVymZL9U16r\r\nVDs84TPes4FFlbze/3getKuc2qMumFLy7n4NbbmNYM0IIFxaat008GFwL/ec\r\nxbEIbfmrQwzVaFHU7C0cFsD23WhLvuanFGVgNYX9aj1HmD2Gyhu00aOAFEzx\r\nXhhrNquTv/hrbQKiau+R9+HPZtMNoKYa+I8jhD9/OZWDo+jk5qZxgpM6yrm4\r\n9tCKYoHof20fV+ZJb6guORRH2K1XiO6wqgjgX7vKF/URerUzdjU0OE/ZIPpU\r\n5tBK/0IJk6o71293EqFWW8rOlxMT3kTWn++GbVvwjnSir1QOzVXG1fDKJFzA\r\nr1urJZkQL7UCz6IB2EDpwdyGOgRtmp9/MaDloudVFSpgmDFjSVw4BecyY+ES\r\n5m4ot8WKWDG6Nl/jPDkBMod7X0cTgemVfgZoT3rt8JcpeC1BMqG0jse0lqDv\r\n8v/Xp8XPtnoZI9qWCozAe2TrhVIqXeRHjCiqg957aQzw7wnpltpnadruq/fV\r\n1bBMF7eapoBNPgiMpZ5d9ndLavdCEBt7dMaZMQlIiCNIPkWnBuF345/t8uE+\r\n5h9YJxnr0Rxbw9/lxXXS3l1NfBlUzTBT39Q=\r\n=SvqF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.5936a19","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.5936a19","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.5936a19_1653063150795_0.8270451011964357","host":"s3://npm-registry-packages"}},"2.4.1-preview.6b037dc":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-preview.6b037dc","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-preview.6b037dc","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a1b312d97f89b35f5080bb425188ca77cdeb68af","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-preview.6b037dc.tgz","fileCount":18,"integrity":"sha512-B6nXHcdyQNLaHs5TxOaWV+3+tyy2DFFSMSm6FSgxm4MVBv5+O8QJTxaeR7aOE10F7jNsbWB+LnDqELb7H7JyXw==","signatures":[{"sig":"MEUCIBBIuTxgyjS2OX+RrmJz6ZzqP/rmtqgyZxHIoo2qtu5PAiEAg6sLe1s4xH7PoL/HWfLpPjdws1rcn0Chesia0lnLwqs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJih8BhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2hRAAgOleEvf1jaSWM8s2jrbHVsdi11jfx2w39RsOW0Ew7PZ9Slo8\r\nBMkuZad/y/WDbsLD8mfappuDXVs/+hYYafbBkvJWKgklBItWU71PmZSbiaUZ\r\nrCdTihPGUiRTprVuqo/xoylCcu2LyLAbRB6qVSeBnyB5KCKCua+2ElP0+Dgu\r\nOKYmn4XQ0esg4nlYBAm1r/aoqo+Acv0KDYX31jGj5Po3d629Vbo8tnPuLTME\r\nJRjNe3aUP2qlxQowm/AvozGBbAKdZQJjCQJ0gxIIq38wqROU9eOFKqW2k07Z\r\nFEYAqEvwwKUk80LAKhQxdPHnK447Sku/0QkKOs6BMjBusoJ6K+zdZl8w/EMQ\r\nKqmOLaGPYLlsl36lVAYeEcXIDTzAO8x4pZfjksKIh3NyW4vF7UwEm2GzTsRY\r\nnjpTowtuW4SOw1wLTllfoDc5WmTheKRnLNh5mWi27uCnYX8IC5yR7QlCRGpU\r\nzAgKBS80hSm0fI/jFHUJDHnriITxJLOHSZLqmiB4uMl6t2KdtnKWmkPDPknk\r\nJ9uqseBX+ktOZHAr/46nsRSa2i7aXBpFZ8H91DqT+ca136HqbN45fevlfOF7\r\nRhveFoYNA5baDs+Uf11LGsfvBD35SuieVWTnOuoGZUUUocn0YOOoaurAkrXS\r\naLgz5Nqx/vZ05/hLDKZzwf4wmoQLuIHqfb4=\r\n=KbJA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-preview.6b037dc","@microsoft/mgt-msal-provider":"2.4.1-preview.6b037dc","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-preview.6b037dc_1653063777618_0.13467754081313732","host":"s3://npm-registry-packages"}},"2.5.0":{"name":"@microsoft/mgt-teams-provider","version":"2.5.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6f1f34ceccffd9530ee41349d271aa8755f01ce3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.0.tgz","fileCount":18,"integrity":"sha512-cbJ5MYuWPhBZD0ESpvZk6KeTTXAeCLlaTpumx7L3CelQJYMsXpClbSy/AJDg/nLoypN9js63gLAz5coS7by57g==","signatures":[{"sig":"MEQCIAezSWcRydSQFdLQeSrEn0AiHaCbQXBl7Bo9ijPs8a19AiAKivzSAAaw0epKH4R/lnBHnuR3hxqDIDM2Ad8Mui7KQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJih8c6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonFw//VjW1/0FlUNTaGd1scakvQ15QGh222bpT7nkpkx3juMW7NlGt\r\nE3dvYCFcQR2/MdnKblmJ6TQ1ThBwbQgH5I7eVoPpv4orEhAJJJO8+NsTNXK1\r\nD3WcY6WWoZhW93IQ+YEfMhUYo2zWdFX3WzeEhETmBp7tZ73BaoGQqydiTqvm\r\nYd1qyJoP5zPj4fJHDSmC5sl5yekKfnLI9GRJxqdJfZxlsHABiZjV61YIJE7G\r\nqqTGca8g3HnUoKrE/TzXuC15Ibevai/TGPUG0uxP/d+/XxDfzv4ma4kNG07I\r\ncK1biOi+GRvQhE6xmAMbU9btGk9B6FQouqjjm+Lf7c3SlCCMljwOc02esERj\r\nm5GEOe6TeQlCuW6WCOvUeMq0pcv3yqeJSmUH6ZLrd30AyOCA9TzxBYP2RV9o\r\nLBEk+DjoN4C7xMO/ELPTlqVfZp0H4kC+ICWBlTdmGhs0GElp845498aVn3UN\r\nFnTFQmJ42z8WgjLxdn1SyYA7+ApefxzGMhfpNtlyYxUBMwSxIJB5Wp+FXR6e\r\nUvdjPepjp2ZFJYvF+tshSa/YZqgDMlMvrDPZWpPF2Zm6xvDcYGxbCU9SKehJ\r\nY7CasFOcNINNbPyNaZ+Gs+/ayu2hdbNGi3MZwc7c+t4wLqLH70y935nMxtlF\r\nCODWF4R5o0S/zmf0Khu8Bnz816hcEEUgGf0=\r\n=jUlo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.0","@microsoft/mgt-msal-provider":"2.5.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.0_1653065530635_0.6355744114605615","host":"s3://npm-registry-packages"}},"2.5.1-preview.cf6141c":{"name":"@microsoft/mgt-teams-provider","version":"2.5.1-preview.cf6141c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.1-preview.cf6141c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"152859f2eb9116580970b1aa5dff36029dbb3608","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.1-preview.cf6141c.tgz","fileCount":18,"integrity":"sha512-Owc9vEqd86C7QtH//gJdX0xvUyu4ZkDHdlxpW5j7Kd1Q6h1JMA3UaTIzmIxppRSyKSNvXmEziI6QPNlP2PFVUw==","signatures":[{"sig":"MEYCIQDAmNm4LbV52B1G7wwZIbRc0cPjR8HDvXx76OlG0r9HTQIhAPxTETQvhGv6UITZ7gFHvibhvEGTAVnUvXaB5f35I7Eq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJih8iyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUkxAAmrfXUmIgQ9GHEPuGt8AL2c2+iYhpm1N7qRz3jfeKYrztDDrl\r\nxFR80U42bWlKjk9LnRI/H6HBfaekrhW/uLmRgTWwQhplY6cbM6p6wYgkQzgC\r\nsEXTUn/FXrpsNxbZgkp9qXPvvwv/xvb5lLxods1k+oNRR30p31TCLeclWkPN\r\nPrZwUX0/NdUi4gx+V07KSBReANg2yO4LKJQ5L8ZVagngO82kZs6FXG5RooAC\r\nxhRYhN/OTWpaf81AGfIJuY4bwAypR9a9YkyBewlj2+f0UZRaNXuSUHhuSOOT\r\nPay18vsDRqLBlSaY+sAQvGatPseYFQ+qgYqGdVgDt1bt0EXGM+8McEExoOGQ\r\ndaJ0HFcooEfHOGfojIZmUhX049Zy4mBVi/XecwUouc4ttaJ+5wO5QfRsCpAJ\r\n3tmzwkS80qPYiQuRWXfFnp7DcmD7Sio5QceXh+djsoIKhkxLX2yUiDapXdwy\r\nuuMyjLvkPwp+ZVX6+eC4h/gmehei68cx5VJykC0f5yhujMiZSwt94C/vPfEK\r\nzPrDqmM86uszoEk32H2T4szikfPyqRAL+kuwRUko599wHr/IjElXOc0hP4Id\r\n0rPpKty7g0BjJuH2v993dRK5+MSA0/6Jqkg+lrufyvOniNyEfUTue0/ciIf6\r\nRCTzqXGIX3W4+v2nu0m7n377Sf+ae+mArwQ=\r\n=omsy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.1-preview.cf6141c","@microsoft/mgt-msal-provider":"2.5.1-preview.cf6141c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.1-preview.cf6141c_1653065905904_0.8001802978568535","host":"s3://npm-registry-packages"}},"2.5.1-preview.dffa85d":{"name":"@microsoft/mgt-teams-provider","version":"2.5.1-preview.dffa85d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.1-preview.dffa85d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"37abacfecbd8f2259557dc76d15edbee4eae732f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.1-preview.dffa85d.tgz","fileCount":18,"integrity":"sha512-tGZxOJTy8GsI36d/xejSNzskc1K9h3tBoVZ+KsxgAue04Fa1jZ5tO8FtjfaZqhuVqj4HNoAhCtXb3XSgEpgssQ==","signatures":[{"sig":"MEUCIGeFaimz4rYZBXjohM/YYc6medJf/k1C87UVQe5b3c8fAiEAxwMr2f/NkjlKwRPfA9xNKS8Xq6HwGo8Qcou/kLNJzt4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJii3AlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqQA/8DKWFOFmblAUP/G1I/TSyJA8EA9B3os3ztvfeSmRjrulNsuvI\r\n8NPu4v88jXcnYxGg2KQhvtFefUC8o+BLj2SceQK6+MffrUXyKat3Gf5gqlou\r\nFkpQlxJJm3gHnLR55k8acgUxxLX8B6qmI6o0w2S5xn1z1MiVA9lQqv9IAa6A\r\n8oApUVKgGV3MJ1Nm8TFiWCgBD/pY3VWwnPcF77jDidqpNtUrkpm3+svY0Kfv\r\nPNt4wyWtX4pawH2nWH+8WOCwIssug/r55Ps03EmS/JjAxD88+pfEmGRCLSvf\r\nU6NpRhp1Mv5MMdI3nN6WcJsFXk3amFbg9HBwNlvKH1CiXao9eFJhxoo0OMnK\r\ngLb/m5EhKTq7nBKMEe+f10QfyqSd7Pxi4GHNsDbwHo1O8vu96MqYxGuibDeh\r\nPsYcM//RUaXMPQueIIc3o7yHrXHuU+WKx0zAXKyobDy3A+v2t3TptBpENu/A\r\n8/aqUSr0jxTxdofapvE5uwRci2CeoutV+xMoKGPQgteqq9ne/+3kNV2ZQh/q\r\nOa2Q3QCjDsAGJ7AozSGCaVSfNsdKQe3bAX6s0eWYXcToXwEIz6QkcvKxC3JO\r\nCTeiZPKlnOb5hSEKJ/whiB40wyv+dWX6xyEUYgQ+tBsbDEH/LAwCm2SCAEYy\r\nbTKRzABnZ6qhDq2Vo9m24IGxq/0MedzcZNU=\r\n=7o7/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.1-preview.dffa85d","@microsoft/mgt-msal-provider":"2.5.1-preview.dffa85d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.1-preview.dffa85d_1653305381202_0.18245211592583388","host":"s3://npm-registry-packages"}},"2.4.1-next.teamsfx.8d56785":{"name":"@microsoft/mgt-teams-provider","version":"2.4.1-next.teamsfx.8d56785","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.4.1-next.teamsfx.8d56785","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e8e62dc91f57e0d778e67c96043ed671460812eb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.4.1-next.teamsfx.8d56785.tgz","fileCount":18,"integrity":"sha512-3tsQix8ucg9lB2k0Z1TLopt7of2grnsIXPE++ooQbjYxV5U+ul8r778vKDebeoRYsCzRfLKTJyEfglmeg6/y5g==","signatures":[{"sig":"MEUCICNlucvO3LZOtA0H55dXyGsVFWed3mZk9GWxRjTFUXRJAiEA/pxuiGLSCCkIxEAyKwKyxQYl4N+4exCaawxV0lT4R8g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJii4mwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2mg//f2iPG/7XRXV4K6G+P+i37P9o4avJIVLYP1a8GliZWqsj12mQ\r\n7G8kiaM4HLC+50RgTQTvrMcujeU/aT+sSE4qQmbGftoRd+Z2+dQ2qWK8GO3D\r\nRCLG1HR/JsRDx65cnpXyfw0s8mu5C9ZNaKsjW6eFbCE2MfwyOARpwZ4pkEyL\r\nA/JKAFWCt08bmrpD0nQrqO5Ni2fDuP/6arntF1MmVxSb0RXhTSpdePGt1g7n\r\n87p1nmLpraunatpEPn+PV9OpkyVT5Bb4j7IfYYGerAu8UQW2SLxRf4aa+tab\r\n65CHMUY1EBI0QED4Rab4hHCa7HQJQgMhZ+obiIxMYN0nC7i/JkcYu5CuY2Xq\r\ndhr/+0NztjnHMQjlTZ5y6rwwVbT4/mC33haIL4RkcXxEi4Ve04uqnvmB8uWL\r\nCpno/KrI25JQRBiNZuaBRiGzA1sDNzXwkOBQwDkfc8Jarvj2Hs50kYYVN0lv\r\nBi7Ibp74Ut6808pKAgQnSFexg9Z5x99OQFnuVUyBU75qyxXQ73yAHvhvUzrn\r\nZUmUPkDHJLmAqOUh/U9adJ4jyzKTn70lFTZEO/tBZz+xaNVexNVxP9ejmvfk\r\njXDiXqkhHaUGZPuCVNonpIVuZnuGSRADLJcuYGUKJt40Pf5SG/346t14UsRY\r\nzm72cl008d7sPET+an9JflcfCc9BeGrkkTg=\r\n=6ovs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.4.1-next.teamsfx.8d56785","@microsoft/mgt-msal-provider":"2.4.1-next.teamsfx.8d56785","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.4.1-next.teamsfx.8d56785_1653311919955_0.0601120891036544","host":"s3://npm-registry-packages"}},"2.5.1":{"name":"@microsoft/mgt-teams-provider","version":"2.5.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7830d7bb7cc7460bd5d2a9e46bc3115b662e1f90","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.1.tgz","fileCount":18,"integrity":"sha512-LqyuXd2pFKBetResOV0Ip6aQ7Gl6Lp3wpnM9aDszef0PQh7/DHuFhY951ufaen26bDt8XYeLH7cRJXyBljxhNA==","signatures":[{"sig":"MEQCIB1qpiusb9eu+xFcYFjTgLQPr492wB03sOoKpiu6U8A3AiBBSzh3w59EV6maEMFsmjqQ/7kKcwyo1ZlgNILY/21bCA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJii5MAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/IhAAghwyIAmOw4dgY0O4KT8nL1RrKukRgUPP/oAtco+DWWfpeeQ0\r\nhvQOP0SdQvaWlIXTcd9/Ubehy6zPhzdNdiwUTr8o2pAuWQX992j3PieruA/p\r\nxN4Za1XnCPd6EtQj0aAROMfWwRJd4Tb81mxxnw1Kx2zoIH4o+RV5xedO+BZM\r\n9y9OXFQRxwmj/XvmUYn26ytIcPzEhMi+qZ1OUi5DwrZpTV4f1CA8oy5Zj0yP\r\nZ82K/XUKEupw5PVjmZ1uYDCXygkvwy7YjwCiqQxMvpxPLgq1yOSgB58Qp5YH\r\nj1LMsYYmkCS8khfRqrQ0SFLABg/UKHfAw2uMT+D4xbDVOYUvCCBLHOYGvHMK\r\nVvgu2fo9wDmYeKteKYxTqOl4Qkfs8ItzaBsRrN3gvv2Wrf0hLO1TMejZa1YT\r\nqZS15aHwoPtr2VEk3Y4+kq1NFRwcTm6VU6tM6wsTIS1E4NfO7eB6DUrAFtdV\r\ndx7iIOZXs89jgU3fMOGfFXpOc+ZYu+HxprY7pkxMXUxks9YMCvEtMwkdhXvO\r\nsQp4gjj0efF/0SyRtj7XHQ5LSKvAqtUg/OPl5VFdbBdAywij41a808LvqkHs\r\npSbZjohOHoztWPQt8BrdlgMvP7fOxonMoT98OX8+YEv40VzI6/ikBig40MkT\r\nA5YwFV1nJO1BaqqMN3hY8p2KrL/zjeF8/uI=\r\n=hF/v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.1","@microsoft/mgt-msal-provider":"2.5.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.1_1653314304512_0.926548994835025","host":"s3://npm-registry-packages"}},"2.5.2-preview.d8554fb":{"name":"@microsoft/mgt-teams-provider","version":"2.5.2-preview.d8554fb","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.2-preview.d8554fb","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c80256b0dc8354026282db97ce5b10de44fb6997","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.2-preview.d8554fb.tgz","fileCount":18,"integrity":"sha512-ou0703Ddu/uU/vOV2J1yDVqK36/YX2M36lNA+/JdeU5+6RT1vCmEMaK6b8ntBn4UKtAQ1y7n+w3X07CnUDzwfg==","signatures":[{"sig":"MEQCIEPxU8IPCLDVnZTUzggrKepsXYEj4spjDFOTKA5b2H8PAiB7q2tCGJ6gstUB5NoPIJrx0+IhIolJmV0ajTgtZezl6A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijKibACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomQg//fnuGg97NM0TOVBlHfqZzNrSopH7spT2aULQ1Y/Ah2KcEuAra\r\nNixm07bWmmAXXpXEO2io1CJzbf+F6YcAKDEv02nIGsneZLghORzdEi1TenZd\r\nlUIMQKpqzzYWqnOiElzrTcZf1rfTnj9QdDC5wy6Wk2b6AQLeZGvNS6pvK66R\r\nQWS6ypbh8b4ookHWaHLjeemPNO34cpRHzqFqqd+o2HpvRVZEP4OiWxsVuG2J\r\nu4kAVNFjrGqQow3/C3RnEUn33fvjIsUEIwupfeTorag9xynotqgqX5osOkHL\r\nSZI3KdytoC0nGxxWJInC6/tGIqy0h5kyp45ikXT4Fn1yYKW6PD1fe/EHGzCN\r\n2TmV+jQDFzPdZPkhy0hQwOCZ5mfTvI4DPS3RQtmpNIMHy+Ah+tTAGl6rXlJV\r\nv9Dg4MyNhmpdPnE33czMbMZnLU/CTFLtXKxJLYcXtOhfPSg0gzDr9UAxdfQ8\r\nNP2uTUz0T7BXFbeqMo1SzKDfEWzoQA8RaUqM3eNS3owsA5/zTBr/ueEMNRpC\r\n8mwN6LJQk+YpB4jToqiFfTREa9bV4z+K1piRQIYfmGXWBu33fXAR/NmOj5wt\r\nfbtCmZqAY0yFXPsosis1Iu0Ek2xp4sK4mJZCvGDy2KTptoe6NZR3Y3L2iGxj\r\nbh+U73GbP/7b7Mhi7GVf8zE4/dLAaoFd5l4=\r\n=SU3Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.2-preview.d8554fb","@microsoft/mgt-msal-provider":"2.5.2-preview.d8554fb","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.2-preview.d8554fb_1653385371225_0.5659472237280025","host":"s3://npm-registry-packages"}},"2.5.2-preview.3b75893":{"name":"@microsoft/mgt-teams-provider","version":"2.5.2-preview.3b75893","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.2-preview.3b75893","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"45fd2c53162943eca74096703aaf96243ddef0f7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.2-preview.3b75893.tgz","fileCount":18,"integrity":"sha512-CrmiCsfdrcfjo1ftqApBwjilz6egWLtT9qJPBTzoiTq0s/gL5onfYUSy1ivNcBRb0J4NpfvOu533iKGDOSfiBw==","signatures":[{"sig":"MEYCIQCTGYexSXNptIA8UNUI7Rsom3x7cG7k0cm3TxHoHxx7HQIhALARCpqQKkitZHomTvFryoP4Hk94avOs3C89dTpCQXH9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijL9eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp99A/9GJ6dNEIdmlY5LtrXhPOUbpenpQYFGS0YHk8hSUGuw5s7by4J\r\nCuatlRR3YaTtmv4Z62fxhGjv0pdhsXnn5WXZbd1BJSkhbaQ5zsaexxNqIf0v\r\n6MZ9AZ1C3afiSgLAgm0FGJSWfTZdzF+oWf6gg4A0eCJ9gBdBnrxU5i6GFS03\r\nU3XA9tGt2YCj4eFxO/UX6ZOkI/OzkPenjfUGVjCR1k0sbKo6V9iCNXmF8XyB\r\n5Ir6Aj4qatDic18bELzRLHFJqH7X72jEdNXnAI8jnpG93W9LOwuV29uN1+G0\r\nPnWQxyod2zrghbnBcg3FZmH60cfFloytsyANixMT8oRMD3Jon5wP6/j+GK3v\r\nVgyKJkQIZuFeIGdC4PeoEixrTOh41B031bvR8QadY5/UyrJplyTvch1onApA\r\nqAxCxhg7iedf8V93wLFkaj0tBIwwJnjZvX8JKzbDtplBwwjwWCEseXzCIzxy\r\n6ZDIMBfOwjDYlgMllVB9+Ii/YN7Wg8h79GZw3KYmwkbFh7sqAopLFFrDsDhq\r\ngw9UGTQVNXoYQI4BwshJllhM1yJ1zHhH5n0g9G09aC++o4PpvDljrcx9i2A7\r\naSRXl8eyr25aQ3BO4utgk8bZSWOU+Fz4PS7VW2ArxAxoo4QAK1JtliG89XtX\r\n65EZt7pdnPffpH7p2e1t0hKJNzKnOR6wikk=\r\n=leNX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.2-preview.3b75893","@microsoft/mgt-msal-provider":"2.5.2-preview.3b75893","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.2-preview.3b75893_1653391197813_0.9965899862375083","host":"s3://npm-registry-packages"}},"2.5.2":{"name":"@microsoft/mgt-teams-provider","version":"2.5.2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dd82989b91ae83ffa151396a5b456ab77906728b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.2.tgz","fileCount":18,"integrity":"sha512-7QZk/QuwHscbZnnIl9Nc0AhhJ4e8eh6njH33e7f12CwG4IkFktXygbZwZk7XLalpvtr+Da/L3cdXQfiygO1x/A==","signatures":[{"sig":"MEQCIFtW9emw09+xlpm95JWrZyiC7MnKw7MzZlCA4qiko2vkAiB7TWiasAkVMc2acERaBTR7hvLVAyVt/pmM8BW718mnlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijORsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6Ew/+Ica/z9GYeTrh7VDtzFGS5XByUq5J/cOMnnUDO2RKSUVpUsu5\r\nx0bqQjW32dZrg0a1j1/Q/hTH8J0fjBxYSIlPLf1Vp9KC6CB1oiSCtsu8O7VC\r\nrUzJHo/PLrq2zZGItsHn0ZPYpJrw8TB7p27LRK9Qw4JqhireuNWgFHyaTQW6\r\nKLb0RCOQmLG+BIqup1ZM6KgSExmq/5xV9aDQJEQKO8cYo5rgtYWe2gaYhJmr\r\nq0ai61VRx3CZ/KddR5MZkYKw/XYOy2KjtcUXzSLFrbKeYHJTSsiq7FUKSbuh\r\nEnTLiqQzbo0Anl2DUIQl1mieZc+5P+gso+39zJ3Sy6NAge56YVaHE41w+74q\r\nnWAhWN4fhUvajEA0LmkmkUHZgF53iJqKm6U/xxiZlYh6T7SoMO9OdBZxPQKJ\r\nVzHC3k+rjV9r9N2GE2ueRexZIxPcipt46OOARRxlUQxiwf/tYWLY3wZaVZx6\r\n2hrelknApAx53srjam6zVSj4jqQ54YofEGre+hNduG6PyJ/dJ0DXhDHbe99g\r\npSE0w0Rijx0xTgNaIko2G5MXAeESYf5jdvt+Q0onyVcBmIZIkNcz7GVmKxX4\r\nQrYh+H/vEDCjfwy/4ttzKEm2lMH1IwWH9PsGnkPPwuLeEEhnt8dv9pkY/mnG\r\nDTaidygkuYPJZhnWknrtTTDXp1rDrAuLWxQ=\r\n=MGAP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.2","@microsoft/mgt-msal-provider":"2.5.2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.2_1653400684278_0.7386994995316918","host":"s3://npm-registry-packages"}},"2.5.3-preview.7e34648":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.7e34648","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.7e34648","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2a0f440da201232e37ce592824541186de773159","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.7e34648.tgz","fileCount":18,"integrity":"sha512-2IHXbNwP+02YEsL+g4yksp2kAAXBLw2qLYdd3cG+Oom+VjDs5o9uQlxmUYodyM6jdEWyctJ8TFvgorpbTDuxRA==","signatures":[{"sig":"MEQCIE1ieKh9Sz4dPYJf2Ux9Of3S5YUy+gFg1S+e+lbqQIPwAiAv23QJKMqamaj4YEKTGzgtrDmTh28Don3bLIgdXi258A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijymaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZTBAAhEFYhpHnFD+6Rn3oMTBpdFFYeRDnri7/Hke5h1KZep0PXe4N\r\nUJ/lMNGdJSxA5XNQ84t0KxO14Ba3Ad4fTx5SA8ssiC2v0DV+y6qt5jUHePHe\r\nyip33xI4dKtnrJah98odTa+So61J8lUdg8Mba+NmqB3oyYs70/rwtCrQA8Ms\r\nonjQZ3QeuGQbtFeqamu0UdP/i+6MoROnHgKyNgn3AhYLz8hCW7G4sBBd+rp4\r\niC5nL6sD8d+YTrXsZ21XZl4wD+rAxy6DmpEdiC14LbNUOx3sZNnB+VPUc6Vv\r\nGDvWlyw1ChY9GixoA1GBVqH6V7ujKLKtBbT8wDuQawHxPI4arRujJxouzFgE\r\nrZFlpqMyGtmGu4gIZeKGc9L3nx/DRzVEccYlqeIC8281eSdh9RghFpQfbqOg\r\n/9nfNr8ftNdwTjTUxaRA3MVYbU9HbSLmlwH1h2uAwbG8zzTojLBa+jFAg1PX\r\ngJjXd2wdGuNCiheOZiLSTZ7N/3Je4ZjaJw8tmectU4SRPyrPlNxs9oKJVyWl\r\nHpFR8OucUYpr5C3DRoD52bBW3oMUsWxFImg3KeQEmH501RI6lf1WKftcXrx7\r\noL8+Zus5Hx/OpyHAeh1lLxpZTrUF58DZCVlWTTbp99Fw8YNpFwjqcctb+43B\r\nllgMp1NP8DFsq4VgAiboS1Bat6dpZAJK6X4=\r\n=UxC5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.7e34648","@microsoft/mgt-msal-provider":"2.5.3-preview.7e34648","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.7e34648_1653549466015_0.034568035641161066","host":"s3://npm-registry-packages"}},"2.5.3-preview.774b7f2":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.774b7f2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.774b7f2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5dc17d3608690d2ec2b14b6fd9ec78436e94eb52","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.774b7f2.tgz","fileCount":18,"integrity":"sha512-X2cejaaoxMHaxoknt2ZXblaIjUr8s2hw+Q4fs4UVMzZPoIhYTQpCiLxg6VgC9NkuU8LVVi/GgqUd119lavh6Ow==","signatures":[{"sig":"MEUCIQCR7TaNvKKCsv9nvIpwdcI4Xa/wvFuj7PO4Z08Tbel1TgIgFPpjcZoQGARk864mLpxBIlr2Sxdl2OoG8WgUcLAhkVM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiogh6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpg6hAAkWDRPFnHz2q/+zCmFDsi6eexeIXWk4vWUhFphqp6eqNvWTPW\r\nemHVBdY4r9hw4O4hINT+qukjsMsAtnm1BY/9/wE3T0Mh3s4bwtd0QR2daOzB\r\nh6ioKQCtLDEStI82C72oX41YItwxwboJJ9PIW+yr7lvepYmLliYoUVrLctDz\r\nTbMZQY7zkIpDzuA7hLN7Q/QMfBTNuJKQCFVlpEbaiXgaTVt+0JVFIoOXOHPR\r\nj1MhZa1SkIe5iFUmvWKWeztdo9RVXLB38fN8uWZkfX4mj5MjUC7uEwPPtMAD\r\ndyO1CIDuH5NCjiVJokaDWCMbvHHbkQdR5ySyzcJQE6Y2c4M5imTXKTB2YRqa\r\nNbgkMbKMEqGNhdKMzCjIUVFFT6NnnOKjlchS9RpCtXkLLfBtOZmJQ+gMPBfF\r\nEnnVfnziiBLfElUT6qg3XraH2Yu2HenRYlV4HAQqooRO/rI2yTn1DboaWyey\r\npfnlGe0BJsOaANoMQVlY3nAsb7PkJ6LyPzVg41OckvKlgBhGb4/Eg5tE3RZh\r\nL6pMYph+vpx06sEb+VkSbN0holLJS4Jsr8/P5WoWWXadU6/HmQX4LqwwRBdZ\r\n2P9NV9xJpeoZ5ZF6kq83UBx400kEMkJFu/bfc2DQjz25yHq8HT9u5r4foePo\r\nSNb6icLOFSI89y+DTO8fEAt/hxGdrILfjKo=\r\n=mQQT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.774b7f2","@microsoft/mgt-msal-provider":"2.5.3-preview.774b7f2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.774b7f2_1654786169938_0.12318172014551143","host":"s3://npm-registry-packages"}},"2.5.3-preview.600eaa6":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.600eaa6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.600eaa6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"33a262196e93738501fedb67b5e2224178e54d62","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.600eaa6.tgz","fileCount":18,"integrity":"sha512-Jn1XOOHzMR/NtCAddMHhhuvAYtcnrqiUd5eOC8c/htSSZt41YzfIjCuezMoo3mztbFjhovSjTaumw15ENVdW9A==","signatures":[{"sig":"MEUCIB8qpkJqeEeYPiHb6M9wEsl9fgBmgIpfiUST6YsAuT7PAiEA3jaPsVQo3ZHrOaJZzwspuUCtbMWfBK2ayHk6z5GNn3A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJip21RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqQg/+NPxfp1ZZAFySh3GsakWn/Ov/7li7OlmCsroTNgXjoCo5/x0W\r\n6HwqHDXBftNwpWTXiE3EPF2kp7kJSOTqdi21N20O8d76QFBccIMKMFqbDGbR\r\n+PP8HyV5u5TzLDUuSaS11ihb08imLG2kwsPg1CLVgr0ijeyrDFiGc3YSBH1Q\r\nrKHI9QMlZotstec0xycA7wiN6Cl0LRuAyVFuNlru9fIYGSW5UEaINyqPkjgk\r\n8K5yj7d838j7BuLqpHxSpG110sI4EsF8+lYpnkrPDl7SVhRmOs2xD+SdoE/p\r\nyh6LRd2vPNE51EPATYKLB82tzTFJDtSoqAtpjA0VcJWI7W6PANyneI4aKW8o\r\nqwLd60lj1ZlW3vynVqgDUjR3Fxc7b/NON8mwJLSq9xbf3fYjq5lKbS770wp4\r\nnsNkBGdYDPOiK6Raxcu5fQ+jKVTZQThFYZsOY7X3W00oqGl/c/FbIhP0UT/h\r\ngsAldpxBAjvC6xAQavLshqhx+ZT4uNnFwqMnmFLBY0lU5RNbYiItIQibJp2t\r\nvUdFTZbqY92TGx4kn8psQPGlksWVEl7CVZfhfjPB7Hp4UQor0tYB2Q53Vx+X\r\nlT57hGzvYBD2hBkwyGGuBb1EfIytX2VdbgYmMgdauy9oQAQNENwx2BGiHEtu\r\n4PgVqNJUjRg8XbkVkK1H5v3BH/xuf4zNaho=\r\n=A+1W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.600eaa6","@microsoft/mgt-msal-provider":"2.5.3-preview.600eaa6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.600eaa6_1655139665355_0.8200551965187142","host":"s3://npm-registry-packages"}},"2.5.3-preview.b339cab":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.b339cab","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.b339cab","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"06aee8887712d8f09814a5dd55d06a35e84fecda","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.b339cab.tgz","fileCount":18,"integrity":"sha512-r5RgCf59HOkpoSDE8eaHdzhJMgwBNwy6ic7xPkFu3NDttsB51tIfLdxTwwHWBCm77CZAr1d1P0BjXcetTiPsyQ==","signatures":[{"sig":"MEQCIHae5BFvUPZtDN/uJX0+l05+suHxi70+OPLtqFlMCIR2AiB951PGfEhrWZX7AlYeuflM+htxfYS55mMLhUQsRCp4Nw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisH0kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVDA/6A9a7Nvk90vTIhTdrs+tlb5bHpKP5SiWWYAVMFB7bF/+wUG8v\r\nUFOyupGSPDTPIVZZNWT1zNB7fK30dsaxiq4OTqsIAx1jmgBzFPrF7ufLhxjM\r\njky0k6f9PEq54LL3eFb3gRRZTkj+E4qwssF8LBKbCofyrkfUoyFT5kZ3KsF3\r\nZ7pJqrl7E+8dtIFyhzVSIwAs8vCQ7oKrgP1Qyot0fFeFn70IhtHufbdw0Mce\r\nLKBQNd9T7DdLPSR7dqpRL4V/gwmoE8LSLNBOwzICIj2SzL6qGT4fZpGkv7cR\r\nwh2FRbSqF1CI+RVxJBKdho6WSTJIJ0BQMZq786M9WqFsCK9X5g1hiTw6onpo\r\nNXbTeqrPBdcjD5+NVqu6tkmMONix+fxCpU8u2nDy4N0uotGaztl692CMWK+X\r\ngflw47MS9n0SoV+E8FE8qB4sk6fcnLHzLqo5mEJDzd7Uq6GG5yc8jYMH5m5L\r\nUqo+JNtpftI+oETp1Wfdt5Df2jyN7IVl6JgpeH1gura69wnD3khLDBOsSQtJ\r\nC0GL4cScxZejgceTn0Gd8VH8M4Jo3Y6NnVoavs88uJN/pCmFVwY+OPOuZCEY\r\nVX28Ymy5b1Cxm/BCvSGy/456PMQ/KDAxz36znzqMCcdlozv3aI/dHIPA22vj\r\nYOtyhcnwRilOutHPKO/nIzhihtgpV4CT9Yw=\r\n=h9He\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.b339cab","@microsoft/mgt-msal-provider":"2.5.3-preview.b339cab","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.b339cab_1655733540512_0.8588491399799156","host":"s3://npm-registry-packages"}},"2.5.3-preview.cd03a35":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.cd03a35","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.cd03a35","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a141b62f6ad8c44f96c19856068b3da635356623","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.cd03a35.tgz","fileCount":18,"integrity":"sha512-iCgFbNbv4jgsV5+DaTHkPfOyP8rCja13QYBzMNJCaFFqtQakUgwQ+/UKR/Rg00iXjAXs/ytP+MEUXcO7BK8Rbw==","signatures":[{"sig":"MEUCIQCunVGCkW8KJyKlQVGbkTYQ7+h8Bm6uXFpTfRtPkdSblQIgVlwVQH/nsZofZOJrD2PFwvXcc2mVCGIs1uZovEiRfKw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitKbjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLmQ/9GPnxX9NaE8MLS9KMkWsa3kxhRd8mvsUntPP8JIxQolynh7xf\r\nlXbO8czqy40ZejrOTIDO4x2OtBYi/whslttPT+R2OFqphhDRF5f837Hiwcgf\r\nf9LpD42X1OCs2R59WqPKSTXfkLD8wgy4hdJhhhq/BazYzFFmGlFdQyKWRpsI\r\ntVdCtW5415ZwanfW6g5MRIUMOJMkrVo1Kv2b82Cb9y2qRgGShfTBSr7Sea0D\r\nbMknVypaGfWIZYI2G8b+oU1L76jc3xVipSG0yvmQlBnYXs+f332UoEyDBkoF\r\nbo9WhPpwiVGr6XlFu07tAJ7YoHTNscwhweGo0CLZC35v2B17TveSdvdEhl9m\r\ncVWs6iUcSx462R+erg1sv0cciakNtkf4anUu88OwNachTEJWPs3N8eLhTf/s\r\nRVU6tycZ5C1ma/3oC1r10Y0Np/emNNoiSSplh/o+kRe/cWC5DC9GRPEzP+/M\r\nkjxYLRWcF7JKMWHPapBvvSB6nZtUl/V2iiAPXQsQ1XGecq3lijSoBdUXafbu\r\nqtVp9NbruFOTvK/KJHZgetgr1mMWuBeu1YIx5DgfHvMcgTdXA0MpkEG1mDxI\r\nmD04TBE5qExlJk67dc4Jn0ZHZOM9Ko018ocdd96p7WoGaaPE/NZPgxlow3ch\r\n6ZDXXMVxzg6y0mBR3O9Zes0Z2VfEiaThodI=\r\n=2jsv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.cd03a35","@microsoft/mgt-msal-provider":"2.5.3-preview.cd03a35","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.cd03a35_1656006370967_0.19739531054307302","host":"s3://npm-registry-packages"}},"2.5.3-next.fluentui.fe24fe9":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-next.fluentui.fe24fe9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-next.fluentui.fe24fe9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"168840428f84fde90216641d8e29dd6744f51793","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-next.fluentui.fe24fe9.tgz","fileCount":18,"integrity":"sha512-dTljCpxV7xWaqEnqdBW55rF2TLS9Wdi9WYAviuqjDmaME/JYpOtodh99jerN0oJcLLYuKYg9F10jpb3GYcp+pQ==","signatures":[{"sig":"MEUCIE5AkBswBZ4pdeUQMForOW7iZRZjvJerSGbRHXlDqzCmAiEAosRJ0iLZw1hrkrfI5emYf8oVFfmcCtzYF3l45MJ+qcc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuwvHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGVA//fTMkf+ZifWmy1WmEit1E4CLyTKsViyXgrw+Vo4epHo++O2J7\r\nMvhycpP/p3HZq/zpq6egeHf4Fd4KHdseF3ABGYlnPO9TsDnIiXjty4gcD/UF\r\n3jyyYhiEVPILcUtzU74I0mGqNVQtprFjpHas0otij/+95hyXeeQNLWzyqscm\r\n5MD9Ga9eSKLmoHNNPhkGHqZ3A0g9VfCLUpnY2hVKXZFALcvgvZFTiw0g9Bln\r\neNa8Yfar1lvh4TQ6BON5bo1HVYCZqlFieWdLZ3vVFZINVzuVa9UeMWlvOhhn\r\n2QyfAqYeDIdJgOIBTVIoU3Xyc0P9pmWsC29Igp2v+2nZL7kEivFEIhXaEp57\r\n2rOcAC38dha9mIt6hHxB8o4Tvb9Luk4Mgocw41ixdjdD5BwWGxY8cQnPVsMd\r\n+ka6cW8Bg2HtilNWCP1Gy+BZc9vWF0P22/3igt1deY7cMrk3wyFmCikdMZvQ\r\nh45mtGJhHdVvDwQbE3wy9E+Br6GLECCjUF1dxZYsaGycsOQLcQMgR2NopkHj\r\ntThW0BBm2J5yhYD+d07ANkEl1NxI8ugCfD6IDaJMZb+XVFwqV42QIO6DW62B\r\nTlYV4yCxPVAFQI/LcVcfZbO9zDHOjxR0XC+x5Ax9oTzdb4tTOWBAjYmkKYny\r\nM69cBhaZYj+NpH9l9Gs/UgKg/52uKlzdGJU=\r\n=EaoV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-next.fluentui.fe24fe9","@microsoft/mgt-msal-provider":"2.5.3-next.fluentui.fe24fe9","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-next.fluentui.fe24fe9_1656425414880_0.053795312880080326","host":"s3://npm-registry-packages"}},"2.5.3-preview.c1307fe":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.c1307fe","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.c1307fe","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"61f1064c6dddf5f74206af020587b4f48d98096f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.c1307fe.tgz","fileCount":18,"integrity":"sha512-E8B2OKX+CbxNpokZt4E6yvBR/35jDpjiembL5cMepJhoyEL+h2mIWScLFHH0k+6RWlHumlOeyL3rq7i5ht7J7A==","signatures":[{"sig":"MEUCICgw6tzkaw0OWUUqL168Ynxn3m73Xwglfbvjn52wKprkAiEAihrwilP8eY+ghWSTEVWt/aV0SrmFCnsoAdETvLOHZKs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivephACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCTxAAmERx5SEoZbd5t/mzKG7laDYcfZbpbnSw5QHEnfT6+Crd4bAY\r\n1MBXTCPOolcsgYgQudq+XSZQGQcr89u8c9cLT4KpRP1WOOFWkIDHnxncSBQ9\r\nStakqUvu0w9DpUj19e0m02V2YFK9jaQHKSUjuXuG4OYAMjN4F+oOJlLxiuO8\r\nCEik5CSEx4fh/XoGnGXzSO+IrWxTOlHtv1Aw+i1S+RwuHkznvsZmwGyGzRP1\r\n2sh/MKHoxg74k2TmajxW/1KqOPQy3YTE5xEv8zyoCl8Dwt1RYhrSOc3I/WbA\r\nXsXm1yUtgC6k09C7sxbLOXTaz0HVqbpZO8JaImSWngPxuBogTda/7lx73zqi\r\nq5WUco3MgINr9x0E7qSfg+i8VA2rNZiy/egk/bS8RJFfr6+mZSz9qRf8zG/s\r\nRYdlgT4H+BfXJpmDqBe1MNHPyttWyID85ojSTWq8SX2h4N4sf9afSyuaCSKH\r\n7k/GWwk+oTZw/uvsjnOyDxKwy0LOud8uDY/i7IETWhpzQISmRcIiy64e1usk\r\nMrOxzF+NrhDGXVlHm02k4Trp3qRM/qtysf4QlDvnT5WubE3yFeVFDSjXtRXk\r\ni7zudI5UN1oEMswBNcf6fwsR+/sm1YB5tI84NkcZWE4+kY4g6iaXjsRiqA+N\r\nqTNUKYgWubZSBYIQLbuZmiqrSMw3wgRPeGo=\r\n=sIan\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.c1307fe","@microsoft/mgt-msal-provider":"2.5.3-preview.c1307fe","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.c1307fe_1656613472943_0.22115669595649834","host":"s3://npm-registry-packages"}},"2.5.3-preview.6b8ff09":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.6b8ff09","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.6b8ff09","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"87664750ee39ee53c04548efedc4a5fd39942cb1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.6b8ff09.tgz","fileCount":18,"integrity":"sha512-+Q6Gd6VIxV/zsxRL09Ic1AvsvCCwQI6HU6aVfPQjwPLqUTNFbhsXSPHQ9k9Gg+WUCF8ji9LZmaEiUKskzl6NSA==","signatures":[{"sig":"MEQCIBct2l4+d5iqAphTSXpnbSm3UfcURw4vkNSAkE6RSHfpAiAoOh07FI+j0a6CieccVlx5fQnF45DPMzHMxzZZgwdhDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiww/UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPTQ/8DM3hHbd0GLp6AUxYgdtZ4VtMDWEQB6h7/JsA22wwtsfMm3tc\r\nyIlvx4M3vOKsgzzkOqRnjS5xs2F2FFSO5YaaXCU1QEWorXgqA0PVSQzIbJ8a\r\nqGcG6S0mYWhFqM9/7zVnNwyzBRRqVM5Xkm37y6Nb01scPn6IUVVv5+vLXi9v\r\n0X2orcsFKqT9sX+Q5SBfrBskwfaihbhAnR1nQ679nOSLH/1W/E4NMa2E0KLB\r\niT1DXOY32S7VjxacSE2t9MplXMNdy/XqR2QPgvVrfyFIy1KxUf3XYJSHei5S\r\nJDCU/VaxZEZ94GpC6k/+nNouICyBIZWR95pOdg07+stZk6pwatFyyh7ATjUI\r\nAMcNGkwB6+9KPmnrv3ndmNzHkb+f+uYmqjtb9EiAiCTjkFWuuGIs6jQyUJH7\r\ndDT4tPXZXh6GI6pekrM0YRQArfPrQXSqOXM4gSdPGmZshsHAKxB+j19vp3HE\r\nwEKnzNVA57AfLUHJaERan96xrwXI1Q4dXsUe4/SYXmH9eFD60HNiS1a0CdsX\r\nRSuZTJaCMPT79647kSVbSswRkNQk0IRIhWULRiV+agI0ayhMzzGwXr5Qjm9T\r\nCNEcfW6Tr0hJY7MJbXmdbZubggVLHYNS8pFYAX1BLiZ39hsDulOFC3IZ/yyw\r\nbZUFhk0L+YCQ0kFbDfOGV6qKaCBa6Rf+AIg=\r\n=aieV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.6b8ff09","@microsoft/mgt-msal-provider":"2.5.3-preview.6b8ff09","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.6b8ff09_1656950740510_0.5668314140155561","host":"s3://npm-registry-packages"}},"2.5.3-preview.d26f83f":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.d26f83f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.d26f83f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"59493496025b67ba60da0f39082d09a6aceeda53","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.d26f83f.tgz","fileCount":18,"integrity":"sha512-aiEc6gCBABHYj+L+oK39ffhstRkQIgtInGZDe71j7CjAqIF/+1tu+VfCnf7VlfCekiJlSMm/jfj98O/EwUloLg==","signatures":[{"sig":"MEUCIQDqrhTjJuZRuT6+3K5ewyzSD15LV3Ew5B61tvvgMa6ykAIgY28ajXEIDVx9BmTVdPH52fSy0EOakUl623PgnpEHoek=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwxKIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoB8xAAm1z+kSceUDKZC8l6D3X/aQdg1XN9uMYt4KdLS2B4bu8agsNh\r\n4/d6065yY4DZB1a6hocSpOO3ehqw9S3/D0OeENxq6A78UAfdOJpcl6GlJKLY\r\nij1O3IbZWruNxxCgLBkDZ3GBr0rbLTWs5emXRoflj3GZs4W94Soib9smB0Qh\r\nZEtxetol9gZoTRPK1Wn/P7iF4L41lxE2mK5bOFgEuN3ljRUSOnjKMIVCNDZe\r\n+sX+xcTdS5ENhiiQ8MOeY0Wu1nrmHNdjiAsdJQxXJIk6kq87yosqdHogWUpp\r\nmCWpBFsLfWy1GJ/O3QWlab2+LvxzuENRo6lVphNRERah3nSgncmirbDHngOy\r\njbGqN2DoCxyLHj5Bf0NxQ20bIAbX/NPXP30ha9X8qnVmGpSH+XB+HsQaTYDi\r\nfXCM8hm0Vu7XY/e+k9+e5/z2XEvORrHQiNflKw7jcvUzSPW6LoUUFvNxUsU5\r\ndVYfOsqv/Y5t+L5m3YxRh/1nJV5Ab6U7hbLi2T6/IdPfgSucJi4ZrP89K4zG\r\n6F2qh+ToIukhJQitJhBtDQ0Dsr9Kmz0nm+btlmcKTq9sy59+hioj34/kma2g\r\nDi10WtVPI1E47yZdpbrU3F3Zc9udscm+fYGKyZJcQMVThjehFxCZcaTWp4GC\r\nzuqLF3oYGCj1GLxFFK//OJUUx5O6q6r3s2s=\r\n=y9fQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.d26f83f","@microsoft/mgt-msal-provider":"2.5.3-preview.d26f83f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.d26f83f_1656951432453_0.04620490259598098","host":"s3://npm-registry-packages"}},"2.5.3-preview.40fc41e":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.40fc41e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.40fc41e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"90e1712cbe0825c24a9c73993909fe787704ade8","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.40fc41e.tgz","fileCount":18,"integrity":"sha512-wXrzAS3C4xxZyB8bc9nWKj1icjo0BJzuqPsjrZKoaZ3hPlc0CzaRA3GH5qkhXLHw+PEzLERtqe9TeCnmgSeyFQ==","signatures":[{"sig":"MEYCIQCuR+ZfYH3tkLr+ZdibBtXO85Vy0QgsiLe6ugQn4NpxCgIhALcuzMbewCwz8bAabi9FYyARxDKO2woxbxqXMhlFZ9VG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizpySACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2Uw//VhCRtWHtxkt5CY1dYutRLb6uyvIR9BnaoSKIAcWJDD8SRv2s\r\nDWCibDZiJrNi/vfXe7uBF+kyDlxEOEuwCXP6exckkVTdiAtyr62rPJuceYHX\r\nCzk732f0bFHXXIXP8YfSWct7lIhVio5qw5j1kcZwi2FfqMYzXUfvQvDLEov7\r\n53auXwF82qIGuQL33B+5R4YqE7BGnqxxRpfrhO9CLV6hOCqufpTcLHboNtZp\r\n/W3jFzstTuw4pPgCTI3cCRvmDJdXdYGV0lPuCCXVyTYP9s2ASgeG2n6Iz1jR\r\nPmaBhdRIABk7iEYcc4Sg/DrqT/7gyngjvnYP5zGiu2VXcibejZuzlGNB1qL/\r\nCfnPnrgO6XPQUi0Lj1ijuPiUhsmTZDp6LEBpl9jGFLSUl9K18ousfK3JzqNR\r\nGCxjwwY1BqocdViqZhvlCYyUBiTF5KUYRGES+1YVXZmYScUuf3VsHg7TD523\r\nK7MBKZn3hnsKtT0x1C+2Tsi0sla8kX3RgmFQA2Aq64gLN6PNS0s/zJfjUWl2\r\nadHMXlcXB4MpN7kWe8Rqt47ghgJuCMXyGu89LX3OOq0QSp87Bck2Sljg3MkH\r\nEcVwy3nFFS5ZsVFU0V87NTJd97Pb+MksPpeZiCnOXQ+58sQF9+I1P8I5chgZ\r\n1nKpnZQi1599SZuTh8LmZ+CpAkjf8nwT3dI=\r\n=Y64Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.40fc41e","@microsoft/mgt-msal-provider":"2.5.3-preview.40fc41e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.40fc41e_1657707665676_0.9427573020472748","host":"s3://npm-registry-packages"}},"2.5.3-preview.9a2fe66":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.9a2fe66","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.9a2fe66","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d70c77f46dcd09758e1ab2b4cc5ae21186539dc5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.9a2fe66.tgz","fileCount":18,"integrity":"sha512-FJR1lE6uib5Y0tGHepDYKsBsCA6AeML7SdRTA0xhKCTWQmh9Jbbzq0CbOSMkAc00VJW1uSJaZjNtbnpCPwbuUw==","signatures":[{"sig":"MEYCIQC/sXFrTFdfdrHimJNuT6ailMNTvGjlAjNUlrZy+3/g7AIhAM3WR6xu/BvcgrtwCrysj66I1Q4u3ToUfnL57lY91AX2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiz/LCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrpng/9EKt/oKrlCID6PdTE5ewrJxopSfziHynGARlt64i8ljeCl1Al\r\n3Ng0uwpGda8R77AnYjy6oRmVcJCpzWc01w2BLyT53MiupwMGogaMlZoILXlP\r\nN2qrdDCwzN0NqLCtIKRqe3xolLo+2zYAqQhfkedNeb+yBq7UjzmVz4dMoqG4\r\nJ9VwIGHtDgwgVgbi2yRHoxL5+Tw49TZQZSUP2xpoALUvErvkFIQTEMM2ePqW\r\noZVrPy/PE2vUNjrzMKIozEsUjks8Jqu9oafLwIaclVY4WwfxQAMe0sZFN29h\r\nxR9Bjqyv0o9S6bsh+4IInEWT1Zmm3ew0FCk0LgVHDDx8hTHbc+B3qKrL2dQc\r\nGR2irmIdm5/AvG9Zg4DD2GNPyZp2zEYFh4XDEAxztTk0ek5u/nNCQjdfWg42\r\nPBDMPsYoevABBxpwVEH4Enp15BBBSYGXwExqcYF2coOazrRGG4mE3H6jiNcY\r\nFcGSg5eu6RQvSK4+6NgVovq2JdwoIoM6BNLKuxBntXPnOwGWybi8Zmzwxez5\r\n9JljGdYZ0Vo2fjdQAuLWueAUxAnr1LJw/4D3R7ye/3d8gg7rG57/hR3g8J4C\r\nci7GmFcQ+aDLni2WmFHZkY3wXKBcIgJViOAhvbi/siFRdJ7hoQ2iwJF9oJy0\r\nA+W+heOz3448WmSj4k8tjN8iEioBZe0aHYY=\r\n=Rayq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.9a2fe66","@microsoft/mgt-msal-provider":"2.5.3-preview.9a2fe66","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.9a2fe66_1657795266419_0.20152463557420108","host":"s3://npm-registry-packages"}},"2.5.3-preview.4877f5d":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.4877f5d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.4877f5d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"12295c3632aec785afc6395d0c4bc25695258cec","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.4877f5d.tgz","fileCount":18,"integrity":"sha512-a0LD/wUjh0bqAN0qZ3Po017htWjwwhIL1mTaJn4RPe21GzrCXQoGNWLW7zIt1scOYiHIe6ylqbifb35INa3F+A==","signatures":[{"sig":"MEQCIF6TfkBz4oP2MNFaErj0B5SQpLzKWIihK48pFrAr6qKXAiA0p7h9f2WawXMRxr0gVJvKwTmnkWHiPZ0Hdpk6uEPaMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1uCNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNHBAAlj0TEnD2Zzl79p0/tGo/jOMWtjLhURSLw7vp7lZXxGh1kzzD\r\niiHcaOwCUKgVkqkfy+gMNjDgIeoqqlGTOjG6D0L+RQ7uLCDugSqynbDCYFqn\r\nCzgnD0zUSuY7pRdrLXKhLsUKsmNzSAb5LKVOY83riLZVZHx6mKzPjXpCpsje\r\nt0lViJdhnq5PS+DdX7w/anuljHhRvYMipiEOQwdn8PR3CItGT45/vTeCruGf\r\n2xSZvwZ0kFqjSl523ftwvgBBGzQ3tgdeiiIj/b5hft/J6Oi7/oCYTBjYFe/4\r\nkrW6LGaNwnyidLHReWlhAK9sTkEgL8sAogqc9SjFLPi3w8r0kg2nP98LXxf4\r\nQ+zF8JcAF/35qXKjicui944Rcj2NNd1phM/9ULqbCuoWj5K/K2vmEUCtsenH\r\nePdUAyAiqiw9oI6YrrG2kgzCQT+0d4PwOYqOKnX+eksxUvgK1t3I0/02Fjgv\r\nOnt9ld0BTlydAY07SEAVA1Wdncg9ePMZCPAqhQdw6TWT5K2r//ZNu4bkWFng\r\nVF+aLwV2Mw8O+IhgT7RDwR40yzdDsIVuxXyCF0BPS8+0zIEivDNWAXMKzBoI\r\nJ+QOZdwlHFbXc3YzAAVQNmdD8Zkb4RQgJbDSfCoYXpi7OiU4jZdJy6+OHQ4W\r\nyv28kObLI32SOSih5bj1izol8dA//B7PRi8=\r\n=VzH3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.4877f5d","@microsoft/mgt-msal-provider":"2.5.3-preview.4877f5d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.4877f5d_1658249356912_0.7817129826886748","host":"s3://npm-registry-packages"}},"2.5.3-preview.884992a":{"name":"@microsoft/mgt-teams-provider","version":"2.5.3-preview.884992a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.5.3-preview.884992a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"204b6c8fd4e657fec1758c5478068335b52422e3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.5.3-preview.884992a.tgz","fileCount":18,"integrity":"sha512-2JDUd9PwSBtp7hi52m7gQxOBccbrkHMbiPYNBjnpF6yZSX3r5w5TSm9sgEAqPED1UYoKl+pPbKJqOJNuPGl+hw==","signatures":[{"sig":"MEQCIE4D2xfVKrI8CDm12P5K7baC9NFM+ajDPcJNv71iWfQ7AiBj0GQhc+U4Orb7afsG7cYnyyUXi9BSF2RICxOGnP2L5w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1//iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyeQ//fAST+3+SMw3WbtzbFOqYmIs4cfQuKN6WazPo3z0ePi+Y/sKY\r\ni5kEXr/bM9EjsEqWC1rSEL24ji7pmtV10IJDQj3sCgK270HEVJ7L0TpV6WXv\r\nnsivLmVMpNDXt1AFqFwCn1F/8y8kj/2/rm2jMkWUGBvf8whwM36MAflVAcGh\r\niMfyJsfRNPCTo7DXnixUOhaTtHwNVlTxaau1HKNJa4Ok1xIECd/c5kYIUUop\r\n+aICPwVAUDgrSkOZLvfnQRcVLU+p5U9k5rvBXPXQia4Maz+5Ny9Hv2tnOvWC\r\n3izTecutmJjovoaubECwwhiJ4aB9xSBtNvNyqsuo3c6H1EVUMkM7rI389OUA\r\np76M4x0BYbHyfR3mXITSsQg7M9ztSYUyBNQkX2jos0t8ipUJQf/QD03VMcvi\r\nzpYaUNfHqPNvy+WGBxvVPEawXtqeZ3+dVX0tD1UZmt0+UFX3DWjjh3l2yHtK\r\nipmT/10lurkjlq29qFm0iyJGgIgz8YLMUAmlLmwJ3bJIkMK0XrgIuz+A5iNv\r\nNGVMj5Wqi1EFoIE9Zqi75/b1jClXEAB20a2NwVinhbt76RZHdicOY/TauaND\r\n7yrV6PzaQbVMHko7t0XA/63VTkj5JBMyIfJdlWss5fmt46jaz0L/A5mUXkDU\r\noA1N6ew6cGZaVmExfBAqGrlN0yddAEOZaJ4=\r\n=ijOH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.5.3-preview.884992a","@microsoft/mgt-msal-provider":"2.5.3-preview.884992a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.5.3-preview.884992a_1658322914787_0.12488239605305718","host":"s3://npm-registry-packages"}},"2.6.0-preview.e984aed":{"name":"@microsoft/mgt-teams-provider","version":"2.6.0-preview.e984aed","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.0-preview.e984aed","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"58e73cb905fa7671ebf3bb0e172748a23fdf1ec8","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.0-preview.e984aed.tgz","fileCount":18,"integrity":"sha512-i5lLkg9bV8Uj34+ClJuhCIN98KtUWF7q5wDQTQyawtLmVL3juS3D4qMXEs1PlAFH0CjnXKs90XV0UtUaEauJog==","signatures":[{"sig":"MEUCIAEpSsC++wx99CS6eqD+jC48R3Zd/9Po10+g7k99Zr2cAiEAzHH6V+lAshc2LiowUChGlJZwwqQgdgFbPcB/d4Vgg4E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2CnmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrsig/8DYbaVG60q4xEPnekbEkqdp1XP3dGpL6RCjXZ1i34EhJwGgIt\r\nA7Be0n2g0Dw4ncliC62IRserh+zoEnzfVeXLJzhaZyzmLbtTpMDqcCK0gmgu\r\ntdH/GSJmKcCDNLfeD2Trhc2ry1lST4maLGpZHXb0yjl46cf9d0mI7jWEJ6Sg\r\nFPxzK1MEYvEhd4JmtB7fpjGBV8CxhimpqqkGW0eGShjDuAQib2KOtmSnPjwp\r\nps8c6A0yalWNVNtTZTSD1/jcZMS1LgKorwDK4WVSUVQCIMC86y0j7+8xTvHP\r\nVreaUHxilTbxqmuR+pelCTe7UC1h5SgoCTnb7L6YXfEQi8uSnFd6FOSjJl4F\r\nSBfBtAHsFZIfZ53WvXLBqcVe3iYeAsYv8hdhmm/WMwrjoKB9mar6xWwWSJgf\r\npp24VbLdouUOxdPGJCtYa5EyZnuezBi9Ay88nvTtBp5zPbrAkJsYIXse1S5z\r\nAhBTHAEDpOyqx3LSiRr0ovsP3T6LEcaoT5uyn2iKiwM+3cwe0crLJSdHLB/o\r\n1XiJODUd8TpcDMGfb4F9WHhTQ3NBe2psqFaU/6N2oExka767jA7HzQP0JLGX\r\naOLTbe2N1RjkEQO4a0oNMpYeorzocfcVW39hLEf1su/EN4tN203Bg4sy3FK3\r\nNxDfwA84gVjaZfMHyVcB0LZGO+V1wa3tY9U=\r\n=BEox\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.0-preview.e984aed","@microsoft/mgt-msal-provider":"2.6.0-preview.e984aed","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.0-preview.e984aed_1658333669837_0.2608131365049411","host":"s3://npm-registry-packages"}},"2.6.0":{"name":"@microsoft/mgt-teams-provider","version":"2.6.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ae54cda2b495726c063e5b8f2fef04f91fe5a1a5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.0.tgz","fileCount":18,"integrity":"sha512-9UAI2elEjXeV/PIwWJZs8eMs5hgh+VgsJRcWBjXE/+1aqaTTJWhwKvr6ooovgxUzQNkZGVlSPmTIyAnvD/XZ9w==","signatures":[{"sig":"MEUCICkA9RqUaBadH5TQyUrVaR5LUymzVW9YFXr6YtYK8c5WAiEA5gO1rHQx1T0kBy4+uq+VO6p9xDlTL2ZL6KmqudW+/wA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2Cp4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqe6A//SydG3uVi+dRzFTvUp4Ci1wEPrXvXggG2O6jVSmxSvzfFLLjP\r\n1/t3f0p8HYZNT0gIMpb5l9XXAGMmDWz3ZC7r9WSJn6tGNqch4hBJmMq29vw3\r\nIXvjtvyx6FOslqrJiIYiv4mELLvn1zi95aGIBcTWrb1NH4qkzAVYixLp9lTb\r\nZ4lS5rZFgx87IIZ4sm5NQU2og36GS7s90oZSUPTJslVVEk0w/GEadJGCGIZO\r\n3v9KvZRrGlamI6iFC4zgLy/6t9U8U9eWLRCYdzp6BEebG1StT7uLpqBrTA6/\r\nVDVG38FmZ4cX3b45je1zm3Ol/A5Ac1Mx2Y63cD67uEZ0RU17Y+TQEXB3swwF\r\nR3mP2YBmaaL8649lqENpT5V0SGbHLZEFaASKvPrkWSLR/RCs8NYRjG+aqTFP\r\nl3NnF75HSve//tDrBOAnUCis2kenTwI/UvEeFUC6uCSkurvqUpG2hCSASFb8\r\n6U0DEpQrCenpExAqIE/EgxI+riJ0qIm99GSD3aMRTP9/TPOPpZygjs9gwlEG\r\nPu35WW6pqlqhowbA9GsXLW8GQPE41tS9+BVq+cl7flYEiNyNWlRGpMG732Tw\r\nJRQx1PJE4Wf5sjIH7OSY01/FL/va+8Dct/kgFHggGlpd5MmjBXF6P3nWQfUH\r\nkRsZwIQQyvua0WQKKxoqSp6GZ9JVzS7bIHM=\r\n=7efx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.0","@microsoft/mgt-msal-provider":"2.6.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.0_1658333816211_0.7764417212732817","host":"s3://npm-registry-packages"}},"2.6.1-preview.c46e418":{"name":"@microsoft/mgt-teams-provider","version":"2.6.1-preview.c46e418","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.1-preview.c46e418","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"40fc8b8be1e033fd4ff70ecec2fbbc3d08cc178e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.1-preview.c46e418.tgz","fileCount":18,"integrity":"sha512-qOpATrZtjd2BEbtTxc9T0hweFFR4CI9OmAx0PP+hXrDUgoWhIG85Or1q2eJw73l+vEWD35797GIcu1o/FKQ7gg==","signatures":[{"sig":"MEQCIAVu9JA5jPA+rsy3Rtbuh083e0kpSmsHH4+cR4N4CS4+AiBVW1kDbV/X3hD5T3ebFc3/OYEXVYH9M5FBGACjxMR4XA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2IfyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhFRAAg/YbRwQWOeAXal4T43ljrGkMsomZgnGoUlbLxR8RilNA1tfm\r\nLPZXkFt0nRF55UaNNQDN2ram8YUKFj/IabuYTe5naDoRcnJhgqS0mQ32iy0m\r\nvGLhYqWtaSt95/WBWA5dcJlX5B2egj9xMjDeSkQvlxf86mm5ZQlq8wGBrs0Q\r\nSr6FBhxMGGgo8ahiD2h8LsBYVDUVLOCrGZL9ApnmU9QXAlDDUONjMfy2853G\r\n/GoTR2EcP0gvcE7TB3/5li3f85Oc73b5VZ4JRtMPfvB6tl5l3QAc2F7Qd4Jo\r\nuVedvU6iO+XXqvqzKOyAhEMF+rHKkP4rprTuKV4O+Kra4Zk4wGqZ/dcNmRbe\r\ns9eDu9B/hkBY4txuAp9x2Huhp44rMirsyZxluInAeknMfkxyj+A9vepzuHst\r\nFaMMR/+rI7ORj1hdZePFPwiL3go5nBtR+HMzrCrCUzXJqgK3d7e6Uq0XSOfW\r\nF9g42yI0Fo1TbhUqb0Z2rhieh3IoJ+kjJ0z/umr8e2nNVSYaQo894bDPHxEw\r\nibGDL/fIEI/tn8he4H4WjQCvC63CjI63HNtAtz3xmkD9li+o4qBvzAQz+tlC\r\naXi674npQpLiCfgu3+ihF+wP7DJuCtsjQPnDEnhrbc+QRUCGZ6LbIM7ZTZMG\r\nS3N2RBeGaWsQtcwXtI9n8R4sb1mY5meSaUQ=\r\n=9ie4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.1-preview.c46e418","@microsoft/mgt-msal-provider":"2.6.1-preview.c46e418","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.1-preview.c46e418_1658357746666_0.811771370477242","host":"s3://npm-registry-packages"}},"2.6.1-next.fluent-deps.5690b07":{"name":"@microsoft/mgt-teams-provider","version":"2.6.1-next.fluent-deps.5690b07","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.1-next.fluent-deps.5690b07","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d29772cbf04611aaaed5788bfdfc41624447c3aa","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.1-next.fluent-deps.5690b07.tgz","fileCount":18,"integrity":"sha512-WVOaQCrBmxgMIPnExzgTQ2obd9TgnVnm5Tw6PVdiMR8JGdaZWM0ou3d8niY8RDt+0Fli3gm5lR+77k0Obz+ZfA==","signatures":[{"sig":"MEUCIQC7mQ+fHHukis0hYMrvQPma9sHV/otK5bWgyE8S7JpiCAIgCNFNiKYhjde9YVKKqjmxGNXi3C2tlgQpG/Bs3xVRLWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5ApjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3cA/9EYsAUYk/D9+BGs6Z/xpd48+w9f2HANp7AEL3sOWddXGPIJAM\r\nVDLdXo/0FjlFZ+mJdZvQN47p/Z3sw0zPBcTALMAdNOYQ/Q/teCV8WpUtbhty\r\nS/5kr+v125YUK8WLm9aRHrraDFRj3q7KxzkzDG0P9xhIkwi6aDL9rRQTeOod\r\nFwP3P3ne3oC/osbcL28VRct++QK16H9/8x+cnfiuxbj+Z386MTSTxuxmn/oJ\r\nEJwCzKl4v/g4gsFRztu5Zm7IlIBHBU1jkIjayOuk5dGgKERhVQjULAOo6Vxr\r\ngwuk3ZLnWgdPgnb+ZKJdBhUpLocNTIZLRj8yUkDseQQ+91KJTAM3pkIWvivm\r\nKK2C9NeAlJFR8earUHzS1DiGMBT8iuvrIQTrXLMzdOsYhyXOvJuEWNIYgdl5\r\nCIW1Gk64gR6fXCkBDTY7nhOoAKze9QBxyJYEuAjaJP5/Tm+zbr41Jk+Vvegh\r\n/emZwlmdJB6KGw3jFogZfFLMteftb7PUqgHLLFgJU3Ld36KeZFWjT44ObvXD\r\nk2ik3N7eE/k7S6W3uGNuKaTafmM2IRNA2r7gFErpyVrC/FARuzuOQisEJzKh\r\nRsp+CUC2hcyuwVPkhNHkUWW7i7Qp8kr1gpN+jQifFWeksy6Ilx8iSO2q7bFh\r\nPUzt4dgTmbTi71prO5NHEHPKPWs6DTx6KGI=\r\n=yhK/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.1-next.fluent-deps.5690b07","@microsoft/mgt-msal-provider":"2.6.1-next.fluent-deps.5690b07","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.1-next.fluent-deps.5690b07_1659112035493_0.8956942751109054","host":"s3://npm-registry-packages"}},"2.6.1-preview.03eddcf":{"name":"@microsoft/mgt-teams-provider","version":"2.6.1-preview.03eddcf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.1-preview.03eddcf","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"667e172c8cc09e9e4c768aa3ab9780a1cebe35fe","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.1-preview.03eddcf.tgz","fileCount":18,"integrity":"sha512-h3yymq3AvAlu8SJRpC1sjG15PmG6bV0B+kFM/1aopjxZiZTNEV7PtwZtxHA/dalyfGXLmLlyaenBUmbGSEJ4lw==","signatures":[{"sig":"MEYCIQCVromBia4ciGvTXgJYzvnl8Y5gBroREQgb/x7iZVoEpQIhAPITCD/tjjUQhkyhXzZvtYgOAYnPqKfnyM4zIqalrHcy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5AsVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1pA//QZ3CAG1PxkG24YKMDnujjjepfykHq9DEpONnBTgGO4NpsdmO\r\n3SiSlYnRRVj2yryAi0ZXYdRmutyQoBCpQ5N9IzVatr8upgUxvjPfEHS5bzMo\r\nic99L+W3cguMN6/hj97o42MLpSfhjxUefBtGmRrxizQJ1ehQVm8/UoX76VvG\r\ngjsKuB5s/kELbCP5I4ha+uUDQehRe5PYrOIcnbJSYgjsF49IhqGsUx6q6ub6\r\nkSoLBFsD2NJiY9xBXbYSy8qGoPw+Xrx/qNunyFKjPgt+18hEpL/kXn+cAlqc\r\nFWeFkly9lB/TYwIlftQnI48XdXDXZKXOSKF8O7E+0/pOxu+pjLsw/t4OM88d\r\nYRVshP2IYm6ALayXB21jKgUVbFauZZyr9uzB7eoFDAUzJw2F5278JWqTABiQ\r\nkG/bNZmfuGO3mgkxtQ8871LXMRsrfWYeMe/ucn5BGY21NyfvpChv/wm3ECjb\r\n/P0iO0u5dSkaj1CtpY9Awz+43uUnCb22Zw63m6B6/pQRe56sX9c/VDrx0/WX\r\n6VNqFDRTZKyWpe1yOjsciGBEVfx5bd+jdaCY7Eg5QgIwnlUHUtMxDthmc01u\r\ns0R2PQDWkSamx4++XLS2oNFegq4T1XZ7qo5TpNgwH3FCDxoJBU6pn1peUihO\r\nPoH/utIQ42NogrRx+NZe3I96gUN6PMx+gJw=\r\n=imBH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.1-preview.03eddcf","@microsoft/mgt-msal-provider":"2.6.1-preview.03eddcf","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.1-preview.03eddcf_1659112213036_0.5999353824137699","host":"s3://npm-registry-packages"}},"3.0.0-next.fluent-deps.4bc5741":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluent-deps.4bc5741","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluent-deps.4bc5741","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5bb978b0a504d2d968a6c44bccb95cbace9bfd34","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluent-deps.4bc5741.tgz","fileCount":18,"integrity":"sha512-s8hCqxtCMYXOL6h/4IUb/dNNTEXROFaxSJpf4k4b3n05ksB0SEPAuZPas8gCyQLeJBCcti35VrurUKsUpKpFoA==","signatures":[{"sig":"MEQCIBOt+A/pXnGLAPa/QQnwgZ2oY6qfU+D/bpbD+tv7ezqnAiBBmghXAy5S+I6406heMG1DRfWwsmO74IlvlcKjN3EDQg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":754589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5DHVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOEA//VOd3qSx/ZL40NbCyyYu/7zwka1ZIK8XqK0Klnd6fc2nHhYGI\r\nJp4V7eGorcBFtJM+jafI8axjtVmjM9xAWALlQVw7NhMXRC8IPekxNx54lMF1\r\nQVWtedmq+IVJMLwY5mZzdW5K6Yl4QsN6r91dsxMlfC0K7A23fw28WQTHfUhq\r\nHiPh8evFekBCarDZOFR64Y5aQUcN5R1I2LGfamLXoQMct8iz0Zdeh88IjUyK\r\nYAdTZR7pXWT5SqEUw6kIf834lEXyuo6UVSTFxsxDzb5tRCs/LasJ8oS6kyKf\r\n9tHVAMZdJa/2FnZVzTzvJpTsUelDTLDO45+NPhUYD1PfuDrc2NaAm9T/wc4S\r\n2lACeNcnzmZaUwJPz+GRGfQljLgChv7/X08NHzcUDikJR2SbPP7vs22dBXVQ\r\ngfEXp0IXdcyqrZ2SbrW4NR+WV0kPMDe8fdntbiJfKpqypGu7wMp+cvbT3VV0\r\nbplUF/R+/NbOGENAhGnZSHqOCtTFMLaKM+RoTzy4ea0RadS4lCUrQG6nzmkE\r\nJfoFFRPzMmMhsveU292qsR9C4CoUnGTn8+m+7lSLMaOK9hf599LFq/+yALLi\r\nMstW6WDyNIi+iC5AEoLmLBo7GXriipD4fV+G54ih4xvXMc+M9/wE75mn1Rxz\r\nJa+CeXzbAg25nurAWR/3FHqe7Pm2qqpxA0E=\r\n=ydhj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluent-deps.4bc5741","@microsoft/mgt-msal-provider":"3.0.0-next.fluent-deps.4bc5741","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluent-deps.4bc5741_1659122133498_0.7821847788566882","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.5063d12":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.5063d12","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.5063d12","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a2d1b6511efbe31925eab1010af621d24c061a2d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.5063d12.tgz","fileCount":18,"integrity":"sha512-OmYye46hrq6K5xRJHmiE+QcqYERpEOWedifvNS0EKLl4EUl90Oioqd9GX5/R3cwguVD3pzKHSlVDCpRL9EHc7Q==","signatures":[{"sig":"MEUCIQDO0CT8mjmWtH5KTlEaZrSZDiaBgB/oKa4+LcnH+VIyOwIgTqpSerZtVfcSZwNpUZ/r9vGaLkyeIjCGYlHlqnXt9sM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":754580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6EO+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgYA/+L3dJUzAgj9NvYpQuNX6i+0HLUCL7Mdw9bsLCFZ6XsN1TU+XU\r\nz1yNhDdcUcANcLpWUvL6rhCliZCugXVk89YEy/1ovyV/w2qd1R3fXcTm7qPj\r\ntycdluj5JrKlgltUnb7XKnrDlnyPhsKKeyRiLYgmE3g+plfCD+H0sSB68OGn\r\njPkphXr5FseCKepF3FvFCvR632PHhbM4YsOUH0f3Ktv6lWhQPvUgW8jsLAmd\r\n0zuwlpdX2r9AJ/IwO9wlsEMyDZo/GOFL5tAMqA08BvEVwXIv+YWX8e8e8TTc\r\nJ69ZEHEQJd6NXUwolMcQlf+FrFWx4x7ww6zoJOU+bU6unoPNFEsvGnXjj7x5\r\nePTZ8P4dDlJCIQui9OMiMxlyfD+jJhLhtlqY71TTdGZutHccRaMcOikmP/Kk\r\ntncMiR4vt9dZImwOykc3jtnSxp78BPMOLEmy9r7ZbOFDXc9UT58GvMCHftaA\r\nXd31ia/r/q7I9wM7idZRrKwgytSIrHvcmy78Ae5GZmy1UiyxjlfxZDenyXC2\r\nfHG8+7hIFPNq32wiS6mEwOrxK+QN386EQQkabQIDWcd4PN6KomwnxpUjyKda\r\ncbGbPhXmy2eghuK51w5kUT3RqxgcbOwl8KER2DXS3iyKJHT7kIxXNbGzWH28\r\n6zCvtYSj/0SllK2pAVr32fBP35InnBk9G/k=\r\n=gfpo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.5063d12","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.5063d12","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.5063d12_1659388862674_0.4612979488715463","host":"s3://npm-registry-packages"}},"2.6.1-preview.964204d":{"name":"@microsoft/mgt-teams-provider","version":"2.6.1-preview.964204d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.1-preview.964204d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6342633a2cc8eb84d92363e9e397253885d4e172","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.1-preview.964204d.tgz","fileCount":18,"integrity":"sha512-cuojnUz2Kcyor4GQY7YZmlodAyrsnnuiTo2Szwlwzk0//a9wH5iq7hq1iEsX0a4ITu0jR/WOJVMumwMsuEID/g==","signatures":[{"sig":"MEQCIA46EepVYKpC9VXxhmaxw25zX4JcYJAbkCCtHc1bdcBDAiAV7az7z1hLQE+6ILQWJOKPiu2QrWEWYJ904/TWA+3E/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6QZFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqajg/7BpM7egXbrJWr2smy3qxLOEcR6QQBg3uUkQaVntd+AuQ69xkg\r\nIxovvMdoR1OqweDSW+nymuRbzBhuE/zrTKGkDm12w4GAww6awtpqPLWIdJSm\r\nfWP5dDTq4gR3dbkPpB7jgyv+lR+yWz/YgVWoliOEDw0IIixKmBh19cxzBpDa\r\nYOHHnmR41yiD1RfaLq/3Hz351KJ+mkocRZ6mYqeqSjUS/M7DcWNCN1JAeGwW\r\n3LOslDJvpbgnEBvDS1Tg7xG8oZxKw3FIo4O3ZkxEki/Deaw8qZrGfFOZc6Zm\r\nloBiSs6X+wt6RkkHYI70UYROQP5dAa/pImFVHRRs6IskJq4KpWviQW5INPc/\r\n5Rfj8m9EEUkm9sSVE9NStnnenTlPAw4gtu5X8978mB13lRNytd2pxNMwUHOK\r\nEqkiDVkXgi9WPXvkZl/mrxOwbhNjdaxTE9kjytP1ToGiMeIj5ZpOiD7k61/H\r\nmw8a5zIx2TBSWFvRLcV2WUHYJ1WyRHccUknMGXz4hkSP/I84Jy+f7dQvvDTg\r\nDtbl3GGEAxaZ0uFcWiO5iXu5+UuQ9faGpzvaVYy6A2iQR9NBEN/s1yf1PTJP\r\n6LOBYi9kfS6WKgxyXt7QSnJb9AnPWcuXvROPqsvyX3p49StmcE1HNPyTN09D\r\n8a2qmgewsynjriEOC8K8WhqyEPd1HDEKVy4=\r\n=D0At\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.1-preview.964204d","@microsoft/mgt-msal-provider":"2.6.1-preview.964204d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.1-preview.964204d_1659438661239_0.6618136317576899","host":"s3://npm-registry-packages"}},"2.6.1-preview.32a71d6":{"name":"@microsoft/mgt-teams-provider","version":"2.6.1-preview.32a71d6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.1-preview.32a71d6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0c8a5ccd0b51342a4f44dbb539d1e3a66a7c351c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.1-preview.32a71d6.tgz","fileCount":18,"integrity":"sha512-rKCUYUJk+xTcRFGuTxlVtPLFixpk0iA36ooU+5592+ZoCa3yqUthfsfJRND8OAei6877CtBpRBv4vm4TfeJ4Nw==","signatures":[{"sig":"MEUCIG18T6/CLG76HmRr6hW5NF0W1T2VOVwOoK5ylVb8PeNMAiEAt6LQDE4t5AwfC89Jv0jKcIm4EQ+c4mWQSZmI9BXbiU0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":748554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7BLjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0KQ//dTl429wJn0cl5qOhyX9adKZSkh9dxQKt5eYe3or4E6DDBXJo\r\n7Gk31ykq3+hWf5FPgtpND1L2XDDfLuGhI4tpL0YQPdQed5TkZfM8H8tLsFZI\r\nDIhDtJ1bcnd5jlzil9iBIrw9p037dKNocEgq8N9CWAnTVyZKwVCwzJnM2dt3\r\npHha7qmWleDJvQObqLgXLsktOy8eJUxMQttsf1wrF8O71gEjwUug1OAjmBkg\r\nmBIJtyogWvWQApXIsYVpoAtHd4JiukHFr1lHAqboESQZK8VFoNA2fIlaLFPi\r\nlOBFgZBClv+Y+eMbYT7d0CaLJY4kdnf8oxMyudb/UyMWAKabItaWKLK5T7jq\r\nEP6DBU2POE897mV8f7DyvVZqc2BFz3Q9lYhjKImn8QAKOWIRypzR/SZVOW9I\r\nty2cHdbCKuR2d+SRyDMxn698a1X44tifAjlbMYdb4t9eb2iqLtibV/uzU/i/\r\n477RslmdPdUsSjSsTgC17naD6PqutX2ZhBMabwQ3hHy86gPtOe3KImw8T42r\r\nVABrbxzLzG3MeiN86LcUcVIBYWg9mTEDdMsPtAcKv+zdNCKe928lZjU2pdDU\r\nPIAcwlc7rN23O+SrSIcn23BXLNJjE6yDjJzMbTSTxNy1VvXhvJm7YtQ0KDnO\r\nNeiJe+jViK2qlOX5pU15yC9R6A7nkpXSgAk=\r\n=IS7J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.1-preview.32a71d6","@microsoft/mgt-msal-provider":"2.6.1-preview.32a71d6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.1-preview.32a71d6_1659638498885_0.5577427076103034","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.f570cf7":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.f570cf7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.f570cf7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f91dcdeec3cbb7d541c0bdf31a907e3bc2d87609","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.f570cf7.tgz","fileCount":18,"integrity":"sha512-tldWV/uMKqEa4c9D5/ZRO3fx7yOy6WldfmFeHAPG+ljnVSJe1glUmjrts3TwryOO+RLnzsn6AEKlxbjWrKj98Q==","signatures":[{"sig":"MEYCIQCMjn2ko0lMmavwEz6ZDPNUvZKU3PCkMqxBy+7YtFS4SQIhAO1+sJfSWgH05iikP91XCfI1DdO6sRpALa8J5zIROYf+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":751011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7MV8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHUBAAg7lexckKjov/qDWczlhvvgtK87LTpuXDyIlMOSlaWvGaarov\r\nIZu7EA+rQCcvCSI+f+pKQfBEFXD7BSOEBTTkNuELOKG72lf6M2ytUk+ArGdo\r\niFXFeFT0Gs/SC1UOHrbaaPw+NXORIVWtDexlELBMh3j6Ksnf+BBJ+Hw1KXpW\r\nNTvGN4skaemgEpKz2mj0za3ToOc5hgk55GbQvBfukN5FTfmgwPawJVyxo6R/\r\nEL1Gn0yOMh+8uWDXDWeARzIMKhWxmQHSgq6Te+nVQ+5adyTQoj/0cIsAmz3j\r\nTbKaMwiZqNy+TNNYId6Zs9QPxiMT1t0EaZmc6dkNu/xMCy8UOqq04Bth7yZq\r\ncaNL9BwkHg3KGjz4BVZObGV5AejEPS08eZLPzMlt4/Yi9LV5zT2+EGwzw9m+\r\nKOED3yZYEbK1QweZg6NZCqRjiMucLC+sQxm9QvcWpiwg7XM67gTTpAHbvk+h\r\nLf7zdO8EytNBS2L/WYYPk98De9tmPKE7QIiDJgFdLDSVAAUMRuw08rLg/reT\r\nvwA4rWaPxsReSYOGS7+KlBqrGxM0zSBeHeyx67GhwxfT4ZMOExWqtkbMH9g5\r\nQ2O73kb/gZLfTS+aiDczcsMMO7T0+cYUgzH1to3bWlD3gakGTT1N4Z2aipTe\r\no7YravPzd27iD8mlMPYi/I7cHd5nlKTO2f8=\r\n=v6iM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.f570cf7","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.f570cf7","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.f570cf7_1659684220349_0.5003361851342312","host":"s3://npm-registry-packages"}},"2.6.1-preview.be9c83e":{"name":"@microsoft/mgt-teams-provider","version":"2.6.1-preview.be9c83e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.1-preview.be9c83e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"26d6f646fa99ac5005c9799ca0ed192a54dcc280","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.1-preview.be9c83e.tgz","fileCount":18,"integrity":"sha512-OdpDUsOXX5OHfw3MNJ+kI9KvYDSirHIFJh64F5Kod1Xnues7dclD8+30Xo54ca4O8pE4gwQwoZiPBGmm5j689Q==","signatures":[{"sig":"MEUCICwp4iTAcqYKPQSUTTA5oZfYM+WssK4Z2mdfMmeXb9eqAiEAp883NhJ2k6RQDTQ/tKyVJZ+3X/qQ6WDlJBOPh40cZxs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":749983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7VPyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYeQ//TJfXOZdZBRdFCA0lf/kp5VXw6ecVh7xgohgquRoP+ot/M4TK\r\nWBKKd78RF6M7Fh476imj8Cbfy2YUpGQtzp0F+pnIQu9/u7TG77dMdZpgJwfj\r\nPUwZCj/Ejzv3XUoR7aPVBfGPDVJdSmhd7pU3c6PyVwxI8m5fg2uYbBSwqWAI\r\n/n8t8v/6ALw4iTOMrwUr0WhLPL9YsxdiDHB/9FLmQdmXDuuf6AhG/Dsq0Vna\r\nZ6YUhtilU/rLpFFFQUYPUF7wD6Utg3fgBCx79C+3POZR+Pz5KNpUtLfWKcUi\r\nAKuSa7JfRrzuZA4xu9zXjk4vBP6NhEqHWnf/O2pzqbhjcWSQMcT69fRJdD6J\r\nDQgGTP1ZK5XD0oaF8hD+I4n2tYnPGM7mgDfGCYIpJ+ntrdYZb+sY6q/CIuKj\r\nkkSXNrgooXFyHrsFij0TagrW2WnX4+zD1++ePCG6MjYU1xXpzUZ2ccqQbHcZ\r\nSZM2qUPDxMwEAuuTv5d8sr4kDByFUdYBX3M6lSyxf+4ZETfq4A1B6hwQMDyt\r\nDbAkmoMn4ninqSDrz2A5YvGvVE6/KZ+a+CdQzlv/94A/h+AXwsdYAqpiELTs\r\nR9BpHAGbu+Bw6I7wloq3iWRDPAac+s3H5tM+wFSWmJwkBJ78URMzLRLe+nZO\r\nHJEfINyWrhpqZXNvEn/q1qvBMHYG2yCGGOU=\r\n=Be+A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.1-preview.be9c83e","@microsoft/mgt-msal-provider":"2.6.1-preview.be9c83e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.1-preview.be9c83e_1659720690572_0.457425180148862","host":"s3://npm-registry-packages"}},"3.0.0-next.login-design.005c735":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.login-design.005c735","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.login-design.005c735","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"13b0478ec0205dd8e45747b7f8d12c074741fc1b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.login-design.005c735.tgz","fileCount":18,"integrity":"sha512-39sPkAzbVy9QxZ+xluEIKwmicshsygXNZEZNmNgg2adpjpnDPEWd7h+fs4TYC60Tr3pp0n4W/mDfi/nmMJPxGQ==","signatures":[{"sig":"MEMCIBTz2o6fNezqDlrXgyluMSiyDFdKJMOh3I/10nVGn6EwAh8NbDQhJVv/d5iZ+77rcRoa1qrYq2CllE031GDWxrgb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":747675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi++L/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp08hAAi2X9jkZimO0P/+HOi/gZfCRPT6J9ttUwKAYIoiUEihGuTIc9\r\nVRpXrkNvY9tlLIxT4BJeknqAhHpIIAVuQfjjdg74w/z7TII+QzzX4nmfdEhT\r\naY/55sQ57QNwjxRotR54eiGfxdU3uWKk8TaP10xPdYCYs4qzkkqQYLW3KkG+\r\ns2uKa89oYQ51cKrvc3S7jyE4o7YOZqo/jII+63CzSF/0xrGN2Fcmfl+cg2UU\r\nJZuT5OZiyNh0408lnZpnGtLA3Abiq2848LX8SFgjMhFEagowgx8Meqv3Y6ut\r\nml3V/V4bX5Jfpz/0YhUHCZbPq0cd6nLQRg2+2bxaMOzAdSv6XAMEunJzoAAS\r\nfol84P2Isea05aEU2m9FO6FUvAv0OF4sI7435w6n372XQVhGviJHIlE1ruEB\r\nQ+kc/Tun6xZREOuuFurTLW93jmIENtX7jVyKCtUaebyetCwUaEdMY4HkrMAR\r\n4p2nmzSHeQ8f6zvQSs9Ip0ZRghYNeVnHuyMeA4ixNLn+ED7cec1J22NLmjFS\r\nw6pqcex4KHYazdziFzp1hUMs+kr+P4SORmMouReZBMMxrMKT6qJfi9tt7/Cx\r\nvA6kTjFNg92WjqW/EBaX2VU/TdpwiyOve1gIfxY4QkVDFu5RUvGKbb/emXKv\r\nFIeofR/9JZpbVQWrYqIZE49TsDzRJArybzM=\r\n=xlIx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.login-design.005c735","@microsoft/mgt-msal-provider":"3.0.0-next.login-design.005c735","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.login-design.005c735_1660674814800_0.24784342612399746","host":"s3://npm-registry-packages"}},"3.0.0-next.login-design.7e06837":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.login-design.7e06837","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.login-design.7e06837","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"65b312468f6cb9ea87fc1b14131934dfbc1439bd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.login-design.7e06837.tgz","fileCount":18,"integrity":"sha512-MR5xrU5bzRmE8fRDYUtcUqyaOWyENces0cMrFL8l82TGJ6Pez9N4QELtQgjOHbCxEzLByaX3VozWxJjGSndn0Q==","signatures":[{"sig":"MEQCIAdYr77Q2HkTuORAI4tPFz0mdMdQRcLM+0CQGel6hAqPAiA99aGJtDnwe4fmOBZBR9KZ33nusI3ksSngoLZR3hOlRA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":747675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/AdNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcXA//cr6nwPnGKNRu5HTZ1DbmaQE/n1y7xY2Bva4J5DSgJW9qc5i9\r\ncCGz39YN2tF2ZwNs5/C7BdW1Z7ggu9wjhhHadKA4ClR/lqrSaOyTZtaYyyFJ\r\nEOvPjMlpWe2xR05jRa1ust7wrDD7s7E6zEFp60ebEuDVFDjV7wQ0W69Mk3Wy\r\neA0pAPRxapuIImUxhNWDMdQgHJZTaeqyxCFJhdoMA2c5nvLMeZ7PQ/O6OdE/\r\ny/Gcg1XPSbI+lTz/xBdMvcZys4P5VyLWXIb4LbONISkU3k5rz0DNp5K9BVFG\r\nOrCf4pco5/fILwxE4jCGal3dklYHD6mNUtBjWQ1F/Dg+4ATrL4mwbWZigdH9\r\nkgqhNr1fWIVlNgUVmpeM7PdBpakNMcKD6r6r9H4TLw9R50MrIhpYUZcTlGM8\r\nSKsHZ6/4TiSJTswUDs3cBkqbgGa2CRiESGuFncgV0Lf8gLqg4h2QM9khw6L0\r\nt3kmGRIc6QD7jaXzME7T9SrER/110/Frc4L0+mD7lSpztyJRYa3witZuPQli\r\nSLMb5oaGK0K87hEbd7PtstTuFCyvz8zREZUf6h1P1qXJIrKwgaAKsm98q4AS\r\nJ4n5WHMrMQAUo88bX2UnM5kGyjE6W+zyp5nyZuivkIHtT0rMOdRe7ybfbpDv\r\nmwbeoSTZwaikF7vKBL8eTPGQDOFmcfrcCOw=\r\n=oEyG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.login-design.7e06837","@microsoft/mgt-msal-provider":"3.0.0-next.login-design.7e06837","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.login-design.7e06837_1660684109117_0.6293061179545156","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.4ad569b":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.4ad569b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.4ad569b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"30dfe13494663119e062ad4ec526876a4ec18227","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.4ad569b.tgz","fileCount":18,"integrity":"sha512-nyX/SjN5MrRtIsy+uCcgGxlQVnrWf0Hqfg4GFNauIDBH33HGVs38C1w3MPr9osQLgKMvd66j67eXd1Q7vt+LOQ==","signatures":[{"sig":"MEUCIQDIA0zd37+ezZhDkd3pqVgRgUkpyGs43ZeYQ41sp+EWNgIgCpXYlw9mJIw5d3ILnPQQsJ/MKyHhNg5qKgWmYehhm/8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":752505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/Aj3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprGA//eY/DJvJdy2D4Hd5tEPk5GqgHMQd4xHh66pUo9QxaHjGl9rg7\r\nJGR3pwj8fvewrC5cbDwWYTImukhtfNWYzonDUFR6No2b0ZJOG82F6mdkuIt/\r\nOcRURe6WQREI6/gI3uYFgXpE6zMAOyWljtzHNCy69UfajEP9YcpDCzgEfa+O\r\ndWNv4/SUwjomjymIQQyJyqRhSOocAAOSEeiyOXPKi/XwqAuCFY8NLAcUGZSG\r\ngMT+ERYHgXyi5gEub4shPYy7a4pLskRoVMPSC+DXhIdoS/77TOpF0UZSyK8M\r\nKZAYkQccGMNGSIzzJMwr9Ejr39xMazmLDfOmPSYDKP7yHWKmnJoMEKtw+4Gw\r\n/WGOOJWQb+N79b0oRcxube3BaobRuoRcL19kMqriA6JblVhTGBQMeC7Tiyc6\r\ny8EzOuJpc1kniUbt+M7Q7s5p5WILLNKiDqgovIG4qO0ACiM0LNJz8awfYAsI\r\nmdenv/ztIROoY3YxcogGUcJqdIhlAJ+gakaF/glsAuPUQ0YtgqSzi0uVa+8+\r\nmrNYs/KclSnqw7FeyScRHkTv+mNcVzPe12a0OXypNyKs/7w9BWRMdxwjdwwi\r\nTUqKCAQKGQ5uoUV4wsQitHSU25MgU3Ye/lUSTwXookgkka7P4aLnUDppCuOL\r\n3/u6SscpNHIG+z6zvXNCuOhqWNqqFDOTVG8=\r\n=msAX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.4ad569b","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.4ad569b","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.4ad569b_1660684535114_0.7519869199693872","host":"s3://npm-registry-packages"}},"3.0.0-next.login-design.8a19bd7":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.login-design.8a19bd7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.login-design.8a19bd7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a048e8ee14469cd9aeff391d1a7761fd0592e3f2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.login-design.8a19bd7.tgz","fileCount":18,"integrity":"sha512-AV/YMpCizkzbpJZnqLZSz+wVEBotSL22DkEc+gPDH11GPffVzd4JJq4Qag/C9FnaPDuyjJGhS6iTWzGXHD9LWA==","signatures":[{"sig":"MEQCIDm/cmMr0v5b4oe5UXWo1JRMo0ZwalDZudC76eytAD4cAiBH/uqpMZQzJRnGSq8mYBo5MnSJZv6VdrNuEzb7Hh+6Lw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":747675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBBANACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5xhAAnUlHojkFCLej+SMWlJfPtcSPVGoe5gU7E03J1PNTMGNi9bkf\r\nOoTkfxUvu1K3YDuI46/PE9RCQMFjFI2yZf4ZC4Z/xMBcncFLvhEYeP+yVY+O\r\n/fCL2RvBv0l3BKgKNCZWY/210wTfItFFlXRrBhOaL8V5cYPDoHP5Unii4Dkq\r\n5yCpAWzfYedisj7IgPxtqxoW1EXpxBRz6Y/5Jv+J34+eqVtYT+1+fOTxKmv2\r\nsd5iX9SnyJ8y4faXBvKyDBHObmO18Axz1HEbZ/rybdIXW4iwb3qa29FKdkx6\r\n/nAsr7U6msCLi7wdBuL7V107pYSkAATpV8vnWQC9kL5Bgt9IUiTtG26nGhO5\r\nh1m05WT4ARHMTu9AMWurORA59z6Ki+TONe8HXa6LhKBfaiQL5lfbozamLz+Y\r\nWMcG9x6ipDvFpvLxXxw9TR2p5DgiNIOQ+npGjNvTQKmGuvilmbvU7FJ5SIpi\r\nhTv0VJ4hAdCqOpPXHpYNG3k/vS/pEyxJxt0v3RUVqFGwfaJiVE7/bfxWL3Wj\r\nOu5RjA8NtvuuBAKR3S3+8msBYnFhVS1lAUznFtMt+t9VkKbsyw/AY53Lxfpz\r\nyywc54VFCbkHUxhBsNENdq7FDzDpgchYQNpQABPrkcanBhS1XTqlj902+IUK\r\nma/e9wQjj7H9ZvzQWLaH2VXW5zC6Ra7o8EY=\r\n=dBn8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.login-design.8a19bd7","@microsoft/mgt-msal-provider":"3.0.0-next.login-design.8a19bd7","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.login-design.8a19bd7_1661210637579_0.9508427495929568","host":"s3://npm-registry-packages"}},"3.0.0-next.login-design.c873cc8":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.login-design.c873cc8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.login-design.c873cc8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"fd1baa4c971ed2ddf88f536b347c1fc27a9bd543","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.login-design.c873cc8.tgz","fileCount":18,"integrity":"sha512-JM/67Q7MK+T3nantD9I85Br12eGERS0gaDz8waYqcKavW29vhrnOGzlAGrBAc/tFUMd1nsKHnhabL6HCOkiZUA==","signatures":[{"sig":"MEUCIQC4fQcUVARBFduZbfV1uEn3lfvP6/T9/dC5r/7CIVXN7wIgEtISxeZNT9wm1YXdENNwwrEz85HANjrd9N6GavjqX20=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":747675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBCCrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3UhAAk71dhmXdweYR/p1Hcv3loen7zN4+8SkgW7V0GdNJi2Mvq3CE\r\nLu4DIEpzlOhQCZZb5vhIiaNvEKSmOKMjQe4QlSNfhmxhDL+84O7jOzW07Epq\r\nQZAkIymSUnzq4BT/OzwEVsMEKXFJQxQLtmMRBMy+9+dbJS6fEHYifcNreW0u\r\nul1bzGZkv73HL3CMbsTGI+KWyHnlTqvRBm7A3tbFikD5vOXEWd3lwSQ71QZW\r\npiQFAYtgzO5/9O1284NlMhrtF/GQqxhPgYtJ7gHr6m3s5z219PIG83HwjLoh\r\nRcr8EVV5U7rnlLjX95HW/C3cq50mXC4vldCivUmp+b9v35cASXv1/47f/lxS\r\niXar3fmglZYjqJA3j4sacpO7LYn+lJnBcGWz6vvnr/NzH1WNyrcvwYnWScBe\r\nR+NgFvhwfUqWqHegFBJJZjpKLWa4UIHn+YGj3PDAxVJCZmtbWwJXMqmaK+Q+\r\nJqXZhIWO3eWEVny61+vDx2Mh85Lem8fzc2k3jnXG2J6E28WeXkV5qhaeTPBd\r\n4Ida/fh0Cjt/X7SDDqBzi4j8IlhURNx0TXT13EvbQsq97JICvw+ZQdK85xl9\r\nwyGjL+BfQWnKb/QFLkI+rgAx4PCrSwrAdUfraUv6NcnoiVEGpG8EOHwaJBX0\r\nl/DTW9tKEJxtknwtNLdmKmo7ooX04THk5Ks=\r\n=5roi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.login-design.c873cc8","@microsoft/mgt-msal-provider":"3.0.0-next.login-design.c873cc8","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.login-design.c873cc8_1661214890771_0.9036739289618438","host":"s3://npm-registry-packages"}},"3.0.0-next.login-design.06300ed":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.login-design.06300ed","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.login-design.06300ed","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"955f22ad377b2f45b7a0d2e1b28e78fae9fa0011","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.login-design.06300ed.tgz","fileCount":18,"integrity":"sha512-ddGlngpnyrEJmXxnNp5CANjBvges5t9LtU1eJa4vAqa+80A0rIvZ32W7QS0yMmY7A/c8vTuuUb6fl/Osn3gCfw==","signatures":[{"sig":"MEYCIQCWzUJV5iC9YyjOAhZ8/L2HYcp7Pr13fR01+XCBMq40LQIhAOV//7fv7ie9TukGLhaELC45KRNwV/cL85yvLeDg45I+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":747675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBQroACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqC2A//dUWwtG7jL2zxm8tZGqUv2wCmZw8niBqQFv//jcDdsxXNBXqX\r\nGikSqgp4ymFqlVQ/X9pU8PQzUciS/aW8ccjmT7aytpq6k3GnvsTye8IJX0nw\r\n3IcZrweMB1zF95Tb8zvG2K91RGjdJUolVIMBnE8xzQQUDR9hFKql+DNDjFCs\r\nJ8szoZG0rBB3IPnljxumkdSfGkjR5oOgTSfuCXkmcaCDyUl4AI52k9t17c46\r\ndMo9+3O4e1FtSnajOMH3GENYqL5/Kqt7X4qF8XGP8+F7wD1v3Dq2/iYLY8LD\r\nRALhIFDdmE9V+k9nlUbSZXqpZivhj9PHHmJcMY8YyQbisyMZKKORtwPxWkSL\r\nSLZpR/6i9+05+y3gquAz/uYURz0ZnUVKaJHsttfrRXkl+u8/r4nOxwWmhvke\r\nycMghjs8fJduhFsjwdRtbBq8F1gRKPmZeDroHz4riiJ9qKr4HKVJzTK1t93w\r\nvu6fLUdKG8lWJGwLerX4LCMEcfrpl7DOmdYgokZY5DYVt9XvqXnct+/vmE7I\r\nVuc3gs5jgJwySNzXablhj/GTBh4TpvG1mwQHE+4+8nwcvf2ILIICNoPKsR/B\r\nTwhog/qJt0fU0V78Hw8HGDqQKuTUoTKk7Hzx8R8Gm42eqTHuPSH7Ki6zbbxs\r\nTneP6iYCwwGp2sQTThBOmmivJrG+FyoHEMA=\r\n=D0F3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.login-design.06300ed","@microsoft/mgt-msal-provider":"3.0.0-next.login-design.06300ed","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.login-design.06300ed_1661274856704_0.7653778485625422","host":"s3://npm-registry-packages"}},"3.0.0-next.login-design.f35bb03":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.login-design.f35bb03","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.login-design.f35bb03","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cbf1c3218b2a7435a8c57a6748875dd180b2f3bb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.login-design.f35bb03.tgz","fileCount":18,"integrity":"sha512-NoiFe6bZkA9KpI/dA6h4/2JMWbvlL3dvdVk8i3WZNZIXegiOfydAMy/jcuoXxyq7Ln9QS5/xlCvgVlmtdPEs/A==","signatures":[{"sig":"MEYCIQD36u7bL2h+J7+AUjhpVmEpUb7QZ92KHiqRf8wogYuQGAIhAO9zEbY8taVGZcKA2lrtiLPvJnfz1QBwKg+/EKBu31zc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":747675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBRSkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQXw//SBvxq2Q9XwnNB/iS1ByIokWf4KXkv0YH4ps/OE5VlQjZW+fK\r\nGhI8+m5KBPjWYaO7UNUWXP/6jSiifesXj6kXz1EdNmtsYDSiwCgoedYEcybm\r\ntt/glCVdGSXpYb68w7GQMwB5STXQ86nN3fB/JBizLnMqNvah9psCwJsRxNWv\r\nnfw5sJqzO0yCMsdWhcvSUwasgQpf6lcEKw32+AQMGaPS74JN41cnJEtE4+CE\r\nsQqdpDuGg6hvrL7Vilj7cs1q+++4faQOgnoQF+q9X7MPsGUr4/vEjUukx4EL\r\n51KMcarVTPsAR2ACemR5RjnvOPjsiUtnB5skl0+/4faZJbMmMiB2Uq3p1qCS\r\n3OXepiV2uTr2ga+WEyH56CsawFeTA7kZ16UcRV/gPAKCgzbOKri/Vuu64PT9\r\nbuF63LMPKJ0rnJ4oL4SjY0gkbb5T7wzs9A52oACAjl43QrvuGU+jMWb1QSkf\r\n8+sFA8w6/wp9s4bchfE+5tU8i6kcw37WcE3CW+B18rjyVCF0OUwX+xZzM6OD\r\ngMljNb6lNBNE0a1ZkcRHS/fhzn8eTRJ8JwW3nHotzaMjQKUQgPKIZ3abIq4V\r\nNyK6RmXSMjsEIZC0PeBANuvV3Z1HqD37jpQM9EWuyVisV3MggqPBM5o9y/7+\r\nZoY/80SMJ9bph9vSJxuWUBBARsAE0o0QBt4=\r\n=I0zF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.login-design.f35bb03","@microsoft/mgt-msal-provider":"3.0.0-next.login-design.f35bb03","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.login-design.f35bb03_1661277347997_0.04874832979625188","host":"s3://npm-registry-packages"}},"2.6.1-preview.5606784":{"name":"@microsoft/mgt-teams-provider","version":"2.6.1-preview.5606784","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.1-preview.5606784","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ce04123038cccb8566bc3b13e707bc20c3e73881","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.1-preview.5606784.tgz","fileCount":18,"integrity":"sha512-CSocjxwAAvT2ys+cD2MbRIeDOxtWMERSsrsP5Fgo4FGu9tKzc6T1yCCxJkR3mLI6br4sDU/P5cA/4yaNIQ3QcQ==","signatures":[{"sig":"MEYCIQCgU+sDTgOTWozIdPzR/DBK5oXzoiSjZnz9g1hm3T9J3AIhAMFpu0Rj4rlzpQK3cAOic7XOr+P6FJJN8i7voDQOicUh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBUTyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrung/+Js5ax7l0maSu7pahaQl8Tz2zQNVd+CDeShsiXXxHba9HDBBi\r\noCDr5oI+Wi4h3hmsJWnkWh96/PdFqXVWUxJd4F26DQpvz1sR/GbYsQcFfazM\r\nWJRhZGaHbY48ylhMiHrsC3/N/pi4jYBaCc9Zw4158XFnl7R2jHRWQuhqNWRy\r\nZMC2ttfvpBtA7304C3dPlotBriwpxYZoh4JeL6baHaRY0u3wSFPrxHk/onGd\r\nxUYUSl9vrHYkoj6+E/xRa0Hw/wLdd5pG9PUcNyGjGYdGuIpoOwGJd2S5kkoS\r\nQP+e4tqwAGufAfe9l1YYaCijfnv3QzYRgx6oH6PVE34T7AWo9s2MQ8bnauUn\r\nzTAvj9V6jnFfo6u3DeEMCVYTjXWbj9bV7ObkEn3JbcFBUYCR5PDim+6yMI54\r\nD6Swun4BJxJSJZsbxseKGqHxWGxx1SmHPeZKps1Y4aTivfsqQKJlW464KkXF\r\n+g59EoHuon2h6omBm179M+M/CdvVlTJJDtuji6JatZRPnGHVz1DI9SVAGL/Q\r\nDVhi1oHmFMP41GnrpMuEJDb2FK+YRHBaVIz0zfULiqBR4FrUHDNRSHPdgIXU\r\nv5cpxK4Pt8cZd8g5MbPP0O5nT5GN7HIyD9vYhx/sbFywz4n1QespfgQQiJe/\r\nR2zDhURVKcmHh1ve+eXUuxEt06BSDRs3ZG8=\r\n=5MqI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.1-preview.5606784","@microsoft/mgt-msal-provider":"2.6.1-preview.5606784","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.1-preview.5606784_1661289713918_0.0003761012509664319","host":"s3://npm-registry-packages"}},"3.0.0-next.lit-element-update.c752368":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.lit-element-update.c752368","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.lit-element-update.c752368","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3588e78b237a659715b9b67f4960119cb31a3096","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.lit-element-update.c752368.tgz","fileCount":18,"integrity":"sha512-gZyqFcU6E333hkrugRsSQB5Q5lD+A7f/MoPqsq2YhBUN0/tKjZCL9pK1Y5rUe4pL2J4eYD025nDQXop+NtbAEw==","signatures":[{"sig":"MEUCIQCQYoiNemIgnIQ8q+brP7j6L5mMb3cqEZ+27Gt2MYZhEAIgZkjThcUcam4cQc+cvPcuIDzDzUe52x+r9ywqsoGK4tE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":752954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB5eAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0Qg/+IKfHLgOkyYRdQglAlpa3JmAPGbkrQnpUz0EB3BHAxeVMJ89v\r\nsJPa/Coo1bqtncsoJ+u96+6aeqG6ohoH18iNvmIMObXJ7QEaprlR+pjr2eQU\r\nq4VLotmrtyzyAU6yK3ruPK5hFI0h66cAEC+Eo+7AI1uCUIYT6s+kl+hEuYV3\r\n63nV7TtVpdaKji1vFy29l7sO5Sjw6N1jj7ecL/4uWNXiVjzjdbkdMQmB/xEH\r\nxRYpIy0ZQe1EPYN7L6ZMlA5J4M73icMmlQKG6tHlZyjse9iKwQe5YBOgmiZJ\r\nQ8s21pMETlDv7kMoGWi6SFUST2PLEf8dtMahMbQYij7XkN7SZx3DYyrdpqk+\r\npf0tQajyuvir6SIlbHNsWQIw5TK4uGM3z+9op7C5IzrvVlNynhw8t26fcfk6\r\n1b8XqzBYdvjV2Jc0dRadh2koMlSH4XYSMA5QvPxMrCsCti1pDt4HtExP9ZTX\r\nbT0Ifj6DWnNmkGpkfja0oei5jmELDde9x3iZ4a8sXxH0eIghmiXZq42Bv4Lf\r\nOf+HZv3crAEn5uLKPeGhA9fJqBr/iZRwU6JTaTQLGdtHHCzo0+8B9RMrUfdr\r\npShiwG81QgOEcYPPnGWbgyFZpfnp9OwvibXCuGf5whfSl0rLtkWSzjBUlTe2\r\nFLEJBuImcX0h/tdTl/IcIELkKIkV/eoiLss=\r\n=T99A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.lit-element-update.c752368","@microsoft/mgt-msal-provider":"3.0.0-next.lit-element-update.c752368","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.lit-element-update.c752368_1661441920412_0.4216202360910133","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.f074652":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.f074652","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.f074652","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f4db7ff2e3410fd0b1c1f9d8e3bafe635ca2084f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.f074652.tgz","fileCount":18,"integrity":"sha512-digOcCdavkbV1Iq56mSXYzCXWabfZ3Ie+FbaKQIZgEcuis8CJOJ8TKbppsZ3o2SojSA+XULQeFjhScwfpLrpyw==","signatures":[{"sig":"MEQCIFgoqe/S+FU3Z5QyIRSR11TPZkoVjPVrRyGjf2hiY505AiBg67Y+0z6qLZZEj682p4lHQxv4pMFU0+C1rCuGY18Wxw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":752505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB6KAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrf1A/+OVdGkisrqzryuxqzYglniA1kv6qjKPyAw/K+66CndJgwLoQ+\r\nEY6BGYdTeCy3OndzBLr8beJIIDp+7yRoq3J/cmAtX13eJKxWsedCM5JIxZ7C\r\nVIYzKpcdVmvdlnG3trzSx7hMxV7XU7FYTC+3qB2HkaQrEztiB4ozzhLPIjrv\r\n1GnBB5mG1xQFHo7bxHMPpLRtFKixIuEqEb03XNxCj1woEPu/AkyyALICjBBE\r\nBct4AO7DezxWMESmbq8A0pqUBxcjIfXaNJw2HPoIXJdYRklbUzE2GAxRnFwk\r\n8iODhqAaGSFtkZ1E4HnUilhWChwpAQAp4DvaNXRUnqHvLJMukSwjav6JoV6g\r\nPAd2EEdasL3a7Gik+mpTpKsfRa2clB5Pa1tO0VBXbwUnfz9Rmc1+sMCzMiks\r\nXB2uyYoloSM/VYVfor/EMCOh15e/ogIfsSeN8BD/4qwYbQh+UeByr9plWvFW\r\nbnNzEjBxmIacaIwOKIIpDie5wOcB5i5UJwpIWCtx+lblG9fs5uJskveFklNA\r\nPHd4qVJyQVJYaX2esZjCTQ+k+eP41nsaJaxApyAFGUEfUOgCyy6C0JhGq38+\r\ndE69i6as+JLkShAZmdy3IE5hvFi7MWaZ1BOq9+lAQv2nHzF2LWPRxBhz05ie\r\n124YFQW/0dmhR5mK3d4nVDuB0QH53i8tPa8=\r\n=hSaa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.f074652","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.f074652","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.f074652_1661444735890_0.849372067333253","host":"s3://npm-registry-packages"}},"2.6.2-preview.fbce175":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.fbce175","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.fbce175","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c0c42704d5115244975cde0fecb7d9bdbb12082a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.fbce175.tgz","fileCount":18,"integrity":"sha512-4CNSfvaIJqSBHXpyqvKdkyoim/Q06OQeSeJWkuzvDokMYORU9FS9iSsLBMbel16GJTNYmGtX9SZR/XSDRSv28g==","signatures":[{"sig":"MEQCIH0cJOsHYxuvOCPe0CJpme3Ronmh0ld3+Pc9YgzgXOwrAiBCFny7OYuhFLj2u7lmoEguFttkRtuhjQowSmBGu0lOaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB7MgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQFw//aro2sLx8AHoZdjUfQRG8/uPrUC5T9jXx9BLEBYUd2rePR6WP\r\n3dpyofEYE5rLlC9DarNNlw0IrKbV9P0Nv9tK4P+O9HV9/wAsVFS0CKAaLPOE\r\nullRdIrOX8LUpSkPfcOZa9jwMgg8j8ADTKoUwxFPwnJhTqU5kGaOCuBOtuUT\r\nuFtC+wz2xFv0HikUav301nLv5CRdCSzvikQJV/1DsxRNC/MvOGIDxq+OLXom\r\n5r1oHSrXCYOwAE4bZOd/ft8tB0O7f1QaL0jxrdQ2a1LH9yZSjyeZZc3rvbKt\r\nIIy38D6mIanCAbzFQmhw2+epa7A99n1TjafCPPvXye1QXtnXDNdSsnK7tU50\r\ndTn8R5OAFaW/8CKW5i20q83D8TsB95lGunbjafcaARkFjGb2tz60drus7csr\r\nrVL5mYQaQtCvw7d83Ho/XN1hByi77o8UxG8H1ufyVbMh9acLkZOVm/d+1s0i\r\nANdha2PCRD6e64oNFWBP9L6aAKbk2mE7cECEP/nLZDPxPU/5Qmfnuj9I7Zhv\r\nduygbjxj2tuUG1P5G9CQgkniG476tHnqVfUESllzOsRVi1TVlUnXq/18hLmv\r\nfsudsVakS/2s90KnY446+QB7wZwwjDSzD9ZNuUvURBHbds2LFYHcuWQHB4Nv\r\n27BvNH3z0AoCj74ipbOef1KEpPN3eGgL8ag=\r\n=k0Gn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.fbce175","@microsoft/mgt-msal-provider":"2.6.2-preview.fbce175","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.fbce175_1661448991821_0.25991816893687747","host":"s3://npm-registry-packages"}},"2.6.1":{"name":"@microsoft/mgt-teams-provider","version":"2.6.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a4839812a808882c483fca210d14a91d6d816fa7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.1.tgz","fileCount":18,"integrity":"sha512-zYFEZDj6ySoh7VaWf2rYv76ui88bU0t1ef25ZlVA+efBROs1QCv9Z47A82myDxfVsxDhqkov1Rk+kCtPz4bcwA==","signatures":[{"sig":"MEYCIQDrjQhLlOFKKJerakShQEonkPEAUUBkVHztjK4H5auoNQIhAK7yY0TqvaDW3Vnu4W9SLSXN/4ViZCL0o8vgVno/ueVT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":753337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB7NGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqr7Q/8DjK6YjBXPBTeEXuG71ESiVlxFstLDaQcfg5IIIau7/uoT65d\r\njJTRf3Axw1hToqjEA24vnzOoYxBwIaPyZEtE136mSsB3xYfjp1TVTAt2w1Cy\r\nNDOtnPQu3gV2RlbFe1KZMOHHrpHKvBFt1UhiPOVDtkwhlfw+rOpbwRe7viqG\r\nCQXwGVFTSksRrr8keF7UIcFsSPkKZbbpjQ5YHfGvgiz/tqUg7o0iJ5UKS3YD\r\nNTkCHsVJienUkRpzT7eD+XwyiWkyq9zVCwianJ/TaEM+hki7o2iCbw1KRIS+\r\n0i8/O0vIWMYleSfp2nRgM1FBeuqKe0gM9ufTlt2hoJuZXVC2yUy7l88YYX3s\r\nwzj7zv7V6AVbtLq85WD4fRsaTKw/5aemyaE9Umz3f1F6n+twTpwj/MXELV1I\r\n5JC9j/S5fRKDO/mmlsCPGoD58kyeHXZsSnx7iHobN0cDOYmaT+KVmCka6Mq3\r\nQjDQadh/E3Wo597/lRszdv4pBdDl+E7/mPdH9eUh+aJKt2DaYqgv46Pjm8vc\r\nbWr+xIBntOPwMUuSwtL3fNMjcN1xSrObimyv2Vf2hIPLR2tJQyR0XxvwrST2\r\nHMqJlbNuZoPWkiEPQuj0UL/QGqz9FcaY/TbK4mSmg6pTIHaBdwl40S79B1Bo\r\nSNx06rdgDpUcf+8ZF7z/T0G4nBqHNz8VpFA=\r\n=zfS6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.1","@microsoft/mgt-msal-provider":"2.6.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.1_1661449030059_0.8389459840268014","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.069309d":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.069309d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.069309d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"76faab42bc9ca9916e5ed20d9a27ee2f2e322b1c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.069309d.tgz","fileCount":18,"integrity":"sha512-/U7PhtwTVJDeCmRKXGw05kIGu75lRZwBizsinElbqBZy6L/7jgBQyJF7C28vrB4w20ZVma9yQzw6r+ZCZqEPzg==","signatures":[{"sig":"MEYCIQDbtV1l3VqM74SzeJynjeaAHhpitMk99tKDF8x62GUONQIhAKSLqDvc079IFF22zD8cdWyTX2eeBL7u2CGFjeiBPunF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":752505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDLilACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQRhAAoUJB/1NUpt4He3+IWowhZZKuPZ+Acie27jUjV+L5vTe+gWJk\r\nEIS1pWvQMoHcFlZyfE0OHpfj7cynGHtl1UMHdf9Nur3JFqUgWirQnpJKjOGO\r\nQwQag+yo8hGQw5WCGn1tVNpTUB3uB1XmVe5Tbh7qFQ7xWvTy5IAt4PEW4g2s\r\nOAosGn1ZwBI1aMGIJFFfAVYMwxQiKWMXaA6tG9S8QzgRx3Cz0/m8E8UetSGj\r\ny6SQ42hbbjGh0PU4ow612Gua0s3RtAub/OExfvZjAvCg72s3i4t+vxr1YAU3\r\nKRmqXjZ/vu1Q2BOmI6bveXWSWQGBlIC9nLhDAiJTBz6Iey+vUz5DpagnDr/4\r\n9MQ2dBC/4mnyvytEx+066UpLkS8f5DzkPbqCplf/Ya7qAW+TJXWONVtETocD\r\nQ+Jf8apuQagGTxHULFPz7Keit4GSudoMKglvwm9fkVdNQcUW56HPsiKs+zSZ\r\nEJWEPSrDw+g4K8om9uVZARMMMDMI/EglQ/FMAoDEPJ+IaCQZSCQQeBG6GSJO\r\nY8L1uJum2Q5moVysYsCu3R1Sr919mmAfVItoy0On3vNIlVP/Ake6xzUqZuuE\r\nrxQ/fXOuRKJnJSYedGCsvpZlB29WyaNbV2iLV5ZqVqLb6/q94RJ7H/Aqg9Pz\r\nI/ckspPaSSC77oE0bTqBBdMOpmfvbyUkXuI=\r\n=79Eg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.069309d","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.069309d","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.069309d_1661778085485_0.019949656842899177","host":"s3://npm-registry-packages"}},"3.0.0-next.login-design.17a198b":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.login-design.17a198b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.login-design.17a198b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0cde2be48c8a60644190991749267173679723a5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.login-design.17a198b.tgz","fileCount":18,"integrity":"sha512-q2P/7iBpEr2recc4fZZaEotmkOwqHZnsysc3L2CsPMTOWJIowzcuAR+cMn9qPqpI7TrU5BgvjfI/EsufEBniRQ==","signatures":[{"sig":"MEUCICkcenzUpqSfXwm2h4WtkSpUFaQnK+9rMrqolnPWko27AiEAhjSd5Bk+0onaj5yuyYSjT3Wcx2D0SJeJ/WOQPH/iES8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":752517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDP36ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoa/xAAlrBgh4O4eW8U8E0KnW7ORmiPXj7fz+6U1BlLjsv9clN/9b/Y\r\nrsx85Dm90Yw+olnz1b0eECo9XY0e+suL0E/l6l5BO03duQSgoQ8fWO2kSM/Q\r\nxt4T3Pz0wl+XU3vjSln+sdZNopGnrvMOIMt+azqoGI5tUS2BOGaGncpN7KlH\r\nKFCwYYStThioKnsArX9afVxk8Q5zfnqIHhGSnoQUKLG5pqxIcoPHFgb2F298\r\nYLM74ePXqx3nhiUWvtizXJXGqFDkhNq2VBr0GtqqqzisZhs39zudWdVjLuAA\r\nKEi8O1wgu6JJgkDqQ/MFHkLa9uA0xv1qz+he6O3j86bjDpA5dy6kli4dVRAd\r\nMUG5WuCSn5JRwvaxz0qMJnfW8SnM9vNm6fseohHGXnHFI3ML08TIuHiFB1XA\r\nnaqI7SlLf8sYQrEWVGvEWI0MdXy7wThNqqsaKZs1QLqHYmo4uSSUULnw+Nqq\r\nOK7qcyZ9BnVivVj4drHhHOwly+SNCr/cdqjrPhgQQSf4PK5nTO3xNnD/FetZ\r\nc0/CMZrHI+g/MK0/vpFTcSzhYythjWE0XZCGbWYYOrEcjBlNIRynSoDct24m\r\nAbS+XNr4rp1HV8wVf+2RCgtIVssr4NTs70/RIZD0/e9qI6pE23lhXCpAo5BJ\r\nBFj0Pb1eIeOiraOmNbIc/nqjl3MU5ygrFZw=\r\n=HL3Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.login-design.17a198b","@microsoft/mgt-msal-provider":"3.0.0-next.login-design.17a198b","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.login-design.17a198b_1661795834297_0.8722075956174118","host":"s3://npm-registry-packages"}},"3.0.0-next.lit-element-update.b2049e0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.lit-element-update.b2049e0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.lit-element-update.b2049e0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4629cb6347485be4bbff00cc843b384999a0a526","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.lit-element-update.b2049e0.tgz","fileCount":18,"integrity":"sha512-wkevmywKrwH9tw9SLh0Ntf4ADUmSQJgxW9vH+nk7d4CK1uaVRlUhma12Ytq5+Rb32ZTNzuj2vd8PFNiX8GiZpQ==","signatures":[{"sig":"MEQCICvYlyxV65mJFhr7PYn/kaGUsRUcrtFO/deEmgqZAzlZAiBjiDh0ztHskvRtyV6EF0aELvhR7hWqRuSRR3Bn8Oob+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":752954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDUIQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqhZw//QxjaiSU0DDB5Fy5oKBWE64d/H0uM9O6P7VnZSfBPOKkvKEJ9\r\naWtsjcHQ5GjsQYODjm/sqnBUVoBvXCON6dZnaqMVEyj1B+cmP4r5Nb3TplKW\r\nPm8Qonfpsk3/Zvn3kOkEaRR2nYbUWPdcFgxl3KLPiYEawOqxP7eTLnmrS2zY\r\n3mH/0pjxthszgVEd0yhrLOh/AMYF73gD8S5U2gKQGC54wIhNMk45DlmOLqJl\r\n9JMugK5jncpSZkYdqtpp0EuThO7QWw1+8P/ujMyJiRj2FxhqRGnr1/wqNgKv\r\nH2FDnAr0Tl5kM+WR7uwlY+bCkt4uQSvYiVGsG7+FovErPB80ffMt/UFrQLOs\r\n7ffIGjDs1XuuGs3wNBIcnqX8hVNh4EmwgTQHkCjx7JGCpgmuPsMZgJdBvRDB\r\nhCeKnhQP/fmvmX/NCz/a5zCZ0KhWHVXZRfehntMHPDfO8L4A2aQl9MHY4N83\r\nPh0f0cilv2Voow+mP0Czf0F+I8kDPhPWKERDmKnKioDKlxiRGWAkINWeEGcb\r\nvWbqlKf+6LoJL1OrefkgACqdO0FgvEKA/YRoh8UQ3B/2teNHRHPgCZNpdY2J\r\nIQYRnzkcZ1II/bp6eK5K3xpsw0C6AiEb3nMivNQo19c6Bj2jo+4xsaatse5q\r\nz+WVABFVyMpK/e065ws20uxXjRNpnWEGNG8=\r\n=5zLm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.lit-element-update.b2049e0","@microsoft/mgt-msal-provider":"3.0.0-next.lit-element-update.b2049e0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.lit-element-update.b2049e0_1661813263862_0.6812567471570261","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.710d6b9":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.710d6b9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.710d6b9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6e6284df4f66c367c9da7696694f4e71331e2977","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.710d6b9.tgz","fileCount":18,"integrity":"sha512-LYb//8u6NoIpS0T7/819D3SElCCdacUlW5ttOz/CORDGPy34vWEkbPZ5MkYVMxgOHBhmpjod/WL6DkZ4hbo5zQ==","signatures":[{"sig":"MEUCIQDXHU7P/furPdFSqn3AljyPOkKqdr+Y4YsMG+OQvj08JAIgU3YFk2QoX0XNoCbKoJ3WvkjNW06G0G3Oy1OVe8LKBqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":754392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEdqrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcOA//fsxDtuDyPmiIV4PFGfwyQwRZDi7Y4e7DlEkwKKLanRHM4hNT\r\nXCRCBrBmDPmC/9r6G7eoyPI5dGklBF6Uy+L7V5V7DfNED+ut0iCyjBogMh8u\r\n07/fTmEsQRJhyeUV1zQGV9erPabpCj7iXM7ngLWwi48GJhsqx49U/YQ5j1/k\r\nzxzgnxCIM+zJzSOYvY8uqq89oU9ilcC1CPBn6KWe42qS68nCPx4b9rbySX26\r\nZ/O0O2TnKM4ohhhRdT6FoM4Vgs0iQGkCQyLBErKThGGediBgo8Aqaj9f8DyN\r\nps7rr/DLInl9lnfT+PDSqleetyxfKgGcsScOMXqitBZz9m7jzkqqNrttnawN\r\ny2gIFsqk/A4RM61ZzeCY0HTrAMQbyyo0M4ndMX5EMz9kgIOe3waz6ffAiM6E\r\n5ld5+EdoBr52u+vSwd1XQX4JaYFCfaevfFzivl579WWffVTAIf3SpA7Msm8g\r\nBV29uhColqmNMrYnyXBIovXu3c3vDa0yVsEgt8eTmyJkuifurqzUs6Tcli47\r\nU2km7a1cCDlWfDCHPw2xoPk2/rzmloEFjOpAnU0WU/O6TQYchFx67wK7p+Ww\r\nIQ4jGmO+JMeOpXrSiJ7fBp+eCJhln10YqVawwu+VFpJsFXp5lHBFS8qLc0RT\r\nWUVxE5ctRWG6TEE4eYKvRUam/djVV28Wy2c=\r\n=HENU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.710d6b9","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.710d6b9","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.710d6b9_1662114475245_0.719726600322419","host":"s3://npm-registry-packages"}},"3.0.0-next.lit-element-update.9f5ae34":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.lit-element-update.9f5ae34","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.lit-element-update.9f5ae34","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"aa1b80b15c8e90f1f5a45c900ab8e1c3bd6728d5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.lit-element-update.9f5ae34.tgz","fileCount":18,"integrity":"sha512-N36zYDJo45YpJrtg4+DSJy4B1n7aVep5DoovXFkc5wqpWuT2wkBMrGWaKzNbtW1t+4G+BaTAFUscPXKUiLpUlA==","signatures":[{"sig":"MEQCIHQc60YZMH8U3epLp6kECE6t6ozWFda5JYu/0P37XnfJAiAQmKnPYjYVlM5fbiW40/p+1gj8ptgvCpZ6Tzrvll4OQQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":754841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEdxdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpm2A//QpMawg2QtzEvYT9+E6FP6s2NxmsgR6wzJTgwW41+ZjSr6Uio\r\nwDnuWouI6sKY3HQbEQ8l9XSa11My6vkVsPyZD4iROR1s85YEKH5Q7ZPmwt+y\r\nFlDtOB3v8GATOHHy5DPZRXmxAaH/+Sy7g4lJRmjQXN5G44tuRS+SI/65WpVb\r\ni5NJn0OCAyIb8n1eNPCdUYpemeUgZx1frlkg2jbbU3Y0kHIRwLH5Rxy41Epf\r\n90/bzwMbsV24GktW3mZTFqGFLTwaXk0TiJ3yqw7prbwHg+GTZTz0nE3y4Nu0\r\n7+k40pdymptQr26m8HHGqWKL3dP9Bdz5VipYtaRSKhaX6By9dRx7D8TCw+sP\r\ns6N/G9d42vL0kRkYpP9A8UJOgYdwf3BrSVDHk781POYnbJpZDUBobruKkHCD\r\nVFznhNYIp+7+FpgPE6FA87X6vOrUkqt6mJ7l7E1kYpl3XCYlNmdg2SGW+ao4\r\nOWqcDn6WVGkDFrjw+MkmkPTdDTTeKu+hYpbtcAnn2cTpAd1S+Ol1npMkC8VW\r\ninn+bqQKLNqYQNAbZiu9U9Z3m1U9ABH7CJZlWyKFOUPHB1Dfync+wSWi2qDx\r\nqP37fwPUY74IYnIMWZxb41RR+bJIFh4y78syGhu4cG5TImi4DuLA4moH2io9\r\n7oPhW7X45cRKsD9YUGKSpBqpwVvQxz4SYoc=\r\n=ZKg1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.lit-element-update.9f5ae34","@microsoft/mgt-msal-provider":"3.0.0-next.lit-element-update.9f5ae34","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.lit-element-update.9f5ae34_1662114909171_0.46233787708945373","host":"s3://npm-registry-packages"}},"3.0.0-next.lit-element-update.dbb1f26":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.lit-element-update.dbb1f26","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.lit-element-update.dbb1f26","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a9f6216b3de2dd6ee17b1bc1a0aa6c6561587fcd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.lit-element-update.dbb1f26.tgz","fileCount":18,"integrity":"sha512-+FAJHy4hrc6a8ncD9CNo0SHxRFzyUzdA8e6VPUr/64zy/63L1OOcNQqgf1GyPEnPrAe2haI2eYDJ8zLNMDVpVg==","signatures":[{"sig":"MEUCIETRrMFS7uE1VWnQCwQSjxMwHFEIuDzSrMGZvc1fbA4OAiEAuVjInJh8pswAncwQA/Nr5zwvyt/G5SaQx/quYyQ9aBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":754841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEd4pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqi1Q/+JW1+XMtQ1m+XBtHWvvoJgJpLvjkCqfhE8kaLhqcIpQxxkRf5\r\nIMvrHZQs8AJ7UJxypVWHvl8neOhhdU0+IO2n3eJvXHNCaebzUMF6n1nizxLR\r\n+w7t2UCh5eHnctgCUxdqwZO6h92MSE5xa30bPPZUjmksdrqTyJbRqq1DTLZ7\r\n4V34NXo93bIsTqob5KZ5dqw0jim0rEJsVtRDV4o648os78tbTukbGwSxF/Se\r\nY8ygNUw3B5YLCizQvKzV6J+Y6youa3m4jq8QP+rYBmFAetyvWLWzuCXuGf83\r\nl5k7k/4GiFvwyBB77LoUzKbVE+7rRtJEkjFLt9gd+1t9WIkhvQzaXCFHEY2e\r\nMma7dmznlctcyTnPFONYhom3zTPE7JieYrpup46X7BlBNy6Z0BrbwqOsGY4a\r\nl3l6s4WyoJ759hx952pqYtgDtb5SdLN0cKVW8KNrYGc0aXDVjDKVowSwVftM\r\nrAXchJsBKajLM+PJlAud8z+BDVenAAGTn4kPz3WzoEOmdI/6B1d26tTLJrBB\r\n2UxE7lnjtgDZZiWylUttqQHnOijJvXjzFAUFr5UYiax3lgUDGMtctNlhxVQ7\r\nELBLUzB2GTyhnJMaCRJYOXpbKRt8AzbEu84WFdcxAagloOKwtDzwcPRQHA/C\r\nC81N/oJkDjACoot2urY3lwAF5tbhklyqhz8=\r\n=2LTf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.lit-element-update.dbb1f26","@microsoft/mgt-msal-provider":"3.0.0-next.lit-element-update.dbb1f26","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.lit-element-update.dbb1f26_1662115369072_0.6290637191537058","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.7c782ff":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.7c782ff","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.7c782ff","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"79d286cb4c855afa548b77f898eaa359ced59ce8","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.7c782ff.tgz","fileCount":18,"integrity":"sha512-m6hYD7/k+zOcfS87IjM0ao5cfJR2qUrmjNAdluCyOUCp6Mn6rD+Hv5lzxUzysshme+XxSdiYG5ajmOCubOtFSQ==","signatures":[{"sig":"MEYCIQD79zF5i6ffNCYfnJohCSOuUbz07Rz8s4jQnUKIyZ/ngAIhAOSHat7vJof0+T0afWy/xYpTGeTHuosTTfbB8VYHm19x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":754392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEd40ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5KA/+Mbfaf6vRezigrguYY7OeCIYRyOIl4k34lQEM93gpwK/tYFFo\r\nywrGPBmDbGW9SUG4NS6jTE02h8yZOY/EhmrvUvqqZxckKM4dYIQxNbq+m+GV\r\n9Ff/57NT0iT+hOStZyTmBFUSkXQOLApctt1xdW6kL+LI8VYfKew0XRXjEyBt\r\nTaJNB+3MJgBDBHPHM8kia8mVSQ4c3oOPX7HsvPOdJqwGJ+KSl/NBMWIJMDgc\r\n6ptzF9xNmXNXqtT7q9YnKPJ8JukdZV8tYtZjgK8SZ1gxv3X+Ngt0Jinsk0iF\r\nLpGjJw2skgrzkUGNbKA9/cf+EPNknFYGk/XhILDi5Qb0ToaY3x0iQESgpFjH\r\n3wQnXoFEdpUO9MWAJ8NzaTdMJ9gkDiHVEtfm6M+dkQ75Dk/JGVqBcAPb0YRm\r\n21fXONYwuWoPtppxacY3BHi6hyFKHIQNPsQ949fLrQ5YOqD1O5DrOIJ6oJOt\r\nOO2w/KV6hQ+NbecFZBaOk7sXZgpfZzUMv5c/fbukrlpGT4q2IXS8SCLHYFyd\r\n+Hu3+ern8Him+L+ibUcYTx4M2SBdvzN5y2U+IxmbkMlKUnVylxXiY8xQ9ydZ\r\nvSZYWt4rbLAPoS7iBvYeFaLfjlUdCjwl+rWezxDDS//9nx5lLPUbfy+zXthB\r\nf6wuVY9nKtFFI27keH4JYnkAFWMvOCn9QsY=\r\n=iaCh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.7c782ff","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.7c782ff","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.7c782ff_1662115380069_0.7243600934701846","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.8c99782":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.8c99782","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.8c99782","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0cb396239438d85ef8f6d3e56256415d4b53b46b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.8c99782.tgz","fileCount":18,"integrity":"sha512-/6tOCEZCKO5nFYbO9bNGg/7endseET/Q6MP7O4zieSbRxxlpHYpQ+XzIf4eZ8kLqqD2uv4P6E4XkH4ohAU8S8Q==","signatures":[{"sig":"MEYCIQCpriH16WDoICR4IF9AO/6FwY+CVm7Eh2FQXoxT3KuVuQIhAMBIxlilBc+rc00SQJlkHKl+wP0iePedkAxeOQReMrgK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":754392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEd5SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJpRAAk+S/0tpYVfr9z0XjA/SK+ULUGlQBr9V0TZx8bTYd0qLGIqc+\r\nBTNSfRbk+5LhA5y0V95KwVTLm/P3fAvlvfkEunWfEQTE5ZcuDV6/E8dGlFyF\r\ncybuJ8KRXvOOKh8v1997fKcy5EIInLuP7BUU4GPB6uzE0T15/rqTsrV9fjcU\r\nDtbp0PCbAfcV95Qmy3lE+BM3xC1Yi3Me03WO/XyigCzyOBSEma178qoiChNq\r\nXa4q8pWLIkTPc9g/5Tp3M250DqH8x1lwMmFj9GY3O91yjjkCbbv5axB4DEOp\r\nGtzKpEilhZPocSl+4gXOu6eMQkYgSmrzscODfwNNSZFYv/q+/WtxQ9ksuRei\r\nWmsTr8voEgcfzjoA0gCduu2gqlvvVNVaIUqWWkCVbrMLNg/k+gASfXLGan0d\r\nty8ImE2WKg57yu0B6QPMe+wkzxsibet1lof6y8xAaJR31CKeil48hV7EY2qe\r\nUtOYofiaPCMMfa3Wys4csu1rIdFMUIyEld5A4gYaoDhZmKD2rltMpuvrGU8r\r\nJH4fWxES5T9H3sq1Erpm/uAH6t++oK8B+FiWMfMLO8R8TMgJL9anMFxnCbRg\r\neM8wXA47vgBidSeKZIDLi51Lm5ZPW8EOgub+kbBq9eSsH8bc2eg1ZFLkTuHI\r\nARrNK2SfUOW/3oj4+kxrT2YYOylskIQB+bU=\r\n=QlRM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.8c99782","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.8c99782","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.8c99782_1662115410243_0.9318767254337785","host":"s3://npm-registry-packages"}},"2.6.2-preview.84d32e7":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.84d32e7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.84d32e7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9c116972f0030715b42fa36adb54dc5460f00a85","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.84d32e7.tgz","fileCount":18,"integrity":"sha512-5EqgwFllaQRGcaWlfMqJ29YSTRZQ7U+GKOZbQQZZ8WnSp04cp3lzD9+HE+tHZyco+xpJ5FJJUh4Mpu/Vgq9WeA==","signatures":[{"sig":"MEQCIHjwepnCiLLQcT4l2HaiJAkQBBYFXk1iz30PzbY1/sYmAiB2VWzlOwu42vgC2Btti8BrAYvHD4k42tXw8G6mVjIw8A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEehQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGvQ/+LLe1LG16dl7dWVlnvBRZOFQtPwFBIayCA/PwLH4crAfEMYig\r\newH9EmFE+b8JsX3tlS3nAtbTozcKp1oTg3xemG2VZYgUdoyJyEz7v5yZ3njr\r\n164KcAbSQ+ZHhaM4JHKbvckNQUPNtGvKGcnSs6tcvp+hmIRhvRdues1mjGvY\r\n4FG3q1Fd24I39cG9fy26mejzeoQ6FbOSP3kfTJZTkzRl54DWN3zBUWOlzMpV\r\nGGwKNsZ+UBUXTMKuXvcniCB7VqSIjHE+yxYRtKGdLyDiZ46facJ1VgmFhd2/\r\nDasHKCJeK68HZUW+7kFqd+Dqy+SFJm3MCCtXYuVRx8U45HRghcIoOfV9cnX1\r\ncKghs+6gLvodqY8hCXHy+HoS5QpVAXjDWUCY7EYn2+STwpzlVeu3w4Ee7pre\r\nee0hoTe7w+4mvQ62fYHiAiASyyH+UoOnX8kwztxsR+MpzlEStIILwIAx3Rrb\r\njBDsPA69460QBjhp3fgVQG+7LG3ctd01c9tOMrCquL2Q5fjCQeO7e1VLsZRK\r\nxxMVpaH5WrL9lUGkPWCrnvS+terfbAWlJfjAIJHZ/+eJVHr3lNbjA+OzHoul\r\nrS8VpwwoI6HSQ8o8fRruYyp/NafSQGuaj0ersPBmQpPOMvpWRqokOHPVcB/D\r\nTESwUQ5tWgElT/otik2QueiGvzgMMPX7QRU=\r\n=CtLP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.84d32e7","@microsoft/mgt-msal-provider":"2.6.2-preview.84d32e7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.84d32e7_1662117968150_0.2620077167797905","host":"s3://npm-registry-packages"}},"2.6.2-preview.7e6e7b1":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.7e6e7b1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.7e6e7b1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"39daddc0ad65efe3f543ab8bb1abe81e5247c30f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.7e6e7b1.tgz","fileCount":18,"integrity":"sha512-tA7PUNZGdbQaf3U0UbQ88exypXYHUp7AMp1W/S3KFACTz1LH6z7MJ9UI0IPysz3Dn7oFXxsg24HInH4984+t/A==","signatures":[{"sig":"MEQCIGYJBkoA3DTjdJaDmqqvPlQhxwFUl7AK7mf0kfRSQtdtAiAzImYIDPMslFRDB94/6W5FMvso5jt3ncCiKTk6P49HOQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEfCqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpM6w/+PcsoJ9n88UivXYSFYpGix+tu99l0hVMQ+5CJyFPOOsLp4L1R\r\nN+sfLvIfckgMc+cckz6fLRhwknlF0utpsteickGl91SZ6AfaCF3gbS/X6rlK\r\nh6tEAIhlmEk7mkkilK3zMXTdpHeNV0kmrWlZSwgnjmu1Jcileshv2JmPjiXm\r\nKhqOX6vVZjV6wn7hjwoMYTPuO/LjWu7lvp4DDqT0lbsOhI1qMS9418DkNlFj\r\nEIvCiexcx2oTiP7nABeOeiEg1IfIcZwmnEgWuh11OEvG+/RxBqXpLGYDohJ4\r\nFgEcMn0KfQI3V7J99oWWNMHPtruuwxogmwnXbN6K5Wm9tOXEOtoR0IwPO3H9\r\nedSdVIO3T7hOtclBovXIgf5Jx7LnCXEDA1fylON/PMbzJDU7Z5RKmWcBuxsx\r\nIV73vZ4mgf9pzlAAG6tACZVtR6HhBaJGwtPRE2gFinOcV5gQNIeE4RPLZ7FF\r\nEWcrs0i6Z/uSEZcKDAcYw5+pSFoXAT7Vhk14BxDiKCqGFKHq1zFV5zJYOhCI\r\nYvo8GjFFpgUdz9EQtuC4BWfVUVQe7N0CzA/WtTb5ss/nIKEHcfeCpS7ybeG4\r\nCZjqbD4kc0+voFqHl4NFmOb9nz/bECacBs3Aq5Gt9AEYd8DV6IGkpAetoj9e\r\n3XxFVAatws5pDloEI4xt5BP5tJIbhdpKgDc=\r\n=VHZm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.7e6e7b1","@microsoft/mgt-msal-provider":"2.6.2-preview.7e6e7b1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.7e6e7b1_1662120106271_0.8694172656782049","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.3bf6159":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.3bf6159","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.3bf6159","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"65d7fb606dad7e10aa2f7034b861b0ce04c403d4","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.3bf6159.tgz","fileCount":18,"integrity":"sha512-8Z47SfxW/zglcQmJIF9GmkkRnB2EpgmxIxU0PPOKDoR+Udh8gKGJxffj27QRzwuqSxNkATXRilk8Et1rsKiNdg==","signatures":[{"sig":"MEYCIQDs92jl0WDTLyH00ubvksfit2OpIoRioHXDbRajEFJq3wIhAM6pldm+RYAArYE7yW0vMUD3npYJHjHLN85DNT1IwbaT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":754811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEjiOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqrIA//c7q/GiAiBgLOUDWMcttQ5pt3mXzsipsT2t4qtWfBzxHHYi7S\r\nTJeRcVbfj5JpVFVChsgGtzkc+k70VCuaKK5/NDCn+o4+wAIXLidexFsrIjSx\r\nBwGWIA9DyJ7mxMmQdzFZ+/FPn9xKkBzwopGHAWC4e9h2uVRQ18X0X/n3lkue\r\nCfdYSK2qrgeauGv725E7pQ2AD0OcWeUjj85Fqz3FZogQrV5u4AmFqo7jAKph\r\nDOHTtz0BUQooFQvGrgzvExmqxN35Q4xBVQZdMkJxhkkshZFi8dc7inHPxwDi\r\nQUxgdh9nBhcOJDGopDQVS83PW9TzKXeq85CD53W37u0MduJvtgwr8S1yV5VU\r\nqkDGsI/KuZGRSVch4owK7bGJjp8cF1NilpdlhpaM2e89aysBhHstUNbJUex8\r\nGxtA70XaMnSUh5VT9hC+IGQy5AC4nsCs0eEqXFG6LGsihlfZ8mOpJvE5Vz+i\r\ni6hgd9sR1tAW8ckLegEvm8J8RAmQo/L8qhbih/c7v/ELViBu+iMUiuk4DwOC\r\nRmy+U8FEXHd8wL2bAdK+5RDFACxYC11TPBx3niLOKPAc//gs2u6xF2KGsXt8\r\nam0HLZUJUw2RKLVqm0BH3j1NPVeJhmaE2BKes5CW4hza9qt41hPVuN/gUH1/\r\nOuh9ngafwp9m/wCmC/7SPL1Ev1lOD/pKcLI=\r\n=FMjs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.3bf6159","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.3bf6159","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.3bf6159_1662138510150_0.42492236142930384","host":"s3://npm-registry-packages"}},"2.6.2-preview.652a6cc":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.652a6cc","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.652a6cc","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c2699910c5ba0f48f5116b418d6cc68c55248796","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.652a6cc.tgz","fileCount":18,"integrity":"sha512-F1kMINy9oWB4RMvVsfpxrYJJYvhgiqRQY9FZOkoE5WsbyhqBHpHTkwwIw6Oedztm78j3BE2rEhbrhV30dpE1PQ==","signatures":[{"sig":"MEUCIQCDO1nVgNeBb28oKfUX/qBkI8AzuZpuEzI1MaNK2CzrAAIgE2NvrJR+ltJ5E6kwC+nJpmVUIGaFH1MGGrmMQqGPFg0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGIy6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOFQ/+L4lxadWvmMizaTXDK6zoMo46InZUeswNMot8DlZ3j1VEdI4f\r\nchm5n5w6P8YrtYLB8az00G0tHBaQobk/9IRPpgSlp4d/rzN9Btr6H4SRs/sR\r\nJeCtQ5J3YJpFFtoaIrvEDnGR4lSQBTcssl+sPOP2LRHqWPpZdHP/th/jFce4\r\n8Zdfrq7tojdDS3hr7ieU8KYrxDc8zPnXFxryTT/vJqWy8ecOtgf3Y/TZ/g5R\r\nAo35U9KPu8EYHO0e2UoCOGGIe5iaJNuShppjaUCO64t25BwLKFc4qLgIQYS6\r\n6YIhFhWMYsiSZleHjOzPRfL4Mj5DPXBll72oZFdYBhXQ5G7fi8umEFxNASFe\r\nyfyS8hit3YNeeObRW6R/mqOP8UPM0flfJOSC3DTF1CVaqvNP4oNeBsIVdufY\r\nLIWFh25D1mMlVBZh/rZsBUlt+yM1Rtddxx/MW15Dai6XGtlOVuCRjx9vkhVD\r\n6ITQfEPdr0iIBdydcih8C967g2fJYwMZKGRq0EyzT0RIC97lIJ1DZ9WyUVsc\r\nO66hAF4FJtEEjgc0v5loEZ7gnpFSw1PVVbGKH0G1njOesRc6PflmegXWGrKJ\r\n9DTKmcNLtAWCIcMyZG8QcnXh2UJnfL3d/66BiboSkr1XL+VhleNCQFtES6/S\r\nULSl/tuBjoUqjpDCiCgxjkwvNNakxVZimaE=\r\n=Cubv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.652a6cc","@microsoft/mgt-msal-provider":"2.6.2-preview.652a6cc","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.652a6cc_1662553274617_0.6690840122089148","host":"s3://npm-registry-packages"}},"2.6.2-preview.6dca0ba":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.6dca0ba","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.6dca0ba","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1dca5eadd01528b2ed543a8cea915d0e9ac0d511","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.6dca0ba.tgz","fileCount":18,"integrity":"sha512-syjHaoKDRTjoia/Czx4sLvingvcUs9phh61XwwXVVuw2jFBXgm9/GNC1sem6z1QUdM84bR064vW9gDCBH2S/XQ==","signatures":[{"sig":"MEYCIQCtH7pgfjVeWuJbCFOk0VWLC5qwvXwt2zo9V5cDvWp3LwIhAN3fx6w7gkTXQclXvpGKnt0fV0Vmn7M8AYmdEHh4j4w2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGcubACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpuug//bHRZU3t6CPdokVJdTUYvjLqlCIjqfcm0KCav4Phz21sC3XqE\r\nmoHENYfVyWKnBXUbFKyFbHEWTbTVHw1OkhEmDLZCCVHMAfj6ZCcQ6NR/Ycr+\r\n+KmfkiVDFgu2DBJpCWZx7aeuHFRGywtkWvlU4eWPNQ3NqjwTW5M/CZoS/G0D\r\n8S6VC8wCRWK6zvJkk9rLN6tppR9WFFxoLArIT9bX9W399CgaYte9540kgizq\r\nqQvnqyT082bw4jy18e3K7gOYNOl8BQJNbZ8Fddq20OvsCgh83O/W2fMhoCuA\r\ntXlo6JCeB8+VDgLrTL+baWskz/tDlFpay3xyNsuy9rsMvSm1y3hkALdVkoBK\r\n1EywDHYYxdZD4b1GqbzZ4XSzXLWGtDQQ4vYgNHbrp8ftKviIo7Zek8oJBje5\r\nYv64KF1yikvF6zJQGCbCurjhon/aJE/LqUkvJjbJZYBU/cQAmmGzdf1gd0lq\r\nmJeLFmWplAXP+FM7/lVD/23qSkc2qOVk78KpfGi0sMHsuJn3k0Gcs/TY53vH\r\nPu+C1OoTe4n4ZJ6V9U4iMUQd7yfqfkUc7rgMCZFonwKAX3RgT99clLTrHVs9\r\n24iM93mgIN9dKNhvqc8cn9hQ+346jXU7VKdLjsi9ON4TZ+cDJoMK23Ab9/4E\r\nxwwi5IWOmCoH9tTXiU9yFfrY8dcSiJadCYs=\r\n=H5Ty\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.6dca0ba","@microsoft/mgt-msal-provider":"2.6.2-preview.6dca0ba","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.6dca0ba_1662634907324_0.11384157414824414","host":"s3://npm-registry-packages"}},"2.6.2-preview.25175be":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.25175be","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.25175be","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9bac4d752e45156fbbc956103ea570b8ba072a94","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.25175be.tgz","fileCount":18,"integrity":"sha512-IrCj62ORgry/sND5CGbrsl/VgFgPm97vf/OTbl9AUZyi26cNqSf4CzrNJsyT/0OVsGpDhrPuAfIMfzMClgUlbQ==","signatures":[{"sig":"MEQCIFYwZmF3d+CqonqOqd/UQU3QgH5OUKfhdMcM0/lTfOZaAiAxyRhFZFCvM6rzg2DdhEF4V+DUdvmNdnGVDDU7hIB5Cw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGc+DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEDA/7BAtVLLDUzIDGOsorM93ywe9ULCShQsn/BY/Buny+CyA9SVS+\r\n2PTyuvEAKII7rMNSf1T+aDKKznK0qiyGSSvcv670o7lzJfYlrgAXxJF49T5h\r\n0vFtFgnJIDeasmfYUfjyHY8uR4aeJqjF6J6D5R2E1KQkKWm97eFBiBegJIQK\r\nZ7xDuUYeq/ysc/uhS5RZxHEew/MU/bPI/RY4vRuuTIDQ9I+74120RLLe5OU7\r\nQv6h0OuWyoLahV0avx3YetSuVgnch+WsFrbzfgYOfUwNNDdJePdMVMzMayvF\r\nH+JMND4XPk6YAuVymOycEo+iRJqPZb5wysv13il9MEu3mYONTzELH3uCH6Xi\r\n/YqTcn5cgKXJFGJgs6T/vbhemy84fk/ANF6DQthN0LvwlUG7+8YQEDysY89E\r\nVqJhDGAX2By5VAtgJKvr5YvJOq70NUvqSpV0EgRdPT6NgR2fFtO5WMbibNUo\r\na9H1iTeQvqogONJkX7EjA7v8+7Hd/naVc35yHlv6yJZ/AWB6OlpKTdlB8M06\r\nc4ZiubZRpcWMePn3EYDz61QGfSKgJpsPUFHWMriNO7XVq5874ZRZXuLz8JgD\r\nCW1I0NzANMv0muZ+GbJWW4KNJN2XpZ+DUDNxhWX9Gcq0SWcc9hjDl3fAlTBT\r\n8JpZwKdh/EP4lk+amfEFtVEXYXrAeeXRA0c=\r\n=ddbZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.25175be","@microsoft/mgt-msal-provider":"2.6.2-preview.25175be","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.25175be_1662635907634_0.6234789668762646","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.a05b7aa":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.a05b7aa","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.a05b7aa","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"53440e8821cf331ec847b2b86fc65ac235adae79","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.a05b7aa.tgz","fileCount":18,"integrity":"sha512-C2krWCBLaI+U+2OdEgBT601olHjqEA50/hNQkY3q7/7N+4/amTxFl0l+tmWkW4csmaHcW1AzEhLb9F+FpfK/yw==","signatures":[{"sig":"MEUCIQC/Abz9VR0L3DBC0XeiKlQmCo4XC5dkndkuPLqlksFjcAIgVnUyU01CU+EF0tV8YmFA3GTSvKc+bsGGXS4dOSSNhGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":752333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGd0nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKjg/6Arc8m33Ul+3glUXZk0zJyi9Dn4awlmqykx1WUdiaXGJauSPA\r\nyQveZPcTOZ919Diq10nU71GxBQZHLJEL68Qe4f5zLlWBgC/QcyW9Gmk/VmxQ\r\nKzcts/ONV1pkyFmKazPzhGg7I1INYBPbB4N2tBBg7w2UjLBxtiRGUkEoPCi7\r\nQRdIm4P08Y5VDWaN89mp9urKYua6dHBQ11GjJxEP0VGqpjApnCVygpMu+F00\r\nAYRwY3BWI5fYpr7tqocbRLz6Q/8t7JJW7a94/4MR0G5Tnfgn4RbyakMur7l/\r\n01IcYJ2o689tfFx3AZ6r8V4HKjZJ+XpVvcpJrPQ07j5xaEqD2y9gbWRvE0RU\r\nYhv4ELlxMaL1g6/PWOX8TXM+ctD4KY5EQbn0HYwlVn6uHzifb3WcSYK4Wp98\r\nTu2JTUrjq5hzhYSZxb41PHsnATDtO366bFMR1MhKLag/lRQHN+NdQ5FM3b4h\r\nWpDLfvgxz7cKoKSbp8IIO41hbmmqJ/o1fns/vEchVrKmcqTkSydOw7tgLqUL\r\ne8HBRiZQ9aFwp7r4pcI18ikP36nUb16w1Skvycmx45LzOPhUf9Q9XiBkbG1Z\r\nek85sIwrlwxb0cHt/iHsc/V7DJ8ydldwaInBGef/oAddGaUn+SadRZmZ1pjW\r\nBdmNp32XNmLnpxlblJW1mtl48E9uoYqkqKA=\r\n=sya2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.a05b7aa","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.a05b7aa","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.a05b7aa_1662639399246_0.726340552995228","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.78ad2b0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.78ad2b0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.78ad2b0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"609ce6d56f734ab9fe2acdb9ddbf4327757bda25","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.78ad2b0.tgz","fileCount":18,"integrity":"sha512-3c3PYtipHcl8IBQzdfAAkFNwhGVFomsER7coCwJoAGV0qdK0mbfclY1gg92VUxJdDhwtU1Cpts4txLimGRq9Aw==","signatures":[{"sig":"MEQCIQC2qSg358mdBg+Xc0PiJUg9sBsRpXtptqWedmCiBZ7B5gIfKPL1IGa7E+p/V2+v6C8Qlc4oSm9ROhLowg0bwIZaiQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":755572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGnpTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUgRAAl59NOo13qfKs6XBGXKkCpzW0wQbzJW/Hd9qn7tDxhHQNdIVz\r\nPjYs0R53Ah1bq0Obo3gw1SQbM0d40lcjQN4WfPkSWvahTNKjV90gtECRFtTg\r\ncHC2atuhMrXPTR8oBDGA5ZpvzopiY0uBjoRutYyPZy8f5lkvG5t+PLWMF53u\r\nYZ6BriT+uBPsUzUz/GL7HxLa05cELfA+F/f0TFi67xoLrmJnan11Mi/DOm62\r\nN5pxymNWOtFRSvhWjRcjsOMUZfrc5gQoBo1UnjSBD31q6Ejy8YYEyEbCEDoo\r\nwwJzQ+c3EPK8O9ClCl9ftkfml1d1U8Nc8OY2QVQO8RtpnjxuL1HxrJJUV1QJ\r\nyrRb8GDv92ivz4FQLnCVJgdVkySre9Rsts0Uj2EoMV/X6KmesEdXOvQ07w+h\r\nZlEIGkSC8Uc+6D2IGRssQgPqjVmsz2GMetM9PiLVCUdkso9ptE/IFq6xYwUE\r\nibk/r0+XBvr6rbEHY0Yeb8tSgpCZwHB90vtLi3MMdvxvtAdRyTenFQjdmTcT\r\nS6XBF/o6pZzI5YZltWFmDOCcl4wHMOMWpUUL5maMj56JHV0xsbVJhl3oBFHu\r\nmbHd9DHpV39O9eEGTsZmQmMufTNVC79REur09/U6onwdORtTJ9sCrPsAMQkz\r\nSUppDS6iiZsI/G6RrpnsN3O/f4ylKPYXAXc=\r\n=3Mkm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.78ad2b0","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.78ad2b0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.78ad2b0_1662679635510_0.6636085566859666","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.2bfc7a4":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.2bfc7a4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.2bfc7a4","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"202bc4bbbb33f521f9a07fc9863a8ac065f39510","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.2bfc7a4.tgz","fileCount":18,"integrity":"sha512-hF+0AXQtLsh6vowZSBvujvZkBX+ppOCERVOhdgLhxMD2HAdCwRBkfk28y+I81V901LYaX1YA7TjWnGDIjEjTBg==","signatures":[{"sig":"MEUCIQDlPrmn9rUK5HFDoh1VZ1gcB8PTYXA0sQy2kmoElFKsEAIgHxsoO3+e3rSWLZVpRO6i6QmYcnNi7TZRLRiwOr3leXY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":756744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG2ODACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEYw/+M9i5ZKCmwJ+ls1jp6uAK9TeK/nEAkd9YGIec94D80x7/hYy5\r\n6QaggI6IvR87Bhmwgttzl31Pe7yozLekW3xjsWYVP9BGXyiTkeB3iCHDYJml\r\n+3SEYkOYUxhGNLY47+KvIOIEO/nze7KimirJ+ybzmzQCCff2eD2GeguhXqHK\r\nKrrPZ0pzpKWpew5iBmfWmX4kbjigX0m8LLqxGBe9lUd/hdBPdcP2uivbB7Ls\r\neVazKDKXKNiVQuNF1QE115PELlb8IulrDKByv9quYcr13duEss5jyJTdm6kF\r\nVSKwanpfDS+59JAR5Z1s/QSU6DBYuDIudVNiebgyAxTYUVGiLbVFHrONBJ3Z\r\ntV9w5dJo6trRXFDLKq5+gnWbwijDxks2Xz+taC5IGCQrv2rvQCCifli9qRQp\r\nu8Gbgv+BMLzeVkWJ1R7YNvdTu/+5oaE4/Os51f9aK6GNevUecHHENod6eAra\r\nCx99fbK74HZyTzK/ABWx3h8qXisGPBqfn4sNO4/x8DyeCcAMY83xPuRsdmEC\r\nPGq44b+sV4TSvBbxECsSea9XdM6rYx7II1IWWF/9ndXgm4GeaoeYzL6ruTqw\r\npYruo5YRzzqRx4r82l1FgFmbr/UEPgG6+bcTRlE65klQywK7xOkzS9NGquu9\r\nKPxF4RUoSQsUB0A3giG1Fx7s9+URVHGwmaM=\r\n=L6Pc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.2bfc7a4","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.2bfc7a4","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.2bfc7a4_1662739331545_0.0609810102308288","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.6de1a26":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.6de1a26","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.6de1a26","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a930beb688ab1b92e0452ed9061f56a853c2a687","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.6de1a26.tgz","fileCount":18,"integrity":"sha512-xoc7XP1XHcD1hCw8/QBBP0TSI2eu2IwxPx2ota4gS8/modjqQR1kkqQV+827C3WOUmuN5Xon5aAMlh4Fpr006g==","signatures":[{"sig":"MEYCIQC0p/3sSH+Wp+fR4rasj3aZqYnym2Jc5Oy3AjHq1TC1pwIhAK5Pg4L8XAyG8Ju4dLCnEASWtWN1Fnc/DQ0VIO+xOuRW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":756744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG7x0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqb5A//ZcNQHKnZDYw6nD9XmYXxJER1o4U2xAE6iZfSdT6eYpxfifwn\r\nYiw6XULSan9OfFN+BKL+UbBHIno7XcvcZjphzBhgcRNe1PDzIQ18pHStYypl\r\nuiYk3dwRQceS4/nByEBDbd2mZcHHFYRNCMmhXweoBkmEmWAvhyRMSEJCjbvP\r\n6r/pG8YUuh9/LWVQUa5186GPIvxQGAD6w5/NsYR4BPcc3kNr5Xj1upRFzMxU\r\nTlOq5Ry+U5rhXaf8u6Hlo2hyUqZ5yXSxxiQPFEhE9VN5u+my+nBc2JSsqydn\r\nWjeNtjnU0AIvjbEAHGdxtoUlKce/PLnAhf/mwR84qMYLlLGXnU31iMB9COwC\r\nOR0dw41AT9Oo/J1bYxEuNo1H1LJZpRfOL6gwKPlozFphZYexiKx0WkyXvRCa\r\nR0cwrcQDRSv0b114YYNbpeT5Poksnrg8ICcaYvI89crTIA3cP6Op9TVVh0Hx\r\n2QxDafbtg25+capoK14ahsbB01qjxJInT9VwQo15zRSNo3aCDtQ4K+4ymuuG\r\njbdzNDP0eT0joMXNsxKPmP171TACeOQXvBCgDSzIjK1oWQELKHec58uKeb5L\r\nWhBwdsgXnTSSSMXBhqWqKWYXtf9A+1Eiagu86cglEbQnTU1yuI8I+FMxZzsV\r\n7C1Y5+YLceeul2mvilVFVR9u7cGV4a+5LsA=\r\n=jTp4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.6de1a26","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.6de1a26","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.6de1a26_1662762100271_0.7477256963057468","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.6628282":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.6628282","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.6628282","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"55e5edc5174a44ecd20cb21a6ee348c241f62c22","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.6628282.tgz","fileCount":18,"integrity":"sha512-sBDtH0PnlOuXgNVf9Tt1Kw8vho/trbiTqJBb/k2ZIjxJlsPriPKJ/520HhWUSQ87ZgYragwgfADrqMDzWGEEVA==","signatures":[{"sig":"MEUCIG0+Fc8Qf9UnFT7bCHeBMkbjcQAU2sl/Bv9JTmHixGcPAiEAxRkcAMChvDN5UwrbOr3amoixYqkU+2AwLuTiTdAGVa8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":756744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHuMlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5yQ//ZF8ktdFIto+kFV+gEaaI9LIfZA3mZlcfH1TjjNmRA2+lDrIJ\r\nkEm9oz092tSsQkaaZprIU8wGCZtCmj9X69804swX2+/A5KfysdHJP3kkNL8Q\r\nKlHbl57ng/zVMStsYgyU/jfvSiTQKBXKrqIt8X4VHW1+jJaCebUctSQNLLq8\r\n3S9Z3grHZJ/a2IeiDHVMnNPPFvv0B19eVlaspS0DR8lYNkRxIs3wWtN97o8Y\r\n9kjwL8k22OZhPJGjIG4BNTf6MllqiVISRnj5+PpYu/y+6hkfTlJK78p4IC+o\r\no800OIkSCSoumkpvxCJ2wVN/bDEJ+m0oooTQxAyPzlx/IyPm+Y5a1Va0y8dW\r\nAktByulhi8eVVu136FCT6u6Bzt2X0RGvt/Wz0UnTCDebL9CpfXSu28gASJCc\r\nqZ/eexIQjB3Q5VSPOe8RVhrqROVwVVXRhmC9OzeGt1GY4FU0/PUh/aggB4hG\r\ndl2Qxlc3Gciq3BPfOJ0XJgMBFb19NMlJYIc9/zxvLd/O5r/Ai03by5Vbe2wV\r\nQzY44Moz4ljSeXJBcL2QqOIBliZOQV5EHxBZlXgD9z+17e5HsWJP9n3yEa/7\r\nE6G0qt6faDr/tHs+L00e2AHgyR6/WvnN2hkuD6ADE5QFYBpJ8VMueXoLgAup\r\nBkt+lj/Fn7jlMt8XRzhLmc0EEad1ONKalEo=\r\n=KXoe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.6628282","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.6628282","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.6628282_1662968612781_0.4122181331210708","host":"s3://npm-registry-packages"}},"2.6.2-preview.b8d6891":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.b8d6891","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.b8d6891","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"007a7c58626c093f6a1aecf0f42d33faa63c748f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.b8d6891.tgz","fileCount":18,"integrity":"sha512-uUHyglbn/4FsTP66eOoooM+hT56e7i9ItDWclITH/Zirt26HHS/rEYLy/RhF4BkgvJHtRXGTAt8AnzLEjy7UIA==","signatures":[{"sig":"MEQCIG5hvPjRqb0vV3sWdfc2wNJ0a3qWBIjTIcFt5EK5PzicAiAjFCTX95rAA5mWbjhkuxHQYPqwL9QitlD3JguQ8tYlxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIcLhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojqhAAir22MR7ZC3KpmE7MDFA2xHdwwNuIFr9dbpXJzJTlkmTj+srz\r\nQKX7Gnt4YnY+LjaNavYs/4TW++ABy266vYjlpXWeBuAVrtcWZaA1Bx6ugWtg\r\nOO5PoLro5xRUHxT7z4sHJnXrkQsQpVEn3VAm+hxkKYweY3kc8sa7FQtvzCAt\r\n+gsm1uO7jjMGh9DGPs3omhNizRsa484bhKf77jgUF6g6oB7HrL8CYlVxMSeD\r\nOF3r+INrxCkhItitduutjStZAIVB8efsqcHqirP/7lSaSQcwvcI8ho9nqxl4\r\n1VGjP+HEwbTto0oPsvuKom288EgCMYfdLFFERdDBJYHADtouEJIlyszOabKt\r\nO23tmHK2Hwq+WmMMRFs1SC7wy88ZJE5y79OXhEVT8o4UhTRMibxfwAmw3Hkv\r\nR+u91FEQp55TAssJrwSqhyeZbl8UhuUnb3SuGAkMvlzTOYIX//C5UFLq/cQf\r\nuUE1Ve7he1wwZfiQHnmLJHWxIXJjvDdGeNbzvpCb2LSJSKR0XIqqhsZXPOcK\r\nszPZGU0wwTRgitjHy8E+tQOdgp58k5il/q+7+fmbdqC8pk32TPRgREijBFWh\r\nQYbxYAqH+x49ah7nwQUmaV/pPXi0izFfApZzihrOhrUtFzJSze2EhhRseHg/\r\nrSak2h42EMBKghEEgQRzkXf4L+dtdylkNm4=\r\n=TeOS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.b8d6891","@microsoft/mgt-msal-provider":"2.6.2-preview.b8d6891","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.b8d6891_1663156961477_0.4590932479097136","host":"s3://npm-registry-packages"}},"2.6.2-preview.2b4b09b":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.2b4b09b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.2b4b09b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e3291bfc8026be17baed248b06a5fd1aa24e68bd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.2b4b09b.tgz","fileCount":18,"integrity":"sha512-4vy+eJVcTswzikLEGPl16psdwYljF7taA1kKVLxetStWs2Eh9tVVozpc9WwbvoP6wHwCo5rEarCKzxP9N0itJA==","signatures":[{"sig":"MEYCIQCDZUgZtZtqcB22JDwrDiiNgt4MmoqeQVd+SdzqE/gb8AIhAPMmjQ7cmaU+/Gwos7iMT0tPZap55+YYdd/mL9TzIQ9m","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIxirACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmNQ/8DCvxJDaY0hP9iPRZiIC2VTSlhZbU3jJOOgDtVfy6nYb876EL\r\n/IDZc7IRIEqjEoXUpMQS747P0Gg96HIgGKpGErQ2TAsnqOxBdXtNnIGWnKv/\r\nYFvz9VsOXAjy74cslNvz0Pr53MKTBkjnAlkziAFfl1Zq8lyaQJAfWL4eDKi1\r\nkOcUZYWdrt5x7MS8+zyIYx0HgmshJ1ECgzWRxwvBw3eKAfsM+72rUMUeK6AG\r\nuSpSpCqZPlpiPU5vOVrV9WuVON0taXtb8E0Ghbdrsl0wPa/mzEIusO6hq6Gm\r\n/uRgIlWCv3c2mxXQZmGTOo6l2l3nJMAeVIqZjuOnqP0NCkuVAs2zacMewbmu\r\nbFL7hYU5vC4hnRTl3BkGmoFuyoUbwCFLbqAowlIJ+cWBf7gIqpda80cIpxbF\r\nNJyOzAmQbL+BXVDDf9nyN8EeDKd8H7oolru+3RvHJYkTA+Zx2ZQ1ZMCrckTu\r\ncja/WLcA1j36KUGvlq0gzuFbz5uq5HiiGuQ/xFs24G9svzYMz/UDN7Gvg2Ly\r\nOAgABlMhdDg77dhxh8cVwtA5UBpoivPLs20o1pPKhqVo+Qb5cgZcx/In98o3\r\nu6VCR189Ym3tqJewG4xpVdyP1i+YylgfBARmePq8xh1FALy571kSDVq5fqpZ\r\nVtV6XG+B4H+0DQjOuyw1v6XJazqyJ4VSUzo=\r\n=NeIV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.2b4b09b","@microsoft/mgt-msal-provider":"2.6.2-preview.2b4b09b","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.2b4b09b_1663244459433_0.8942036698750235","host":"s3://npm-registry-packages"}},"3.0.0-next.merge.cdd49dc":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.merge.cdd49dc","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.merge.cdd49dc","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c5e8bb6af6b27e57c4a517dfb40407a0d96f7c82","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.merge.cdd49dc.tgz","fileCount":18,"integrity":"sha512-wfRCrJ8FakKHRoUuMLA4LAfDSrQbWuMx7WPbtFQKg2H81Neal8D3sMo9D8MOznvah6GDTNwAgVi1K1tCUIBTnQ==","signatures":[{"sig":"MEYCIQC9SCtoOeRVYHbmWgnWTmg14uQXT1bUC7U211DP+UlDSwIhAJ7Y9/OgHK6gH8/exzXfeawyPIT0v2cEAtCDVtJ4TlRq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI1xoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoX6g//YdX5EE8LXxnzebyBv4f326kNY3nMQdSkmqBcbouon556u7Ht\r\nUSUMwtb/VNAd49jwQW1NDqvH2gw0egZzixAxIW9+3EJWMSb0LGdwHurXi+Hm\r\nIw5f9vSRSmKC+ru0vu+q13zUav9g4fkBksgqpsFTqU4Aylo/kbGC0nx+KOCK\r\n4LSIq/Brluoz4FNjEDIdnO+DVbJQscX8dQlXnfI7FrrEJDCE36yURpuZE5eA\r\n8ah0PvSDRCXt/3/QmNACj507f9uW1exdRmnOEp0dir1Wzk8y7Idm7FB4IvyA\r\nzAyta3ysKxZCtQ+sL2y1FiWURAbHP8GLceV/LBGsi4lrRUEKM3Nj51UZfVqq\r\nYUq1ehPe8itG67tjhCwLoqBkfMmu1/Pie81FMdmTxbi28GSVaRhaeyX6xokc\r\nesMRycxdyfV9gcOSna319MVvnSqJvnq8BAxQaoFov9BoUteZ1yOPrRkCdD2q\r\nvs50OiKdYuWO6127sjvzRkjA6SHx/kY3h8OeuYhb8z4PNXCFQM7ezSOVod5B\r\niTPVUqsNIxVO4uYNNpM9DSFFY3BAGJlbdUGq97e1dNM/ShTnBzWYN+kf13ns\r\nBx3xprba6a4QZAI/0PH54NhqqfiwfEVK9ZPdrLD0P/gRoecYp27HP7YcXr/c\r\nmRopTiB1l9UJiXjaQ9xLKf3t825XdARo1Uw=\r\n=hH2s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.merge.cdd49dc","@microsoft/mgt-msal-provider":"3.0.0-next.merge.cdd49dc","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.merge.cdd49dc_1663261800488_0.7169471393389018","host":"s3://npm-registry-packages"}},"2.6.2-preview.240f756":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.240f756","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.240f756","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"71246ade3b9bb1e189a27befef7faa7962027308","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.240f756.tgz","fileCount":18,"integrity":"sha512-5x9H4TVFMPFmifGwexpqOJD91+McXcxGVukdDpG8PGs9oEhV9nvGxeItxiRr76xNtveXzUpPlyjyqi1au6F/AA==","signatures":[{"sig":"MEQCIGgrxMeQ4Izl8gxfMtrSEfJiIE+Ii1xJjt3xJnZq8caoAiBNdB/CsqAAle4ZLXonA2DbxNfZQK+cFvFMhGdwHbhbfQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI44MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrogg/+PfvJVoDmybPDcMsb2a9XnxvyjylbNG3piFXLKlPVCKNGWCS/\r\nkH9K90xUv65I2vrhskLy6+ye2lCj8salBdIvutX8Dp4/eRecXnXTggLSqsJn\r\nggnq1CIdWwDrFmIdFrwwt5pwYCwDPv7HQdDcq64ZzofW63x1VGsWhW7JNqr/\r\nV/hGESZmPTS+5GyQomRWP2WakMRkdHZKhNncS1MDYIf5z0Ur8mPo6UDqjdTe\r\nPVhCuN995wz1Fr11Xwc49+yRMDa1u5zQaDXG3RrkJ23a/apGtsM14I8eUk2P\r\nEttTWcSmujyXA9KeaKfW3Y+DtdMXxiPnyRXHOu2rBtAQhjS/BuAyI7MwIhME\r\nUKQfGRXzI8zxEGDiZixuwNuchpY2HIcbTk2GjKnhZeCNXq+SSdTGpsisf4lw\r\nbypc7DGvDQMoScaUqYsTNyid2FWK6sIUHIYf0ZiUCyFq9EOQI+9FJEdmWIuS\r\nsZabjbTKnwDKy1RArfLMkSMMYVVtMtOO1fVl33n26rJfndTrMNTKmdzzoKEc\r\nj5WM62ifrFxiSxCSEPr28wdPw2xJjMHAPZzMtrcV4uzyQDOm0rt15neSMgTv\r\nFD5eBYxBjwXens3suSFrpA2zp+aCt/4UfwyeErOA6f2lwcj2uGWyKCwif0F7\r\nkeB3snDKmI6Y7VRCvLrSyxnBwInnNgz193M=\r\n=gOI8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.240f756","@microsoft/mgt-msal-provider":"2.6.2-preview.240f756","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.240f756_1663274508633_0.37429437088247197","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.731bba4":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.731bba4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.731bba4","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"243a6520b9ed3c60ddbb9d4dd9cc0bdf7edb2111","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.731bba4.tgz","fileCount":18,"integrity":"sha512-pCg0MvTsNPJX66m95ggruP9XHKoV6N0gEETXv5xGN6hNpmDVlWoxweEwQ5E4HeOh5qjYv1JMW332jR2oIch2Fg==","signatures":[{"sig":"MEUCIEvvh1eW/dZJq5oKD3zi1s/soDlE32m16wEpJj9OkUSRAiEAoAEL/Rp8bYUhWFdc1wr6JPHDdecGwbxcnYJ3D6Alge0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI46lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrulhAAl4t2npZ+mGqgXu5gNEsNEBi34XPqDL49ydtW0jbPN9YrXh7n\r\nNHttn1trT1GtJ9LXeV6hHRcMSMaFlQhO7Wa2zeaarJ83ElQLEqP1hcyM9SBi\r\nmfh4sDVQW10pjxhWXnkb9dQd0NPqYTLZw2hAd5T7kjlEGFXwAjEHEg0n0uJB\r\nVx3kwStOXSe/TsYaG7duJZkKr8xmnfP+W8lb6H2BrrF7tI62enCRkJZ+MOW4\r\nK5JQ7FQ5q9XcuISauh6GJIqgYVuQd7f0FOJsGlZy7E01CadTmoNCBqu5qObN\r\njZEL3HLxc73LeMWhEsxntoYlXxK1UafjAoM7okiYUMofm/YCSW7qiXVX4N3w\r\nYt2XskPW33v75LSgNMsZgMroS1uZzZXDs3wCL+BUJP44WCCSH09lK3nQecCl\r\nuEeL7fqVCCfBh8QX/KC4/jyRxeNcVwR78QhXWz4zUc5nbMxicT1dTpwdb6LJ\r\nxJmO6kOWlq9VPooxJ8/xo8qqXfyvB6msReHgNVTlcZb3dLHh5NHYLAjwCUvn\r\ntG4Mu4RufkfNJxlPgm/4VwiQrkiFm5PanBIpC1sMeUCpHmlC23VppWWDuVvQ\r\nBgr8lqFxfhttnOcLEjeS++ksaOrHwheTOColassWj475GYpg9y2sA+peMDTd\r\n7PoX6Z3pZlLbc0UYnpX8xd1BaKqy4WXp4sI=\r\n=nbco\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.731bba4","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.731bba4","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.731bba4_1663274661319_0.3921183101275829","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-samples.bfd19e8":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-samples.bfd19e8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-samples.bfd19e8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5789d937c025bd3fee4497f2a4ac8654c854e7e3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-samples.bfd19e8.tgz","fileCount":18,"integrity":"sha512-hcY07vz9y2RN0rVyMemc/lNkzL5ZUIbsRQg3hnDicsXHhmCnqrRkvuKrlLxV8sZUrkCRegwHHELsH3/RKLKRQg==","signatures":[{"sig":"MEQCIBwUBC6arcDRn3D+PxUznsa1LzMADC1vDwRCSNryfysTAiAlj7N7dtX/vQuLaFou9CZKfo7F0FWCwqrYyZdJBMSBvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI71UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpf5A//XEXJx3/N6NZivQHY2EsOoO7y8d51IUdyfYBn8lpEFiDxJBCd\r\nlhdO8df8vQzQAPO8lXPIhmSI5VEu9YTaoT7F7DZ1Pm5PNAjVU58vdOhMfTeY\r\noKqmkR9ETabtWeDKsH5F9BCEgzm4Vrp/fCTk/qD33n1LtFgvZcenSM3hbRUR\r\nl+W5D0zj30U8uFtX5koLBFOvAmhh+sEZr7BnxaMwmhqUcmmQk4S7F3JyLdMZ\r\noyZ5IArvbKab8dlziZEVCBooGRlLOyEDYbFKkkhqvXQFFDWgGDPFx8l9iTQQ\r\nt0T/foTOUJ9k059twPM1IV/Dv0l8nM8M8OOtstWnhhQ5tuDAaiKyM8ng4b0q\r\nwUis3NuH9KZ8TLpv0rD3kTsPxTIz3uTbEyE/2u+uEBEDmkvmNzFoMOVGzBF/\r\n6pYt9CtZ07+uRxQZ1NNj1e+6VJnEjdYBqAPqrFb2ZfJmnh13L60hRkp/Y6Z8\r\nxvqhYbgytphrIfHbr3tj9NBiRhUhRlwyTEHMKIKg57eGuUy/QFjPBUIcWGOb\r\nY9M6x9xk2pW8T2sR5YtjRzVKTKqLPcIAsdBD3BrFnJpd1yeaHEvIk6M0zYUD\r\n3m62femHNKTDHvh3OyKsWgnmDroow5dC650RMi4tlQRDykJl5ZE74ZsJBVuJ\r\nLupsKp/0MgzL8icA/NsHCFLKB90sypfITGI=\r\n=N3T1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-samples.bfd19e8","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-samples.bfd19e8","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-samples.bfd19e8_1663286612322_0.5415252480175912","host":"s3://npm-registry-packages"}},"2.6.2-preview.6b44779":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.6b44779","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.6b44779","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2499a970c410cde2416d39f945497709e1de333f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.6b44779.tgz","fileCount":18,"integrity":"sha512-fjMapRzq5a0uWxcxvwCphd6iDeZbotx6ZvR4H/41hXVRx48pDyqGMoAbFwuCuhm9GYK33TZXmQbE0iljmYybIQ==","signatures":[{"sig":"MEUCIGDcMMPXslOhnPLXLEREdqIO7SLDUV/vN0Y9E5G3gv3KAiEAu2auhmJ05ZIHnhE340H16saPD3eDX7vQFFnV6MsJJOs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKnS/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7WBAAiYY1LqiRwGQF/A8yJU8WHT32LK/CcvNkCiZWhZPZaFhBv5hb\r\nuDjo+sokjLqc5U3raiP1q+nHM0xR8oeBKBjB8gVG94Lcxe5ppqhaAwbZrsOm\r\nRGk825slRw7XDK2JGlGZsctEy0GYJF1PwH3w3V2GMqQtMWDjtoMkbLJXQY7F\r\nAVPQdJIPWqFjKvY0KSDiDhoDVVLqEkFe96PmxuEVvp32bh589IoduufdiwTx\r\n9OxTwCFCdIEyabk50GmURr17ZPrQl9SN0SyV9rbeFOHIq9/4F5W0vVJlKxNX\r\nObXghkr3aOIFKF5v6ZT2f8XA+dISkGTJviY4fzyXK2XHx8RG6f+ICn5toQsu\r\neN20AwMxOVy83nZw1YHVigyTOvQzcueWvMWVZNI2fBP8Uc2ZqasyMHFF489T\r\nE5U0/E04Yi2UR58ovlr+Xtf6PjZIzG710XnItuBZ9rOrm5ZSEAJlkBSQaNw9\r\n6aD4h7xkSrv7EMHUSXVnU2LKPlxWr3I2h+1rkjVshTBPa1qdYUAW2ogh4GUP\r\nRDTKa3qNYS7Wc+cKvqUTMGXw5i3ncm2Dm7RqcsyJC+gZT7LcjeXIpzWgF5hw\r\n5twjiXN/zr8Sm0DBFN973Vq2dCmzPJ4BfqAyreSJYN6OAyo42OSie7HsGNql\r\n6mYpvAMjSH6nNRr1g2/glPu+/afuy/tLvrs=\r\n=E7cl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.6b44779","@microsoft/mgt-msal-provider":"2.6.2-preview.6b44779","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.6b44779_1663726783398_0.7539476991460303","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-samples.29dc0f9":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-samples.29dc0f9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-samples.29dc0f9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"004540630f47a123a2cafa58bba6540695427d52","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-samples.29dc0f9.tgz","fileCount":18,"integrity":"sha512-DvytrQ7K08mJ6YXiRZsm9nPR/WYayqR+IEis1+jP6T/obAmIKesFXa8KuCPdP+IoOrTpKz4kH+O+t4o1j0vlvA==","signatures":[{"sig":"MEQCIAqLWnNY8BDiGB0jtQmX1uLVhUchaDJxjqArucz1p3AwAiAaSUzJiyZM57Ejn1rSOAobvD0EcoaGDAekLZ1kjzgmWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjK7DzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqO3Q//QKrr7wEAS+Xnwf+EbYF9J1KcmAmTW6Vh/V1ViIeKdyO42xMw\r\n6J/7dvdFOKkoanFGSTqxOj3CGo3FjLlpf3UGUd+eTsKnNBU5aMLQrNeRUnPi\r\nly5gL2DD/Qki8idcJJlPQXD3DDb/8uf/H0p5bYDjnEXmMrXmR0bO0gh306jz\r\n9cQn4vrhaWyXh0Kis3bSMIlFwBHy6CIQA3ae1/bcmUXkYsGgsxyGnzrx3D4y\r\nlz2ri6ZXclKJo/RUkGNA+pOmJ0Vf1MxLy217LBETwkzoy/zlPss9xHWGjmGi\r\nuQ2qZYsH3wH4W1oQe3Ert8uCDUxtdu9jJ9DcsDbJTuO9KJ5SfSCNqSmRdFOS\r\nFPY0f5OR7TFFxZ+/CuffItwJ1M+pugZkbDk7J89BNiqD3OOVeju/PSAH9F+I\r\n/mI3Elknoy5RiRb55XiExqEtbYHJoHifi742q0AoVe2EBi9e7kYJFozSRrWH\r\nx0uSd5SS8CKsPwKaz3pBdjJApH8tN8s1771+e9A2zXdCITUHgERK29cwuZfs\r\nQnsoYLS7x3FFKqo5Hdiwvh3bL7vSmEslwbUrxh2DEjH9LLtG7oY5xdaDVh2R\r\nl6DMRRME4uI81jOqzfFg2P9NLh9EXkDeETIALTg9OkbO0TreYtPwGaSVp7Jw\r\n5t7NcHgacn3Cfx5VwABRFF3/pdyc3yP+Kt8=\r\n=jr+C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-samples.29dc0f9","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-samples.29dc0f9","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-samples.29dc0f9_1663807731305_0.6170233569449355","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.38d8b01":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.38d8b01","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.38d8b01","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a26942d0da1f07f65d43ad8d4345529a3ed69334","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.38d8b01.tgz","fileCount":18,"integrity":"sha512-KuUqzBxEjhkWZI2R0EZ9ScQmeA0s1Kb9x5ZwswPqfJ2f0THjmdU5rRG6VVBYhJnQooF6WM1fGAZPr5fPunOnCQ==","signatures":[{"sig":"MEUCIQDd3yj0zIvCa75++oD0GXYFhMdM90h6AU5UipL+tCEXgwIgTNBZzt3fKSevL8XUcwtap5mZuZC2cw93IeLo3H2OJVE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjK7I/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqP2Q//ceux04LgfncPO1ugmCfzxnj6sntv4LSIEpXQXi1T45qVWFx6\r\nTZqBKTEDi4sB+/W2T+H+M0Zn50XJe0ew4KTSssCpc6ZeeK5+JOyScjJkvAtx\r\n8X045yRz+iLNKK9t4Tu0gsxA3nPBAo2aaGN2nA5XFSIG01NjxR9pUuvOUkBi\r\nms5uilwWLJwtVkpPTCfZDETGaRSmwM/h7moZfxtPbODcPou8haCUBHeEQhWB\r\nJmwZjGRUxBu2Dj3XWjmnC5hSCpjY5Bpb3phSpBzE8s+HFgSdZka8avH9MahM\r\nX0z9qQsq+/JDX61Z/LRl3T2TgIOGFrPfojeV5HbJ/lY7PyVHNynbVFjuR6kh\r\nWJX3RFenxz7upnCddyaQ6OiMjQ9zDARqfGWLtw4IKQ38sG+OtzgYX4MF6I93\r\niHhpHMHv1PspYnZnbz7sbad/tEYhfm9vaFOoFz6wHg0+rZtv5EDmJm/2pFqE\r\nzDEbuWTuVwjfguxt7jhyS+92rO8j6HsPQOgugvhCkFdxO1IqJ+nSvZsKnmrE\r\nBqOJl8S9vDVcqOOThrtxNtQxHiZ7zShEOT2VF8+Ys9BSgtbwftOxvZxqLQXM\r\n0ILQVYbOM974lev+BhxaooA8iFyXFb9IS1p9KerBo59WNKAjIg9lZlEDKE+2\r\n0U0xjc0uDe05MwJLC27AynEx0vnpW841dhU=\r\n=RA5F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.38d8b01","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.38d8b01","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.38d8b01_1663808063010_0.4298003207266292","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-samples.e987922":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-samples.e987922","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-samples.e987922","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4a5a9cef0adf2d59291b79bd67ac19f260b433ec","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-samples.e987922.tgz","fileCount":18,"integrity":"sha512-7O85d4GLUlQ6FstgS1P1oMLX00CKBioiBU3926X7Sy48CZ4ZQSUiQUAaKK4XS32IuK4IRma79Sv4RPrSUWZ/Gw==","signatures":[{"sig":"MEUCIEDleQWvbAHkyM4HDTCQ+nYzx23ucDeJ2oPdlWkqeE0DAiEA9aWkwNGtIfvLKkxRr3LeCmQW5yRMtSRS/90QvQaRXMc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLI0/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqb0xAAhVMBY4The/voYawCG5Ut4jCLPA245XjH345XzZEIr+6xJ9FX\r\nhZq3BJcJ4BWij2o69X+emGULxiPmD6C0S/ueex+VdCZGpqXAQWy4eD7a8Vgr\r\nJlwXC+KBOjZRWE9ADMUCjsCtrDqhFc9d3eraGjmwZSLH8M8cPLu5Jq2HhcCo\r\nKHa9gkvU8I837usM7grWp6ql3QNjASnGszxUpMsigKSKgr+Xrn2BcNvEFZt2\r\nWs1vRwlU2MFcssRurVTrHta9ACoZtd0K8ozuyOlsTMYH5VqraHSJHv9meVLL\r\nQbKGiy2mx/hABlijtJ/x76EqelUW+c9/zKA0JoddoZ6oKizr4m04et0Kzll4\r\nlj9KhMPie7IbdsKIsQXyF5u8ZeXc+Z2Ub1HqSfeVPIFV252lDHdg0/PaHwvv\r\n3YKM/+dZCeFhTk2DHhkn9aLCoquIgMVVmPeBN8lpp7UkKyWgSTpsqL+s/Nem\r\nikhiWyhkA9NKp3mCXAS9XOEDSXdrVQGtwVqM3Y55HCqcfKFwVhmwKsAlvuhU\r\n0syUmIhV7LChyJ3ZUotMUsjUlcWiv3uo4jJ1lNdgV37g3AB1px43K0vmgYNU\r\nFEsaLjSWQSF5HyAt1K6FLpTzDVlHN91M8Vj7AwwwVfNzUrWsPl5ghMK73bPv\r\nOqrWctIjIiFB8tLhg2lJV7PKJ3EPyUKCgZg=\r\n=BvhR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-samples.e987922","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-samples.e987922","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-samples.e987922_1663864127784_0.756420234594799","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-samples.6363b76":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-samples.6363b76","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-samples.6363b76","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"098da4db9e60f3fe8d9950109ea9503c25225ddc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-samples.6363b76.tgz","fileCount":18,"integrity":"sha512-4Xytfc5x7ebNdfdaOyoBPGVHT48TuVZmj/oNSuY9f3hVIfGp6to6ZHEXqWr/UXGwLJa3y0rJOD5DkmGMssnF6Q==","signatures":[{"sig":"MEYCIQDId+X9m5HW5vcykoGxe80R2iUuqvFTrOdSsdmRZQZmZQIhAOx4UTLRSdnHDh/oatf7EmldG+zl8GzZtJSj/6uJ0Wae","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLJADACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppnQ/6A3qARlHXZLAVjSCokbymTGy0LWFkeQMOchQmCTe8pHow9MXl\r\n0qy+KKY4WwIphcS8wJ/TMO70Rj5V0dMSQXd5/KhDEywsJQk1ZrdUSJIlfitE\r\nbuktE6Ej8LFNu5L/C7dh9kqRRGvOJv5GiCqbBFQIOSJzwG+zOYbPVGTrK6Wt\r\nqJsBUwq6xaqSpokPa7jNESLqAQlSDh7/XrmS+buaQH5UQ9a7k1wuxrfbl4C7\r\nb7TB5B/sLL5toLsKFmjajI7umLW0ieuK9xG5vutI2vQD6veZeBsTAafbr4IV\r\nGhXmZfAS2uMLWozJ/5MLrej4RrrgfsZ5VXlWJUFrAo3Sf690EhPXLQrMPYnq\r\nFG3N9fIACjgdM1Zg4k5m+iHoptPFXV052W+28e/0AFPpcrkO2bUBOFsnasBO\r\nA4Qm8dWKHF0U5vmiQI2r3VpxMsERSOCR89FiDMJ52d0TA9/zYvlJBYIzopAr\r\nDQRRmACmMNP1n85CAbwtck/L1KEYfJUxsAzkwgpTJ638S5uceTl9WnUzagF9\r\nNzdqZSmk8E3bsJiH0hpDlQXuhPiPiii8s4Gbaitj8cDd4F8nAHdB7D1Q45Em\r\nVFIUW865nUXF2tdxffni8Z6ofu+FaInm6xl/ddPKkAEIJxEwe1ZkaB3lIASt\r\neL8h0UzV1rWxr6vl0LGzkzsDj7TdowoLRL8=\r\n=78Iu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-samples.6363b76","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-samples.6363b76","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-samples.6363b76_1663864835345_0.6723454814599823","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.244b27c":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.244b27c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.244b27c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e22de1f89f434129438b446ddde607b6be09c5b5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.244b27c.tgz","fileCount":18,"integrity":"sha512-AB3dDZmP2vrmIeT9mTDf0LwuUYNfnPnGmQDxR2ohQozGFug0dMg2Z+kJ9Vyu8Ah1TGXxbvoxGDRyFvVMaZ0cJQ==","signatures":[{"sig":"MEUCIDhW7Hv1nCNqSUv3eLxKyKaf7Orn+3Wc3o+g1wT5ibhRAiEA+RpatpQ/xGPsk1e2U0BmV12Xp9wrTEie0imr6e+DF6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLJU3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphCw/7BZMhnUwdp2ZqVEiaowt8NyMpOGNtuP1AU0YGyowT2oF0cadb\r\nxTNjmV7cZLynoiShXIU0VQFqbCAIx+R7VBNW/2O/v4s3pnERPSY9ngEWeuat\r\no7+KDgRAeOg2/HTVCl67qCSUpVkgGJkPuklmfeRUx9tNVAG6fFBz4fVW8MKN\r\nlNpnRMn2ufSH4xFi0ySAU0nocrjwQS+mXxqSfrcO3xUpfs1YUJh2siktxlSR\r\nhkbL0u00YmjSBiG7u+Q9aBS3Uh2+6VS/1bh7vm3ZFxl70LLaPdMuRV4DYc7X\r\n3WPLMUE/Tnd+b56LZ+SqpV8hMY/a6Y5g1K3Eeu9+5Nae0cqznT7y/FUETAJ1\r\nOHNYZsqBr8gS478NpJSrP1ZROc8Yo77BAqJXFWW0/D0TDpM4wzFaeTwbzWMk\r\nJeH4vuCF6wNutfhY2nCRfPvhVA1NUj6CLQFsnNTWI5IbXB1XPmnOtTvYU2cP\r\nYYDqbzEp69g3beD5MQXZX4qAk8fBEi9P4knQDnEYc3D9j1wzb9k8r7cKLVL2\r\nDTR+L4DxyuXLqw+GppFCaiqD5NbkMHC5MdK5TvkeWPDbknb6mfLeR4VibUEB\r\n+VmwYOc9+qvWqsWICNLEmbUNGKJ2ATbAax7sl8xDPzFn+VSz4n0ELqvfE9z+\r\n3jVbxp61uu+CcymKZhOi6D2iN80boRzEAzk=\r\n=7Azl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.244b27c","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.244b27c","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.244b27c_1663866167198_0.6984226782167482","host":"s3://npm-registry-packages"}},"2.6.2-preview.37b4cf2":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.37b4cf2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.37b4cf2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1fa1e548f7327e6dfeefa1235fed7610542bb386","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.37b4cf2.tgz","fileCount":18,"integrity":"sha512-gUl6xngayZ9U+cE/vIUYiVjoqfOXD2QBUO1wGPkIsiiXiZh3RJdxRI/PhxEvt3tmLGynZWgTWIbBZ+ChrF67VQ==","signatures":[{"sig":"MEUCIQDc7UhsNzlxtLEHHjVQKK4CLzVMmg5BOdZkcFSO4QCusgIgHWy7nNTa/f9xSueHEtMwTKRvzdKzaMefpe0Nce87g6E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMra3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoaKg//UaQdufMPCy5PTeR6/yN4KfydOWFavedLP5TEfUu0oUbblHea\r\nTiYCBRTxCzI0oeV5ggV96XGnt14i9ZDxhdmnD2YcazyY+8qwhRdmn/PAsXPe\r\nF4KCdi6s/rWltuG2zOl0Oy2BWs5g0Wqamovaq2v5tWbdCfRVgpD2wEyBpUz4\r\nIbfJh2fHilrFOWK7vcvdZYFS1VCZAIqGFZAC7Fpnh/o7TOgkv0gsu9mb6O9H\r\n6yDgjA3GugpVa9MzKvFr8D3VoW9GMfp9VWZNyR3r9U2B9Px4K1P5Ejw4dG6O\r\nMsHmbKi5GDweJNK4FUhpxNThkB7oC9uoeP7/IcQWv5dA0eNJeEpdKRbhsDnA\r\n7JDANEdV5NH3dajx3OrLtRuQfUEzFR0H4iHr1hVuJSKmqWJdT7yAMTXA069x\r\nvLLUKtxx2Tr3yOBEHtSEpvtKJ8SHOYxwjNTQKzEpAWIOCZIsl+KfJH8YLtSc\r\nfB7s8TfnP/oRC0hdVJpy36+9t0W9RRynC1ODdzUPM6fSqcWRL51+x18f9JaG\r\n+Fi+rSsHVUoB3z7iPY1zYPmVTfzjFG1dX/0XYUZi00f78w2iAIU2ZaXCxodC\r\nBf4KhL+52553xWCNQa/eiKOih0u7PBWVEHANN3u617VPOYsfjFokoi9m6nis\r\nuWw1+84swgylkn7c3yPeJ0vIvA9mE+YQQvk=\r\n=ppyW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.37b4cf2","@microsoft/mgt-msal-provider":"2.6.2-preview.37b4cf2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.37b4cf2_1664267959258_0.3505428691104986","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.21549f8":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.21549f8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.21549f8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1f8bdad63f1842207c6eb55ff107fff19a3bffbd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.21549f8.tgz","fileCount":18,"integrity":"sha512-8dldEQDZF/zB+6m8WsZRptGN9oTNGObqvqBpKOPWwOwWdZJvUAopwR5q+4A7B4b9p2jn4kNGtB4BUvtYPXJesQ==","signatures":[{"sig":"MEQCIFT2O49rNaw0kHJFvRkh8aHzG9nNyp9QUt/7DiPAOt2BAiA1IGPB/iIiUUh+RUDucmlu6abxvVqKqrEit4nz1UV9dw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPWuiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqfsg/8CSoX9h0h8FqAV6pp61p/sAl12IM858uNbYlc1Q1ft+PcHedX\r\nOxdStMXx8t1jEsLlYBbpZNZD3cQEnzhGpefwegwae4/bto/wtMfdfYyXDalG\r\nD9s6YzGzXj1cLZm/8xS1HSKjjqwxAjtB+QOKCriW6P/Vz3VYLvxH0mXlyZjs\r\nybS2u5VuEWPeTq1RM2IiDJ9IUZy4u9HvjlBIn6BX4LK9ibg5vmfhs1sanLeW\r\npog/YvebSe+qA5dTqwsilyGk5ZBrW1MkKt8T1wCNugTofr/2ZKgrs2nTkgdX\r\ndxQ1jLGQ4QSwddCY6Wf1p2KKuzI/0fnPmc9gYigQgzkS4tEnJ6I5lpVTvrrs\r\n2jQDgZqqrCqxA+nP87LwE1oAs3PDqd2iubdxx2DOEUCx+e1EB6HPZHAWMX2o\r\n2YzY2Ult66yVw1qXqwDGwXSBbdwXy5nq+DBY0sFtSl3Eo+39mVosEOA75zF9\r\nCx+/C1Mwhd5NxNzE3KcAygMaq/q8XjfTmgXxNw109iJ3idaAoDxIGNuk0XLV\r\nA3kRdjR9wfElzWytf3z0txGHXTzhc340yKFo5NUhFAEXneu0LDubtyKcijKi\r\nzD5QgzTMD2ZLr/E/T00IVyvzvvBfq9+1vsDmSzFzekK0Pk+Lo2utvPeAooQL\r\nXCtOJ7RKyeNcxY78kMrFtLzbwLw1JSE3Gp4=\r\n=OJVW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.21549f8","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.21549f8","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.21549f8_1664969634038_0.25154390926181946","host":"s3://npm-registry-packages"}},"2.6.2-preview.3ebaa98":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.3ebaa98","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.3ebaa98","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"37eebd7b02a9e0eecbbadce5c2ec0ecdf06139d0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.3ebaa98.tgz","fileCount":18,"integrity":"sha512-MotYn527lzAcVYUU6r7mZjbCf+DgctmbvjRwKNI6xREXQagFVB3g7NMhsrJwKWRLhhzMJCJ0GihsuQQUlDHZCQ==","signatures":[{"sig":"MEUCIQC6j5DYU7ogk6mrfVyJxBQ/dYAfKsXBGLmiv5yzxA1VaAIgCaRBYzqetPcY38W/9dKDXfUHwAeTtij3z88VSeDmDMw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRUQ0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGGA//Qm0dYs3oTgKgoAKqpPpkc9e/kEY7mtbdVI4/NxAkfqxIbGpe\r\n+VeMDezMkJQoOdcrq8ZLxeSziCSMueT/S0TWIzvHRxFoKoCsbS1rDaK2Po4g\r\n3RgpxTnSM4APGWYYn03hu2NYUVi7WhDlfVMu5Uk0xF8WV7YyqzM0J/ViomnV\r\nbAiR35/+SB/57PE9VVqrNUdDjIPgrIPxOj1ifQWxfwgfzO2Ami65/m7is3VY\r\n3fjqQnOFEAnRlwQ8YZifjiyzNdGxoDwsISs/TpcI1PnFZfym9u6TiHAWQRX+\r\nkNGvS2JT4bKIyGDOi5uAbdyVo36lPvZnmIxj7qrEUgOKeHiR1TeYviWZ4aKd\r\n3X8F1Uzqm1y0ARexUk2iacBCRng+GHqnkUXj2IeYvrULnnLSFFz6LS8ORfbj\r\nBI5N3aG/0XD7iVE+u6PyXLRxypmfgCAwU9F3SqoZfutubD1YYNFxpHsSk1wQ\r\nY+XlZEDeq/C5aUTYBEiWBzl6VJvz7jMBK1pCOLpLXdhZ6KAXFl/WmIyDyHsI\r\n/1D80F5RFcNMJgF3/ZH61znnH1ikYvB4f/T/L4xGuiSyj9QVD+TNDdnVrRjS\r\nqnBtnqOPUnXLPSi5UUudMoiNQwHy/3PZqsD1aOS5/TJzQeYzMLalqbELf3VO\r\n363NMTYZ5J4DyLBAL54L+fyLKmgHmpkaLiA=\r\n=4Hcc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.3ebaa98","@microsoft/mgt-msal-provider":"2.6.2-preview.3ebaa98","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.3ebaa98_1665483827801_0.10608368679444191","host":"s3://npm-registry-packages"}},"2.6.2-preview.4164940":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.4164940","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.4164940","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b645e0c7ce0147e02a3e0ac85f0fab6f7d605293","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.4164940.tgz","fileCount":18,"integrity":"sha512-qEVdAnctdvF52JsTGT0nC+jpiI8j3CEJBNfUFHQcADSoELnLr3kLboT2NB6p+83SNlINGYauMVQb9vWazZlDzw==","signatures":[{"sig":"MEUCIAmn6OmNnsHvjZoJiNzWQsm+8J/uEkO1krr2GMFfw0GHAiEA52PEQTnY7/pQRLHvNOkgV97NLtBYYk2voFHyc+abtH4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRUcxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6lQ//cevMnhEDfGweMiL9NDW0IScOjhWQs/lspBfFEHc34r5n+W9N\r\nVyvEqnOurreth/ha4NI/mJkjANZ+T7HDLeFT8NnVhQoVu+XNnd9qIIcdDLCr\r\nyYX8Bn3hTKIZoZf5quw4TTrLYd78OXiltCmOr9KhnLTTiYF12LnlBOPHtcxk\r\nXsfMkzCQwmSGG4E4JU38PH18S9rK/fOtD7j6p4Ak+EwbS6mxK2Lfwv2ymcIP\r\nosgKyb7Ry/WPKL+pOCOpa9Owq8owPmGBwOXqr/kGrK/GzMd3lG0YloDDx2ST\r\nZr7hpwfMruhZiq2F8l9aSSDXRzRNtXiN9FOiFOMTOIsGlNTqV2xbyBuOenqm\r\n22j49iq8oM6S/Kjl3pLNUBFrKdJeIKbnxoHu8EYn2rrCXzTlyRnquf+YAnsB\r\nH+Duyyrai0zZ+A4qAAba+6mcKPhc120YQwR3cE8VrthrNqV2ycoi5J9qRftu\r\nsWtMkjG+H5JI1EIk6sajYiLIFJnJPqOJ12pPqJ9i60pB2/LYUNIMDOcnhKNG\r\nIYLLpB0DWAl1vOZYXcyujv2Hf5Y4MoHkvV8i/tZFuX/4Nj3UoRqPJqC5A1Mg\r\nDVQFZt/4ou5/X/aTUrc3yFGv9Oc7eCAJ6q+wcgp3RHlw7Qsec2VHYkxLn9Yb\r\nXhTHKUKlv1W/N7K6zySdy8AVgSw2qrFB4Us=\r\n=PFnD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.4164940","@microsoft/mgt-msal-provider":"2.6.2-preview.4164940","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.4164940_1665484593059_0.4165441550326652","host":"s3://npm-registry-packages"}},"2.6.2-preview.73dc57e":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2-preview.73dc57e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2-preview.73dc57e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"aa807d73981ae3c515259b696bd7a9efd6c7e39c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2-preview.73dc57e.tgz","fileCount":18,"integrity":"sha512-NZB864bYk4KsmFH71bvrBlN48XIXw5MmjoMzu1t9fdOhB3KiNb2jAhJeRtofO43jIUpNsUeYwiwLH2bch5zHhA==","signatures":[{"sig":"MEYCIQCT6ljGZ74FRFkk+OdTloPfnPwsmx0u8sJQmlFxb+BvQQIhAJUY+EVeKJBBNfbpwCUqRgviiCpVtP6P1Z2xaBIWQg2J","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSB2lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHTQ/9GifmYaBCviIE0YdSLBliX/HHYs4tX3RjiNdbQud+08Lk6wdY\r\nhxdUwiNwfa9y+KxxluTMhN9mz6VTxmXWksYbUnE44U989heSaXHQqXR0dP7b\r\nj3LC42ylSfgqYmqH9hYe4I+Xl9jCm1HeC/LaMiqlm8dRCG4QA51llAw0FPk4\r\nF7BoVNEiK2Gz+kcNkY77e3L4ESU8vWGimbzbMfR6RJKZ4CDwCqfAzBpG1Z3A\r\nY+yyHsp2Wb1dHtFasIqxHmAh+BbG1BPWkuVnN+h2HSmwnAHlywiQepvz2itX\r\n2iD/Meo67rc9u7yp2zxDbpE/7vDLbxBq2+CGKHwLE0/Qrf+Ur0LuD4JULrA9\r\nGPbJQdhfX7jZKOwjuZan5B4iiXvTGAqcTAc3uCg6d28V/UGI8/32OyAC/aH1\r\n1zZHx1XvgMrPunMPeURLc7f6+sx5Cy2t7p/1s9+ybO0crpaSYWP2Q5T5I/u0\r\nK/rfjY9Y+c371mdS8T2BZrLcbU7CTUH4Y+dWU1Lbq26q0CML1Dlm4WARhu8y\r\ndaZpCsFigc27n23EDT0G6agqzhx4P9vyK0Tc7iN1IOpenMKD9tABDJeTCusz\r\nP5fprHWEWRRuujIf4FAv8bPtrv7TvL4nQoL1mesVAmUNlhDBvwk4Mn9Um2xp\r\n2ASsSPycsgg+IK0bMm8lSBxmhRYaCzM12s4=\r\n=JsJ8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2-preview.73dc57e","@microsoft/mgt-msal-provider":"2.6.2-preview.73dc57e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2-preview.73dc57e_1665670565707_0.2530653998145358","host":"s3://npm-registry-packages"}},"2.6.3-preview.592c5fe":{"name":"@microsoft/mgt-teams-provider","version":"2.6.3-preview.592c5fe","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.3-preview.592c5fe","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4fdc0bf96d8f6dfaa5b31eb2bce6fd90c6dabdbc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.3-preview.592c5fe.tgz","fileCount":18,"integrity":"sha512-bV7LQLBNQQgcXuCTy2vvuw24Ua2d0QX1hci6NOLJ9cHwN8ZDWLG6KdVTmR1y1ajsR0NxCQ3SGdprXxKAUgQagQ==","signatures":[{"sig":"MEUCICWZUUixH3jzrLi5AcMdXwdg/FtwLcue4Egjt+leNJduAiEAnDCqMrK+e7Du90PWUeCxqLCAJ8+rLPSPqUfoyUTTDpQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSbkxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmor5w//Rj4gra/idOVT40BlvIgeFINj2flWj7NM8e4yZtYGlqxVnWcq\r\nxdBcvkQBjmQ7M0FezYXz0nlO+4OcM23PKEzaefOyLf4v/Y11K8ttYNBwgxOt\r\nqTK+JFGjLmyWSZ3dsEV3n+qDZgIuvyQBLbS0EGfGX/dJqEPfme6CeVyG7Hu2\r\nouHx50odgKW6DJjOmiyO4SzQyOtQsA0yhpI2cFnaswRGu3mPgOwbPWUnLEnr\r\nogN6I20cTq2EcTwoRQfxGqXxgX9FgC6lCx0y6jMOf9kEkeCgk7LSeAZyPO3N\r\n9cznaPwWjSo67gnACC446JCnfsiAKbtvq20UqtG6fKGS0jW8+TnMCNCfRkUG\r\npRLf2sr52JqeFcGBU3eIgTc3IfwPd+c0rulnE0T7gb5GZJv6MuvEZr9vsvJh\r\nxFgf8hD6URJgiWc/LGCsymTOggoqBz6MuCqzXFfKbXgC6K8Qe7m3OBLpCvP8\r\nTB9wz1Hp0NfPgQgGIE+/ZttPKMxAvLZMtAvDpmLAoObuyfVM6vTRZWaAvz45\r\no2xn2D97mys/FNkKYjmmkMU5halFlB86L3s92b54K1Ydnr0KjH1fcTOI0+K6\r\nqspE5GXqxc9x8zBiN1O0893jPiautDKKWsfwz5QSp8tdLtYAvXxOo7Ik+dmo\r\nFKT8Y94oV8d04MoxVpEA0RC/iBXSl+EwbSQ=\r\n=NPi/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.3-preview.592c5fe","@microsoft/mgt-msal-provider":"2.6.3-preview.592c5fe","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.3-preview.592c5fe_1665775921165_0.43665512626680214","host":"s3://npm-registry-packages"}},"2.6.2":{"name":"@microsoft/mgt-teams-provider","version":"2.6.2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"05ec84f46d07636cbf4b496b1bf5566a9b63f3e6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.2.tgz","fileCount":18,"integrity":"sha512-ndqC8X8XprL5j6KNqbmz1Mw7pWEhVLzeCcwmMm1gJPK0OrQgA1ddJzthhGVWnqS5uU5Ajt8dRlYBQWno8byWXA==","signatures":[{"sig":"MEYCIQDxnfTZ0r9EeYQ4VfTefaHXQ6vQXfMx1yFg73rSjwUpVwIhAKSyrMuHvUsoQ0DBo6KmnMaowj1IRa8VXjdz/PUtYq8z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSdJ9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCRQ//Qz3lViBs3jtbeWmHz1VO04kwY+2npM2/9j2A/7ww8JYQATvY\r\n53lEYD6pOb/e0ThyhxzidHcWrZh5MmoziijCOW7hOEfHjZ5DVf34tKP/jRFm\r\nJ7te+0bKy7vuH/gE/DqX3Ip1sZW3MDqLwZxnqQ0WdhMkNSsv5I9ChYw0uTYL\r\naDYjA2aJGB7ScZ7Md5qzW+F4gfNCtMAYZjJrco1SaKTKD7KbA+0REEdvVZXk\r\nh8cGHCJIYzrnKXm8IQstlAtLUF/PBfW8TCol9UIGyURg97LyzhZBLQqLc72v\r\nqDN4/f88gAFvRWvekDcwJWMnhJqYZrWxEmPbXWyRPGe5HIMuvgN550/RWUE7\r\nT1HjYWHloKME2kcrjYTW4JfRuwIpOCWK97yX8JlgvTszJ+f6TV1U6tZSATML\r\nkhdGwNJFT7ICM3XcQnMwKgmLsjeMENG06du8JCpKkuekGMXvnRgyCwjp8vdw\r\nRH0E7FvJok6kqzz/972oGlNrIWpQTjT2uM9ZNV+No0DAggXyHBgqWZaV0tw1\r\nXGAYt1Y4CGsXaih/4Pe8d0F+BbcxHMesKMp12z7x3VACkFTTzPJXyt1KtmFG\r\nQFs04Z20Le8auSF6oKU0imxJSL8vXI8Lst+OPOh4TK4CWewx5NceveE+Q0b2\r\nhmZK80q6hnYYsYY1fdGGqv8zWXYdqshNoOU=\r\n=c00D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.2","@microsoft/mgt-msal-provider":"2.6.2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.2_1665782396751_0.4806458084359","host":"s3://npm-registry-packages"}},"2.6.3-preview.20bd6cf":{"name":"@microsoft/mgt-teams-provider","version":"2.6.3-preview.20bd6cf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.3-preview.20bd6cf","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"fc156b7aa6953411398bf35f2daf50eef7aa6dbc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.3-preview.20bd6cf.tgz","fileCount":18,"integrity":"sha512-4pqee25uTXy5BVpCkBoSgK19EBBQnQIN6lu/vKSYON1sgs9dnfEopENwgFFhHc0bhppeppkSD7zkqxAe5g0IsQ==","signatures":[{"sig":"MEUCIBjMgjIaqS/x0s+NcxxjF5gxLHZRdAfABVdyPPGIZHxZAiEAvnW+8IhqiuFclG0M004VgB70Su8H0cixzB74IrazasE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTXsiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpj7A/5ACiXxzFdJgGZ6vREyPS1QdatvvFREMOQc/j//wy5eUdCiAwm\r\nUAPhCVHqV5DZ7C76kW54HfilbstBY900s4uBiwEr1ard/31a1Rckdu5EFoQ8\r\nzK3GAmvBb5tVu029ypz+7X1lPh4EJTer+ODQiXZ/hN54NhGC7RqoapRS8aZe\r\n1Jay/B3v0OhvCEZJ1ycLGHGoR4dmiXjwmxSFW+xqYOUVW3t/YirtxzHo/uUv\r\ngn5RCiEF4DHgN6PFYCG76E88TyBrPsLCX/2mx6R3LvvJCHf0gWV4SfkmVIEE\r\nHeMm0I7+f/CgK9ngFaFIUUEabp+ph1UR7A6hFAse8xi8X9d4IKduFCmOs8cl\r\nFDTB14m9x2BDZ9wNR6U2nmBMYroizEJ0gHElB143Ss6iTxLxuZPth6CpgTrp\r\n6PXczRjF1uFr1Uh3/sULXUn/aym3/Y2UKBWigMYpFURspUUlEzil+NXc6qVc\r\njVoyB4Rdjn03RNvgmQpJIxemwYBFp58qrIv+0EOHzvfF9MldkWIufob3g/bz\r\nHmUQFqJNGkvSrhjtIKeieuDx5mg7sPyBXUxpX0yZQSGbQxx/lfca0wFilFAQ\r\nnuvpdqNzSWwMaZzoyK1skAJXhKFPg4VBKSQyFBn1q/OvCkET4dLZTJRsv7V/\r\nR9OoPaiY6Zllke4YKxS09U6o3zkVJEGyQAc=\r\n=lE8v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.3-preview.20bd6cf","@microsoft/mgt-msal-provider":"2.6.3-preview.20bd6cf","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.3-preview.20bd6cf_1666022178044_0.7269817444904536","host":"s3://npm-registry-packages"}},"2.6.3-preview.cd06fe2":{"name":"@microsoft/mgt-teams-provider","version":"2.6.3-preview.cd06fe2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.3-preview.cd06fe2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"50d9f0102edda2283c350b45bd7dfee9a7b80fef","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.3-preview.cd06fe2.tgz","fileCount":18,"integrity":"sha512-itGHX7w2i8907QcYz1X5XJVIAemU0UDtrAMg4iucEdsbWnWVdbC+hRAQw6MeE54XPAcAiyelgq2ovUTyMBgI2w==","signatures":[{"sig":"MEYCIQDS1nLjvqhmkcR0tYms7V1nfIY0u095BIvH3jGXQix07AIhALmkzaFnPyD/mjFJcCTprPDrG2Qj9yhoKxHTl2hCgGLi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTsF0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojPRAAi8seMUwwhoMyJ/VVlboC+ilb4TuV9VGq8gDX8X5QFZ0ScGTa\r\n2FflUcOAo3oSjR5a9hHAnoSifoQj7M0lPhaderQsrwJxR+45UAzQnRCRfllP\r\nTsoigdlL686dYt58lVlqPzF94rVEuuLW/8KYZ0WDLS7Jwx/r82+1OveXAYBO\r\nOmInS0qU0RyxrcH3udn5B1TUEGEs6umVhlKL+9p7QP5p5WSV4S1TsJxRU3u3\r\n8NLdEJ1Feum930roW9D4ptYclhJTgIW5IuqY3CH78kdfiw+LIwuGHIwn9Typ\r\nAarD31CoKqRN1IPv4TRmVMldvnNxR2pIJ0097p9aMJzLynZ5nE9PcfGRdb6v\r\ngu5uMZ3S2rD/kqgqvv1b+OKOXteUl3XqksBFN05M2qkrYsQWkPGmtrS87MjE\r\nzdwzIguhrz0LREt+OBxdaR65Uz39hXwmkeznzvMwflSPIh9lZ9Wv9eIj3hul\r\nUrly+sdRbFTViblElZAw5QX+gHLCUSr397fTWjh0yOiW+sXpGz03ijfeB5UA\r\nlTulTJsDr4hxCUvT5rfZmuwgKjutzEbx6C2SOA2k0tsbY288RrIVHwB96EJK\r\nH4Slx14kOE3LY4RQeRq4qfliAW3ISDrKffsnDpPOQ/19YAxH5Hay/AeV5Eje\r\n0JBcblqeW+jgRGaBhlKFKkb50o4cW6R6sxw=\r\n=VIlD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.3-preview.cd06fe2","@microsoft/mgt-msal-provider":"2.6.3-preview.cd06fe2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.3-preview.cd06fe2_1666105716080_0.4999555065461103","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.412c250":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.412c250","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.412c250","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"44ded3996f0c43701dfb16aa21b465082a79042a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.412c250.tgz","fileCount":18,"integrity":"sha512-sg8X1jHxAZZi3IGo+gTaA0S3BRKEgio4dKRZ9M3yHl8cZtucYkOiCd864t/wBiyhtyulv0jnFpei/5FOyD5ECQ==","signatures":[{"sig":"MEQCIHfhcKS/+PBKsnWS9qLRRxuJYudVeqNq+vbyANvlyay1AiB8TwIU5668ovyqZu6h/vFm1XztOuvT53cp3keY2YrpCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTzM5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5jQ/+I380Xy39tjkEjCv+l5Bms5RmGuz36SC7zNittV+dPQj89EYI\r\nNk2eSbwXvPZmtwrpQpXcz5Qq1hE6Lx+ugzCldgEt47O45PpaKSNmeGeHXbZq\r\nzp1Mwy3a66MSB/kyJ9CLX/znv+pZjzu21wGr3OfBrLihLrRqFBO7WX2kBVWT\r\nvNVwIEl9ynMbrCr986ExBNHgG3t8yG6CL7Skc9sinpXN3QzPMPXW3YJkmba2\r\nJxA3l9a9iUB8MlVRe5hoiD8sFGFkzSE2XuYCubd8EAKH5QRQAI+05IRvaTG3\r\np0LUoLo54RNCRnH8l+cUXZZ9za2T1zpP06eeqWm6wTP006nJkKPtfVVGJTYU\r\nV6u6Sky9pjgHX5PHEbwk5QK6gCFkKAMkthpL1mBh2nftuPZcBgKKPuJTr3qo\r\naXYh4MClRKe9tnv7iQlIXNmrwcTH+eNmv+SP7PMBa0Qu97vsOYL3M7V5jnuR\r\n6eAt4m5FA5lqlE4Aqhxbu02SaGzLzWk6X2X4SLN9gTy2oKivZDeg1JnXigge\r\nNZmgGjCld6bPOe+gkXIU3h0bcAW20R7f/1UBw848r/azOXeRcxf216VfO1hA\r\nQS0OjReHEi6w2K64SVmnn5M4Ulvz1Dv7HTPz3i3nxfGX8l+6lgiur2epw1ef\r\naQjgKPZv3aKxQaCVnFxxYoQrWFxUn5U6oFA=\r\n=Z+ox\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.412c250","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.412c250","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.412c250_1666134841212_0.5892453960960748","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.71a05b0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.71a05b0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.71a05b0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f3ee70e7913773ff885db560ab3cc4432989e24b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.71a05b0.tgz","fileCount":18,"integrity":"sha512-9E92qKI3cT7L7q8us2GoVIOzeSHyxWfRjyJHc3OgcILavvxvpI6wMPhwALc9/118E4aGd/Mmctz8112IQ5ckNg==","signatures":[{"sig":"MEUCID+xOFKGJ7oc4wkHO+/wbl8kwrhDMNL2NitvfreTy/ruAiEAy8nkhxZ2JIiPA8lqlSJFZ1LbDy3AlNVrg2ubggqB0Qw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUWYvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+rQ//ZeielGv2qzcpQiVu3pMH84ErHvSCFuxN1t1/Jd/b5GXuKoEL\r\nyVD37Eq1xr5SkDx3iZ193mr8o3sDQuD4F3k3o04INIz55w5oEGaymvOx6IZ9\r\nbp+zBfEsnVKwP7RWF/a2iTbWbJfcqfki4tqZQL2bQOquHNHgiGuHvE6XEU7s\r\nASPW9+DBiyzin+rTz+dx1n7tTdJhHsVODNJzDhuBkb0zUfvcxY3gemSz2O2x\r\nxckV/e2+Zt6w7vA6dXtmFM9IKaTOlo6Fbv5RQ/GHf82NtSRElQEheyzexY7Z\r\no7PoejHktnwzTmrnGskavv8827XmkqgErrMttgCfikNwHx8Mb41UXKIdkCly\r\nSYDg4iy1BCg+Y8SgSW1uMOOuBdrqmXq4VtZXKhYni2sYWuUiZNmC91KHDzYs\r\nP0SxXv2RRxjBd2eVn2QO5gAPAwwXzoBUuh8pUseR4dmQKbMJh52FCGUqpJgW\r\nA2x6ATirJaEChmIM/qRv4S6c1jy3KQYD/yKBzyRngm7GNM4czTEdSu8zD0c0\r\ny9b0xu54lr59s8KlTUBinTPGn69PxaVWhpko5yehGP/K3Y5jiowdacEETKP/\r\nUw4JPlXhr+LM6TdsIza/aZ5l5zpUwWCx3OajWSu67JMxyVqSLgWh4oJjbmI0\r\nk+CXGDEpNs4jnLH2ns5RkQ0DCHiv52nb5zo=\r\n=mHo5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.71a05b0","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.71a05b0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.71a05b0_1666278959695_0.41158770219658036","host":"s3://npm-registry-packages"}},"2.6.3-preview.41de8c4":{"name":"@microsoft/mgt-teams-provider","version":"2.6.3-preview.41de8c4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.3-preview.41de8c4","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9a5e14e144dd704833e7a37db57d77c7d32dacfe","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.3-preview.41de8c4.tgz","fileCount":18,"integrity":"sha512-0B3EAn2X/VpaJPdiC/QqrIKZ8Zd+UpQt1VkXq7q/aF0gtGBeRDavdvHPRHf32vZ0bDeSn5NnDp8QYYn8b20A8A==","signatures":[{"sig":"MEUCIQDCpXnAT7P34+RunF1ATsgWShPu53VHo73PHmDAtKJxZAIgYCyh9tyTI/nwilyBk8qQfaheHwAbDnPrz8ZnMHI+dLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUryaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovjBAAjTRyI6XnNw7oUAGzVTTPETVFRB1eQVfRXdHA1wTjrtGd5UUo\r\nz6GLe7SyyiN1cwoKym4vATBS0Xg+qk/YohOWSDnVa76fadTEGigFTWmX0BGl\r\n/NhSHQS0uMDTQ9aF2Qwe21A5L0xqzRGiCbZfVVX/Y4MkGkOfo8Ajk36r3nFn\r\nnGuGzj3WKaFdVTHMgHzDvO7pUiHNxoRrmenxJpMYeAZtjt5YVVcoizuUOXDC\r\nqImFQ8Llw22SzNSWDVh1FZcMcTeXD2shwU9b7UFWnjkDf84kxRwUA2SIq6Ix\r\njgraHEf1oJlAqRXzpRZWaCl58EDXsVqW+0QN/GEwmc1P+tXr5uWCqqYfjvXa\r\nmZ4u1P774m/3p1Dub88RFEtrzO9QL9c5NDd9gcP1llCW8UMJU29zHbiIo6Fv\r\nExNybiRNla3YHfQ4UPvhg0oOSNK0kHEWQwTsq6X2Y4eAs0u8IwukaDWszptM\r\n0M3EPgjkTPe50W4LPnqvJG9DDEe1dkLQNxI0jxqIUYTXSbiyrWCGJ3t0hi+e\r\nJUHYOh4BV/8qNdmLjUjy8Nx5+LIIhSyRcRAWM3DiZfiyn1/T734nltyyQVUJ\r\nRpjO17DSWXO5CNcnllIpKzLMlR5BuWcILwHh/IflnYqqtvDcN0UvAr/NNLoQ\r\nd2byvZr8eDoNIrcj5E3YAftvtSA3+RdGsbc=\r\n=7r1M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.3-preview.41de8c4","@microsoft/mgt-msal-provider":"2.6.3-preview.41de8c4","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.3-preview.41de8c4_1666366618250_0.4605815503857402","host":"s3://npm-registry-packages"}},"2.6.3-preview.7bd958e":{"name":"@microsoft/mgt-teams-provider","version":"2.6.3-preview.7bd958e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.3-preview.7bd958e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d425031e6ce6d0e1292949298997005c24bddd00","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.3-preview.7bd958e.tgz","fileCount":18,"integrity":"sha512-8+3q1czhldHgvo4jwDBYVp6jJguCmC9d/d5RFhVSGCZ4xh4DrzXE9+2Sf/at680HxmjCjfZD4Sq/VmMkJMwXOA==","signatures":[{"sig":"MEUCIQCiGYMaz4jH5LXyN2anLNIMVBuB8NeuOU1hjuADCUf6zAIgDkCnMATLLt8jB7yRc/Btq41hyftufNFkbfNjhFlOGOg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUsDyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFAxAAmN61Gdb/PtlK/h1FkHxDGwenLcXIb+lpES46MR5KBwkEECG7\r\nn2ZiuOE2QsV0mh4JD20Z4ce+qxwrHIyRsTkD2J+REqMiTtCxtLuihZQwMQ7t\r\nSekn251FP6CKLNWmsBQSYrv9awkTlKye3mmCyKVL/qKd0U4lOVVGgD6SWSLx\r\n4JJONZ38MUscJTAtQO29BHGhhug9b6gtbvkwKNtYq0vPu7cOcNjyJp4u/fyl\r\nNTmYkLdllqW2dqzI0v/Y6wKrsanZbrtQa+QhfYRFlNpvIHem4frfK3y9uvnl\r\n+CwaQlkygpRXBFHYYxvEbEYP3kSXVXaBmhaw4tDNtFnqsdiSljf8v85XAEsF\r\nRder5HQgr+vgneUW0KlIxjMIeu8byVbf35dPbOxkCHoxhgwQJnWBFVQACPky\r\nf8IEzUzu4fYKlE093DK38UW0PCkC1HgAN7jwKr4PweuFK6q3WydlfA+8YUUO\r\nuPYziiSxBfyt2NhiIYiithbX2FsulB8XYlNXyyFmT2C/MRfKaV+tvq+qvUcW\r\nb4BBg60/69RYqXq7bvb0AXXrimYki7Tq+sAG3JUKd+ieJOSaLCAqcO+VtH2u\r\nBSNpbsn6lMUaWnZQxRqF2jwNwv7BgD9edVVoAAocn58UDq/JB6eaicDmnmx0\r\nJqP1Tv3LAfZGK09/qyoTnS8T6+Tvbk8QDRo=\r\n=k0sC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.3-preview.7bd958e","@microsoft/mgt-msal-provider":"2.6.3-preview.7bd958e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.3-preview.7bd958e_1666367730525_0.2630513312982743","host":"s3://npm-registry-packages"}},"3.0.0-next.node16-support.f415340":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.node16-support.f415340","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.node16-support.f415340","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"81e5fecddc9bbe2da023cee9b637f6cfa8792a65","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.node16-support.f415340.tgz","fileCount":18,"integrity":"sha512-3RllUuJwnagOfPzhDN0LLM8S5059TOkaahjMyMAri6prbmbJzTI9rjdkjSFFmC32MoZgRPOZ5Go7PeOisffqOA==","signatures":[{"sig":"MEUCIQCcdT2PIKM1FeYytp2GYF1NizCBlMs4NHUzZDGv0RIqhgIgQy70ySaVfp6jZpyOOd1MC0v8NIx7wOXHjUoyMzCPdwU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUxPRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpthRAAhHqrm0EHF/KisJeKaLC869NlVK18llJV0tPAGhJYQm0LRV6Z\r\nFfoaJFd9PxIIoW/GjrPvNkLmmeRDYjxn6XrKMshw7dOHx8vwzkzn3vnulASM\r\nn50ALxJqL0m0qkzF6LZUVuJAhE1shhVDFoUbcaDaeD63znJtMSg94S+1jZLL\r\nsoHRF1GPpW5OqYwlNxgqGjfVyciMY12FpaTCVbujw/x4tHE6AHrMymCC8ypA\r\nRruaxdqR4yA1rcE3yFFrG5KT3iy2Ss8ZYPamvMyn//sP/D4tfRt3vKZB2WsS\r\nR7kEQQbXpGnfPLQjOyGNoPdYzUZ02Fqj2t1pOpvnmQWc5vQ+H9otSNhLacd8\r\njmmRRTgFW2IAwZLhHN+LkCukkstM6LvhIinedxOnCJocqo8GPhFxAKK2RyAZ\r\nW7hlERZex0ZEo1bWjPcuFLtGbxw4BzitXRaOTbF6TIWvNZIu1JrBQQibxce6\r\nOxfXoPTwUsuArY24R5tdyk9HVEs0QjfF9P/CbM0C7afBd0bOkIivH42whDvF\r\nJ8py+6cuhJ1l5/1wNPjyo1ekWqIY5Gec1L22sn5EjLiaFynzbiBfiBWhL41+\r\nttisevlzAcLgIKTq6EGOTfm5YBYATiJtEZ4osm3OyoPHCixNkNClIRrsy5Zi\r\nRSEO6n8nleXchJJUidsCN0h16c3RSpDCCBs=\r\n=FD3G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.node16-support.f415340","@microsoft/mgt-msal-provider":"3.0.0-next.node16-support.f415340","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.node16-support.f415340_1666388945661_0.3108952132883953","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.8b6e9e0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.8b6e9e0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.8b6e9e0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"65107b3bcddd41f1d421e7e2a0eafd252bd24e0d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.8b6e9e0.tgz","fileCount":18,"integrity":"sha512-o3+DAJFvUA53mQrhvXdIPolblc4WFUqWJrWroYYogfJUfhmuNKPpFfd00puXvNOAQToKUSJCbkn9Qnur9y3RMA==","signatures":[{"sig":"MEUCIQCBwdHhQGcI1c5h7qwXWIWmL9AMXbjATmFJzEghtTlT7gIgRu8/O5FIZKoE+CpiTyMdxQiZ26jIJSLEzsBv7i1a5M4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWCqoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZSA/+L0phM4QynVmARvlgV84Bz4FQHmzMy6w8/1x7fv+j06TM5g/Y\r\nHXhCBZnZmLQiH1vvF1hStordPLTSv9BLt588eofR/0qL0t+rjh6xUr623Zuf\r\nPVAg6bcQwAbiXMxgz5CWIKUyHDsbBI69D25FCk/miCoKA3Hy9/CISqtgEkKy\r\nezw2kJpq25f07qnYnYKQFGsDxGzxE5z86Id2RAHNMDu3zX2y/6VFvXOXpZdB\r\nhwgPtqhCP8jmIOwwr3u2+5Ve8FtOw9yA+DokA0Rt31CnR9jrBXU6sL49dciC\r\nd2f/tZR6Vco+NmiQHNMHm4R3t8dSQe8y3EzmKGJlIIlzo+xjReNftd1vytW2\r\n7oJaE76q/p46plnfgdZ1ZdZ/PIZkcWjibRSgOQGTqroNIMLdUyf8avf/HD+f\r\nC4KqTbKy3/Ji7A+2+dQSR+vhhxWqijs5SnoLcJV0D54vUIhXjZBbv7a8YFll\r\nFEVbM/XXbKAIa0STWRc4jLZchJNgjVFdjy6Xppky6QcEKXWwY3k1uN37XeHp\r\nySjKZRoEHIpdzuUHt62gV8eiJK9UhAYtMa8dMtpo/REH2fNJxdF0J8w8YsuP\r\n2kvDrxWj7qu5PA/fE+XDutxi9TcwNbsl/3UUfsgBwWN7zoG6C0gLTljDfdy3\r\n2L9wWicG3uvAGcUjS8DHps/GJVRVCuZc0hQ=\r\n=Ho8B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.8b6e9e0","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.8b6e9e0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.8b6e9e0_1666722472193_0.6297311207504355","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration.43194e0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration.43194e0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration.43194e0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e89d16b50c8576f7641f59769da32e2df6309443","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration.43194e0.tgz","fileCount":18,"integrity":"sha512-DldbeWm7vZmyGH1gT7U+oFuVWESh/X7Fpq9Cj4zuiArPCVmuAJKV89Pvlq4HHibzPYnyaCLxIvALCrdBL6YmFw==","signatures":[{"sig":"MEQCIChIAp8R3CDpRVT1JCYLR4EmOn0MDKJFuqJ9LHTQDGotAiAiOuksqNroYp3BPWMIzjvbkHGSTh81H2gsyqs1gWY6iA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWFprACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJJA//eJ1DUBhGhLRf7YxoWRQpLQV/6T/wfGCHm+DVnglXh/xx01zh\r\nBn68x+3NJaHxKVyqAyfSL/zsIEIl2SmQUIIszy8koQF0tc7RAtKGny3O8YdX\r\nsiOjzOCIJuTqKNCIvIMHqJiN2uk+XSDo+Zt8s7bhYDKhltjRMLlgD3YxgDda\r\nOY/lcAayxj6M500WAyykee4rIr6m0uiL96cXxFvOn8tv08yTwV2hguyPfugg\r\nW/qmary9wPMvs8mNlYXUqat5AKYJQcFEpQzo7MeBb1pYTLKo6fgTGSs0dqsT\r\nPSNQbUcXtgpyuTNxNk7w+WUHSbQNy3F0VJi1gYi56LPuKzGldv1udTawuZ+j\r\nzeFaYAl9lDchOPPrtnooRqHhP264tMYNg97sD0UKEhQ4UjPtrcUmtgzpsjLz\r\nFinwJoFXtuFV1GOHr9Y9Cn3Z49ULGzyNEM7p5nG8GQY9pHOKa+nFYKY3IDSU\r\nL/lrMTGTCtRwdX9srWbK4sS6Kyv/RhbUz2vDCCVZCzEjvMiYOuRbZggTeVpW\r\nRIFC/H3n9RghkSACVYVYAy/ClLxXuDgjOwVHrGKuQxt6yxM3/pxeU/1esv18\r\nTyssPSK0b3/xxQtmfDWYO51WBoKsqTKHkZUWbTb3O4cXX4kHC3n0caxuwbDV\r\ngiS9T1RfZyPDf+IXGZ/sdCkfCAqYa8ca+7Y=\r\n=+1oQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration.43194e0","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration.43194e0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration.43194e0_1666734698873_0.33873420396488996","host":"s3://npm-registry-packages"}},"2.6.3-preview.d93bde7":{"name":"@microsoft/mgt-teams-provider","version":"2.6.3-preview.d93bde7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.3-preview.d93bde7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e74c39f1c597469346de76ee7fc34f07dbc02a7a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.3-preview.d93bde7.tgz","fileCount":18,"integrity":"sha512-RUL/kUmsuC3tbZE6TbFnxBV1gAavCtgxBiUbH3hGZb3RYmxVn0Z8pFZB1IJnxHarAZ+EhLv9ws88ABwJcQMUGg==","signatures":[{"sig":"MEQCIBWWqpMujLkUr5RR3kxtkqBeso2KA4zkCYhR4zBto1cwAiB9B0Rp+4AkkGYyA9B4e0FG2oPWa5oi9ilNejIm0e7E4w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWGBIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPjw/+O0K+SpvVaFbjJOG8ctY86RpASUeqEC+j+z3rNfunW0rOe6el\r\nBMTKZvOnkKZoDQ4Utu4/YhYWeUdwoixdYVNEMtCVLfqcL2y1qCJPPB1g7yxt\r\n+Rn8+FE7of6hgix6lXSl/NiW1g6HO/AEv1IVUaVdXPBOSVR1rcy/EDp9EifN\r\nmDltDMED9BelcTNiDCFuiH2GrAA7B5IGka3cOxT9/CY8xKhy/uVOO9YE2afx\r\n6GkgSIxc01vceHfxvDu0XfeMS1Y8OZHjZfkx0pyP7W4qfocYJF3XxPdVZJZB\r\ngPpjOWGZzPq4Gfm1O6CQd2HMQEZTqALuf+jF8SAXu++VLOwtVl5GuZH6bAXb\r\nwGUpu2JqX4G7dQev9LCn5AGD0hGxZXE/Wnd37qGBPM4nXG4XadhQD4Zshbxj\r\nSChLqV9gQI4CDMdp3QgNHDmXaEjH9lvvhVgnf4fLZAhJ15E5HlQxniEDvkIA\r\n1sfnVaFNT52I8nEygH0MIB4dUYXGkL7irOrZdTqg3aNwxfDWTgIqu/xqp8NG\r\n9cGT7W1rASrPkmUiZKeN1Kb6yJpxc7nOvEp8fq65TFvT0q7d9sIkIgdBwTTC\r\n311uFwvCgDnsGnQkhBxHd0pz35SVy0gTaq1akTRD+OtcE6aGlsTrHrEFEcRH\r\nMS1R3euUtjHHHJ4p9afmphlj4JLcCPkAnzw=\r\n=/N4C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.3-preview.d93bde7","@microsoft/mgt-msal-provider":"2.6.3-preview.d93bde7","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.3-preview.d93bde7_1666736200734_0.8398465919844267","host":"s3://npm-registry-packages"}},"2.6.3-preview.9a98e07":{"name":"@microsoft/mgt-teams-provider","version":"2.6.3-preview.9a98e07","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.3-preview.9a98e07","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3c3560eae3b89ad35aacb836fa0e0a459862f09f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.3-preview.9a98e07.tgz","fileCount":18,"integrity":"sha512-uTfxuuUl0LHXXpXYRIVSdPMLp0T3BfS48dbXb8GPQVDooS4jezkGR/MC1VZJviG+uuRiE5K1jxeZgrvMUd6+AQ==","signatures":[{"sig":"MEUCIQCtTl+Cu2CnSYzkDummig0FBplShVlaKZllsjtPvZ1OTwIgB3iiiz/wazjtHhsXfwr0fo3tnz0aDZvp3ri0drdMheQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWGMrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrluA/+Jw4k7kopaxHfjdDaRHalF/ZIvU3exae/dXj13XxJoDa1xltk\r\nJdFJfUhILeZWSsQ7pHazFGWRTIXPI0n1QW0SyiUKO7H4v0FXKpi5qzBxm4Lc\r\nKCnCKtt0+Ek11abXU1CvOLY1rGyMsm/pX5ZWzCAmUXgmbugvJjOeoSxeKCy2\r\n9weCq5dKf9dkTMqOHcFWmx9BpyCnXg//Hf/qaPWvK9L7GnjbcrCGN0AeUK6u\r\n/2YkLtOdPk0iTocQXrCTlBVzMwGF5XYpX+DCLTo3CxR5bl5RZWlmNwOhSrHD\r\na0zU49gc1GmV4H9lGBPldA1PojP8yYlBMiWB0Duze4kNWtHlieZ2/4yWUjjH\r\n7WLhE1Nn0O8g0iZzm5HcrSHxgDtK2n6o7J/Ad9eyAHO+EXMNxovasAcW5ghT\r\nIDeQ4irERntz0U6mQbj8wHScZALyQ8bHQVVGjKJS62HaxcutYpmoYbmwms9H\r\n21X9jRIiDt3T+i+wxZYNSG/5wu+j7jRKYDGZSP0UZ8tMAoX5aloWJmpFdvED\r\nkj14V8iinCPp+GmlnenTpS5Yl4oHzLuGifpb30x4TpEsRUnUjGcwZ9Opo1pY\r\nqIXZ3Y+zex7TQitdYQrHP7is8iFNLwfIGro3UqhwvWiYF2LlbDu0EoLgKSPU\r\nWUEQSFHijA4XYL9BfEboiuPIMD+hVNcV56U=\r\n=MRZ2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.3-preview.9a98e07","@microsoft/mgt-msal-provider":"2.6.3-preview.9a98e07","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.3-preview.9a98e07_1666736939183_0.5825044350263635","host":"s3://npm-registry-packages"}},"2.6.3-preview.adcc63c":{"name":"@microsoft/mgt-teams-provider","version":"2.6.3-preview.adcc63c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.6.3-preview.adcc63c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1e535d2425222b16d6084829791d3b6e7fc31730","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.6.3-preview.adcc63c.tgz","fileCount":18,"integrity":"sha512-bdIrnmFGgd3HVZNb/D6vJh6/Q1HI7WRJwxrtW6E7/wMoKOsv3ONnYMFQ6BXo6+brBVAAD99IupR7sL0/SOjmjw==","signatures":[{"sig":"MEQCIAwytaa1kQINRbcMB7zQ2LGYM4SjnhCA48Cx3drx7zYDAiBJ8CX1qoO3sA8QipQ/r1WgLBb60VCIqov5d8Z/Z1cOoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWcI8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdXhAAmCUfyI8HBSa0OC0smtwDlmfsO7QCXHNBdu6hBwkiRAReSNq2\r\n/MwhCfVzjyqpFRXacWQB9INzWisCD+EbG6TiFzmDwWbSMV2kBL25HZ0YbM9I\r\nJgVLWLsa32ewDZzvm4mgamq/3MDztIb/ry+kMpySajfgn0Ta2iKkRweEIjSO\r\nFDhP03cC+TvGuPVOgNqYXWMZztj65Hzip5RphSVeMqvDwCO+WDQmteSfjyt8\r\nOu+3HuKEvKDMfVhpIpVfIkDhH/K6e1ZiJyN2jT/L3pxiP/tNx+Ueeuu7PuYZ\r\nUadaX0StFFDt2+c9taE5bhfd1Me/QoFf25B9Fodkc5A8Bg8ZUFlCPKEuXmvE\r\norVEOr8LkVL9HZJCvUBI+Fxhpj5dt3e7UO37VQ48XxYS7+S7e2F7aH1mf9n6\r\nufVa5P+RnyDObZ7q6uCNmGF7otPrrcxMdI4D9CH+74Cw9Er8pgAWHEFPoxIs\r\nkAmHbZHb/bcF6gh5ndRaw72Q9Q+jetTCWVwnCX1zUsjU9qqyqsJWHcrWW1MP\r\naUlh4PPqHVmtz4WUbsK6M01jw9+RPUvUCWOoeQbgmxMAMRDbUqkKhND7jKyo\r\ntmNOt1b+sCZYcA1SdvPWSkqMX8xTkYjZpgPV0hQb5Zhl3AYCUoZMJEjF1PAc\r\ndlai0hfaAooy60/+A+fP91O3cO4qRgTWXy4=\r\n=OJou\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.6.3-preview.adcc63c","@microsoft/mgt-msal-provider":"2.6.3-preview.adcc63c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.6.3-preview.adcc63c_1666826812196_0.5147542342230729","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.a573bdf":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.a573bdf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.a573bdf","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a5b88dc8642d4d6e0f2f75699720ba48525fb9f2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.a573bdf.tgz","fileCount":17,"integrity":"sha512-gMQs+jmtCCiByQQeR4xSwGReCWLHNR6xMjVAMOOhqQ5nKU0oTgPLEMYafH+4dQOUV/1D0EjwmXe3s/RY+YCDxQ==","signatures":[{"sig":"MEQCIAWKN5BJNuSZqg83AZypqVraQ1wjx4Qyb54r87y5FNNFAiAZVav7wAygFejsf8w3FDeR48NpLYuk+DOnsu8FbJ3h3A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWcJrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDew//YtgUBhxbLBHnRfABgMLb+iKRub1eCkOJ5iEy8a22w8oPsIDi\r\nGqiswKwK/i95ivI0qKOQOp8kVZZj/dXI/XwcpBl2WuisY4LqLuvoFLl5OriD\r\nUTw1CbcjM7cy9Fiy7OVIuS3SyF/TptB7wYU8Cjlgl0NLVOyBiBawspeYeWZs\r\nibOt+Gp5bng0Mm1TEfjtpmE+LHUZzR3dBpScwWFe73i45/3lGhjVogixKuez\r\nsH6brasPmK1cUyiRcePQSVYRuTRphGH2k6Ti119rY6abEa/iFYGpG7EimT1v\r\nMe7fxE+Vbe3RU9SyGmqRna3Da2vCygTNjZ9qgCMlUleYuWMrJ+KhhUDjjGWG\r\n4JvkOIWMP6qZ8lyh/xbkS0I+Tbue4FqlZ4Kiaob/l5Qre8Fids8JJoPyQueb\r\nsyOF+/+1GF8leNN1LhSFYfcIl79ebPzMHNowofu8ZHsT8XPAoSmb/FXSuv6g\r\nYmdnJkNRzalmWZ+mTdH49v1TlRmGS1ezaYumk933yqM2FH8CF0YIgVrmzPVk\r\nuyf0HgYA9+KATh54ZMvClqKmiDwK7mRMyJb2SOQmfLOwMZURCt9K/1aOr6Fz\r\ncwR5ZWZ4VPJHYiElw21eSRaZ+TkFuj8NSDE32rRopSq2dJWjqV+z66R7yTAI\r\nLiaMLD7i2KlT7RZ2IC2nvLMuXTuS6yFjlpw=\r\n=JSAk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"a573bdf940fc154e6cbdc7e7b392298e05f14ab8","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.15.0","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.17.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.a573bdf","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.a573bdf","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.a573bdf_1666826859419_0.28201184519858846","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.89e938e":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.89e938e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.89e938e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4fa62ee0eb4d85a46a477c3227d1a4261defd1eb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.89e938e.tgz","fileCount":18,"integrity":"sha512-fr6CrDZCvTvGmhEWOjX88YKvO3LQ0bRXCGAslSlkhDuSGKFJiXEhSyQl1PgsHANMpWu23gCzxlP2JXR2N4yPcg==","signatures":[{"sig":"MEQCIEQsLbYg3rmHfisW7p4lGVG/E53sHfgwusAaCnCq6ERyAiBs/EfR0Cf6MZhmPZIiuHY3RWXzk4s5YhKUVMAIDHtzvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWwYeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoc8w/+P6b9590W7wWBQild666tbLUeA1BydUZocFwFIFQsgMx1JYHe\r\nq2BP4rZRI8rG22mP8fzS2pO3kLvaIHd2vaQKytgFiKTMPnS53FxAnBEX6qWY\r\naQCtSlzsKz79kvc6C9Nvj41LN9gpeiIKMKhC1n6PbvJMepU0Fqn6/8DvSnwZ\r\nfkxPpiRUbkavSMVahfNmWEMfwTyHq0abOZUlPRF5BuAjvP4bEKuLctkreIZi\r\nBg49/k8o3fe7xMg97wst0TplVSyl3ThbNknTXUfn5NJZ+iPK2J8hGM/FrJsc\r\nQVCGvuh4C5OBXRwfd4chtyBOJArMwazH+pft+QB0TPfW+wEjWLg+ljPNXQZc\r\ntGKTxqpVYsXfx2HKqaJGB4YvxHzm+0PyZTdFSxsJA7G5WvyvHbgH+UWQMBXE\r\n8eg8qcYjXxmIoJGYX1x4Zdph45cfKAkhnwHPKaAddZ2rAgFqhskCz9ESkhQQ\r\n7wQLygw1ofBjA+RVDP8DpHjhlLyi4LQ3nhaBNzOHImQnCE8cnTzP1wUdbnsA\r\n6+IrwfjK0/9xuSoJloW3BGmUv5dY2Z/PF/l1NMxhydNDcOwZuWzGm5HHfnqc\r\nVcyLhB/ODKHs7pB96+b7ysLBqrknfhOeWFQEAmIY9VYVQsqt4k7rvEVkGB30\r\nK0oDslDdWrz+GSCcDHNFtYIj6SNytgphPSk=\r\n=9JIp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.89e938e","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.89e938e","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.89e938e_1666909726299_0.7390548181048615","host":"s3://npm-registry-packages"}},"2.7.1-preview.1b0bf78":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.1b0bf78","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.1b0bf78","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"167c9ca7af4b22679af48f93bbad52caeaa5730e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.1b0bf78.tgz","fileCount":18,"integrity":"sha512-y/L8kuWDzB4t7e2IfEyK4LSwlfIb7RTL4q2n+vJOIt9+YO0Y9NtSQjEnYSdzLo+O/kCP7PvZfUhOabnrURQqyg==","signatures":[{"sig":"MEUCIC2xFT0YwcUX3fUZ/qKR87UxuFR56kAG/qrwD4bFTBQmAiEA29qNCZMr2i90qQRU94q07qqkjgzQd2iqmK0tjEqB2cw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWwsSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7dg/7BHUfKrpOM+D5TPCWuWjZ0OSaDDcHOo+YO6ud5cENoiOCPz2L\r\nelBcJcSkXTlJYTwq7NJuwTnPC9J/A6hty9dsdHUdMEA7ZAtJu2OGwMwqOUci\r\n4kPGmcUVQ2jV0j/Od9wfSQcG3FqgBulOZSLeL5+K5lZ0DlyXjbhgbUZB+UDs\r\naUJ7IwFqy++1mwsvfc9//0bzs61XQK90vw0lDeapU6qGBTNHnY6VTx/vT79j\r\nXu+zF5PhLA8OFw+lgca9pxTuyn7CQ1C4i8rfmfBMHrlAE9QhApobYl2VREhE\r\nRVPvVctVdNQIBF+wBRsRGrRX7d16h1wG6lEqetGXHN4PPVMIsPz7Y3lxTDGq\r\n2n8rKI50XIuYjW8EYM/5MMnr99ui5/M6kKZ9B4y6kcUhEnqrzKqC7BAd6pN7\r\nW8dbgGWpoLPKUcjsL9dKb0lCjnxMNaFUxaYjakVC6GNPqjUDAq6D4wuol6U4\r\niA4ivdk3He/01c2AjjtZkvdS9qIsNfPrKh+67nnnGDh9jVtp1yIEClmuYvPa\r\nztX0bGdFwogQoCZY8OYhPE89ITjL2ilduIyLxrmSD2Yjg/yz7KM0PHfGu76e\r\nnqzRpMP3yZthYFyIPVBu/hWXi6Ccv2HK+zUfD7eS/Z7ISvc+sO2y0kBavnra\r\nRTlrw583r9pRVNvS4DLoFAaQgUpwPCvXaNo=\r\n=vtei\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.1b0bf78","@microsoft/mgt-msal-provider":"2.7.1-preview.1b0bf78","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.1b0bf78_1666910994265_0.28923859950327624","host":"s3://npm-registry-packages"}},"2.7.0":{"name":"@microsoft/mgt-teams-provider","version":"2.7.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"211e86c313ae549853e029a0a0656bebea1d34d7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.0.tgz","fileCount":18,"integrity":"sha512-LHsg+3MZ4ny4cakvYCY4Cdra+moAEc6nxqmmkwC7Z6icpXpjZJGvMY8A/hJSID3wZl9vr7SrWIdtHqjpZIv2ww==","signatures":[{"sig":"MEUCICNNpQa2u5lQFPwj3I5VKERewL0KWMKV3Cb9FQ/0APiiAiEAvvnTjeMfN2sqfYRQ1Ib7RwxL/1bDDx/UG3fJ3ObFTpU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXBe8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrE7hAAm9WNtpyxTd4xra89NMjhOdFWJkCnB9Hh0q6z51fru+DygQwD\r\n8ucL6uTHLppVXd4TQOo7SGh05qqyukunQR6K8Vf66hGfXzlWFY3/+6yR53i6\r\ntsKHPiuHBsTbRp8pnIs5WeBf+4+DhphT+TgmJ8X5Dq1j/DXuVcT9NXpMxY9+\r\njl2lAEppyywsRIP1zBTyqbvatZfYQgBRwRACjFlvsEZxDmCUH0A/rCCwG6dj\r\nfQWmpvXjSrIbpaFBWHgxOLlV5ShT9VndHNvdlkRl3+ZKeAO84BlbP6A+9GMc\r\n3XR1ivsIv8JLv4VJTNHxavpkoVb7xLqrHZG3mdwglffDMqMdllz4sgWpcOck\r\nU2aGgDRlepwvc6hVn0vN1Frwhrpx/5KyN2nTXXoAgINy89Uu8KQHjPOLC8Vy\r\nAV3lRUO2/z9lukxH36DfQE2QK0OxZGbRL4vq9PL8s2ro4QstUFVngfjQ7C/c\r\no3LHvMkY1uteWP1cuDzQEBedCf7hUVBZ7VVy02NQfNCuXhkpiTu3BTN6R9VQ\r\n6Si6jwwJOky65c+bh2THYO4gP5FkhRrXMSwSeG1pcx8g0oDVd04fL2LBf3ox\r\nw5LIrgVYdkr11VFugxJJnXUtYRsFNXfGeUt4hJ2Z4maOCIRgP7Bb79r0Hd+w\r\nXxLfFm3v8rwsYOsE+2Q6k9GH+Ay825yH3Co=\r\n=ROkQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.0","@microsoft/mgt-msal-provider":"2.7.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.0_1666979771972_0.8322298801443266","host":"s3://npm-registry-packages"}},"2.7.1-next.fix-people-picker-flyout-a11y.b72c3c1":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-next.fix-people-picker-flyout-a11y.b72c3c1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-next.fix-people-picker-flyout-a11y.b72c3c1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0b8f1b1a61c0c64d53ea15aa2b382ad04b5c9d1c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-next.fix-people-picker-flyout-a11y.b72c3c1.tgz","fileCount":18,"integrity":"sha512-ZOOZOnHRnktgwNeAKN1/9w56Sgv3rkx9Lt4GsDJga2TZNRFqcR0tMHE7qKiqgYqehP3WBSwmfB7aD11BUbOGxA==","signatures":[{"sig":"MEUCIA+Bm0z9zFXXh6szGd5+6gxXEup+F8yeYQYvIOUQJfTDAiEAggh6FkWSbYukF2kCcH6eI2S2vjzRlUKLpWVvtfufQBI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjX/wbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKWg//fImjAfcQlIgUuLVKD5oIpbPqZcst8FRK/8rraVBTLkWEo8UD\r\nABNsWxhrA8sb9J8jk+LcnezKTaMvFUSwBlS5DRE7Q1B7aNcH0XmyuJzEChG9\r\n8EB98L6btbsf2WFmzjlu0rPHlJFwySnzZp+SrPqgGhZ49CPgoBUiO+0IsmQW\r\nju9QdBxQOvuA612ld7b60k0QASb9AmbYIojwWJAKFGrXGt85PXlg5cVdJogz\r\nl7xb1otiQExfBVO/sqIARv+g+2UMqSM00SPaEZmtCGin4V/+YjAUy5A2pQzT\r\nDhF+2Fu5+Yl8S5G8VcrW66WHF5SGvTQQ1fxRt47FWgdcqdeA0Ml5lQw+KJmn\r\nRGOEZKRb/gtF9Y6S4x/Xuie0nJE9adau+TdvWLtaVrVlVER6ooE5SGY6eiJc\r\nt4dU1rXWi18DCUccxt3PYL55PdBrvom9LAkVZEEhLtMXPUStGGEoUpi7UzAY\r\nprU3fqQOTbSGljEceHkGzf21u+cIgcgDVsA5mf9txRV4w7+rD4Vl7IEbnoTq\r\nHEtIevIS/t9VyhhBU1ykJNvnTYrXkz5w9D6Dy9dEaRByAYNef1jZruQQ/Ipz\r\npDzMBzW8/yBp2Rm0VtLlZHdjlktyFR4yhyyou7BLAMIPNqy3WSyrnHwvaQTu\r\nHYXVvoI2EDfC6NwY39Hdl5iF9njPrNLmY90=\r\n=oTwm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-next.fix-people-picker-flyout-a11y.b72c3c1","@microsoft/mgt-msal-provider":"2.7.1-next.fix-people-picker-flyout-a11y.b72c3c1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-next.fix-people-picker-flyout-a11y.b72c3c1_1667234843387_0.07172574337706972","host":"s3://npm-registry-packages"}},"2.7.1-preview.3b1dfba":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.3b1dfba","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.3b1dfba","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e5f9432d1c8f21fa4a1481b0128fbb109bc1f2dd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.3b1dfba.tgz","fileCount":18,"integrity":"sha512-D8/kYjvSNNCzb9w0nuHXgm+AB5mvrVXWE5pJPSsvJEB5+Vw2B0ZkyONn7ZTPH6abhZVmY+lAYvZxjT/JS8bq+g==","signatures":[{"sig":"MEUCIQDaHNpMe95ahiYZLRMGRRW/2yzjBxT4XztDmUteHY2mPQIgFAC0IZtnwUPV0Fct8nR1B+siu8obtMFfx7yV/KBluVM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYSy8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYhw//c+9X45XHPfsHZ7U2Svb+UMKA5nh+0NlkoJiRIGgDmtIz03K2\r\nn1e3P7iDyYdVjxevIfm2DyjWCqwNSpMcYQQU2SFjuYRQSa2LbexQoMZowaem\r\ndi2DZIrCKWtDQXSgeb02n4j/Rcw73CeElYaQUbc/AU2szzV+c6jK+irmKUVr\r\nUEcpemXc9xJqhDvaH9tNvIg6a7pcRGgDjo3DGotVZSWZbYpSDFOfIqn7zoAP\r\nC4pCGtSLJ+bQuAuRk+VqpGDdIkZyRblS/ncrEokQqrrUjpriywSJJei/Chp9\r\nflTa+eSsBfUKLSDtAtCMlISP1TLM6Q+JjWJJ2GFxDpnKbZdVjr1uLL0BJsd2\r\ne6biQB2hLxSxvEVADTFdiBmJQh7QQAIDilzLTtU880+lhOJqxK4TDQu+vAXZ\r\n3UKJEQFKZZhtRlhYZiDD7p2fWl6ENrt3/RpjCrul9djU/2G0aLpwqfeaQ4Hn\r\nymgoTvZGTUuWx6oHtbLajEUgkfZjy76ZiFdvtnrbbFPpCEiADB1gQSz88HK+\r\nlNcLzacsrH1hwXnmXuVcfExdvT5cSivYw2/Obp9KIdYT9s6w2aS2j0Y8vAFO\r\ncxxY63xPtxHRscCyY0v5YHtfblihvQ2frydnJkFdgaXE77VyuFLRRvKiS1NG\r\nlTI8dnlx+PzUNe/H8SGdr3YQYXRvQ6aM/go=\r\n=v9bL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.3b1dfba","@microsoft/mgt-msal-provider":"2.7.1-preview.3b1dfba","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.3b1dfba_1667312827849_0.1845119431650093","host":"s3://npm-registry-packages"}},"2.7.1-next.fix-people-picker-flyout-a11y.0210f09":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-next.fix-people-picker-flyout-a11y.0210f09","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-next.fix-people-picker-flyout-a11y.0210f09","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"94cfd13c450af4d15848ed79ad6ad70ea728aac6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-next.fix-people-picker-flyout-a11y.0210f09.tgz","fileCount":18,"integrity":"sha512-nA7rInK7oY0ZTCNAEYst8pRWPUO2U1DIq40Qg9nDbyrmLdJH6m0uY39SkOYA7+gchtQvlW+oON1yHwMiWQJH5w==","signatures":[{"sig":"MEQCIHKzmCAJbIR1QDq2PldHB4ziJSuDGTm9FmVpmCUPHgdoAiAVFO4SvvP3MLG5E/iEWYIvXPnK3PVIyH2/gr7BhaI/Ew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYVmcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4Fg/+PGF8xKN0KE2wAHQ2cxvWlar6nSga6h8rvj4dgk+QI8bV3NRv\r\naq1IZwr8QM4pYnv443kAUiWDQn9eJSGRITBxxSfYKoohhCirOvOY0RpJy6Z0\r\nwo8V8Yc7zlzRKFnZTDHfcR4cdalPMMUZh131aRpxpq0NGCkHwr9q5aUO2JbI\r\naAVlTlNVZDvkPNpujFKEGGamAwraeMo1BNiCTqo37pRKpStwVTTiKBujIO+s\r\nmIQ39ocNFkqKRUNFJZg529QOPU2gRmMxZtg5B1OfLAkvLh963ZEHhrMOeW8A\r\n3eAN7BhpBXFiQzIwlxL1qEvYSnQUAvwDErMZkW4/Uln111BFQwTzp+twCIlq\r\naldmHBK86agjbnIxQk7Zs2z8gZPT66HfWhLvnoMVqRI4Biz8kO8maSlo6cu4\r\nBQEfOiU00lUgryZyEXXo+O4VpGEAazIeEf3eREgKja/wRmXsVMXKidoIqR2x\r\nNWi70xMKhGZpfD+sO+2MMeND5S2Fsz3creaGXrXc5SbBsvtqqwb5ucMFoJyw\r\nk8LHP5l7/fHGxXVUhj72I3UDSg5NkstM+gxEo/X9HRBPQHaIQ0oY0hY7/6G6\r\nyLKUC8VKuIpqdkJqEnsYRaks107VqFr4YDrnGC81+zK3fG4+qjt59gAL8Fpq\r\n2BYdii1jL/KhgE66dNyHeHRyUGgjx6M9gkY=\r\n=m92r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-next.fix-people-picker-flyout-a11y.0210f09","@microsoft/mgt-msal-provider":"2.7.1-next.fix-people-picker-flyout-a11y.0210f09","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-next.fix-people-picker-flyout-a11y.0210f09_1667324315947_0.43774351065041595","host":"s3://npm-registry-packages"}},"2.7.1-preview.37d1add":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.37d1add","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.37d1add","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c10f09fcc0068f767526f95f76a6f2edeb99b0b0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.37d1add.tgz","fileCount":18,"integrity":"sha512-Qxr4NfQc1rXVyTjPYYjgQUxEHoIg+yqGn/7rerABPVnBZU7HWVvMOHmfL0tmdZsJYWz/rqTaJFU3q7ovdRbqRA==","signatures":[{"sig":"MEQCIG4WhZByR1fay4//BgWC3Cw7UXL7yHn48hoSzVLkb4LMAiAPZBV8AoP0VdIf8u2Sruyhve5UmvK0nfSEfQhM5kJlsA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYZVJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+6Q//bVoQdDvCEr2fbJZXWXLHaBfy9XMjGTfckWzM7+/hYDnjXdZ/\r\nwau6dMIv/8QPLFSGg6rwAfRngZP+GzSN42qXd3LKhOC46HKnVdW6/dzgh+nw\r\ncqJlQrfovh2wykBJTk/Jyi0aTgtUx8m3sJwN1iLtnrZm7Xs/qLkh7HwjePu2\r\niaCfmsX8Zx6IIRW+7k6x7JdQAVfPWPHkrEPHVGNeDVj1lh3n7hqYMpHuWJAG\r\nxh5OpjWi5PVcyw87VwRaBgana+D28veZwlq/dI3VvRwL/s/+vPJiJF0wyFpm\r\nb05felHWTOwq1oY16Jwx+SnJm4J84I6C/9ZNfdYf/d1qzysHP0ehwy1HZNNj\r\nU9gWD7D8HUFWONpf17Og9A7kFfiO9e4gWYvE2F1uPbyMhc29q1V4reGAaPSh\r\nKsHGxBWIetTjg3vDcXWjEk0/yhOUfLGbm/9BX3kJU/3str8jQ/lHkdJnpGC2\r\ntfwPM+ERUGPjYozfzF2E+ufSEt8iynFcarRl3g0YYyPCNWy9axdgCuKIt+VN\r\ncrg67mMzMa4igFFioEZoSUN+69yTcSZ2faNS0Frs5BoqMalBeXRIivQP8l56\r\nzdz5kmZxqhyi4cfBf1lZIVIybMg/dKjXw3V7plMp5kD4fVDtFraJdrrJrWl5\r\nYD2s05SgcRfd8NNQQsocsxCLV8rJQK2qNH4=\r\n=hQXC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.37d1add","@microsoft/mgt-msal-provider":"2.7.1-preview.37d1add","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.37d1add_1667339592772_0.05828158983257459","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.537a9a2":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.537a9a2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.537a9a2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7bfcbd815ac260b3903cb5e6e57a5852f9703f3e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.537a9a2.tgz","fileCount":18,"integrity":"sha512-lRYr228koHqKZGn1KoVXHxeCpoMjMKFRWPno7tv2LeIJ4ghLmCHyc5pp8ap75agD8mB3rhWX7IdzE3eutIqslg==","signatures":[{"sig":"MEUCIQDxL4AMCO5NlCiwuaAQSQXfp3K60agcHn7QsEFIOFVFlwIgdR/L4kCLCVN2luJcZZx6gyecYQ4emiXuDcyKot53tDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYZcQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDLxAApCw6RF+f8ITwFGmY9QzfYu1TSbv780vO5vmttWeOm6kqex4w\r\nFyf/6123X0QrHuCnGOZbj0rqTAr9lao+8YRnRMpuRtDayiinrcPrnxw1s8g/\r\nIv+0uDomJrHSY/s4EQPUWspEHr2in5SeGQzXEKQyuTMe/Luw1oA8HIrSN852\r\nIVhFMoefhjUpsuaB5cbJwILj1YwFhRXs/bHPpY6gApioM7Nj44piLy2ePAkE\r\nRk0K1SstdB4qyYqVLFdkb7rKHcYh8IMWXn3DxWZRRZs0Ezci4+dJRa3fvYA0\r\njnghtfBUiFeLfhw9BUbalkDTPq1kgPX+pFxKzvmxVLkDEh5XxP1C3cI25Ow+\r\np74QYIwSzpbLXmP8ZfB4eqTrznt9cO1+m5L3oKqBcHL5KrNCd2BADoemwoh5\r\nPPXfWWDzQZK/xNFE7+WU8qtewmSeqsztHkMafSAS7RUx18NKNGunVuqqh/f4\r\n3BNLv1qzXcPbyY+yoamP2bD2mdO7RDkqUhylyUBUoahybI73z8UOd5E126Ap\r\nNXi2XZNptrsbsbpT3cgoSzZs0iluf2Nly/BhNdhr9OWeKT6m6xJXl+FL90g2\r\n2/JuXL69ayZ2qGOLNDL2CBhGF7qIehW+DFZJQdoAIsJG43IspD+6AkwbaWCn\r\nooBJ86grTwo67fomrsy+nWNWsd3BkIKNcM0=\r\n=bPTe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.537a9a2","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.537a9a2","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.537a9a2_1667340048111_0.4025358323748838","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.0dde7ba":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.0dde7ba","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.0dde7ba","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d0b5db64b0b0852f954f1700ec9fbc0e77c578af","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.0dde7ba.tgz","fileCount":18,"integrity":"sha512-ITnFYaAW/8taO6LoEN+gcc24mC6lvqio+XHmlQrVH9+PkpQE3K3oeAonyQBJnfQXmA2EsbSd1YjaaPy5YOtKvw==","signatures":[{"sig":"MEUCIQDXp+EarWElXQRylMip9l9RLBI0KGpWoRlFdf7Iix5JpAIgXR3DY/djsjgHAF0PU0UQcIrBQpVb3xWPB3BSdDqTtdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYqGvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsnQ/+PsFEegPSGUQKKlp2ExYTlnMTF+okp3SUwc2COr/27yH3Xrnf\r\nMANZ4/UTKvV/B7lrCcPSYq7xu4/pttsjziillzyS9mcBBJnyHhgq2RVST7vF\r\nUGkUctnYVZHdYmQxeHzvgjV+nUb4MJZzmnzaHL/pD94d4dacS20LqtJkacmP\r\nJnoV4AyrQ/wH0Bc1pybiH5du8SPhNPPPqiq+47ahOdiQV9VTuoJKO/zvfCsp\r\nQph7xYsBYnmwxnHlYEuMBD9g70easskJ67h5I6/fAmsXWpX4xEMrLNQSEvv8\r\neVuz33PE/uayrKWkBa7bg954p23xbweETiRs5q22aWV3rUtg7Wh5uI3aC+0I\r\nkw7g/OXlrXNvmo0kiIYsiqjjs+GuEk61eFT+E2hJZKUVvF828ml0vhEUQgFa\r\n6kzCryJPnFyobhFb0tBlTQ2i1Kvf597WnWe/SmsMNlZcH9fQ+rPKRQTXHshS\r\nLwGMAc37cwJoJcVDk85+wOZi2DgOHjFP2HCJZc+S4LEl09iU58MK0Nzq3/g6\r\nxYPU6iyqjEuaPqx5XjWoJteSjBuYLYcE2bl5pw9hk/56CXUy7SPD0DcpckqX\r\n9v7gn38SeyLPqQElftOdDyk2Dux2jnrWJUSRXkrrhWdGFGyoiRXOoh5i6LD4\r\nSa1fEf8MdAhs1vqkd2U6e4UMmZjkN7GJ4e0=\r\n=Q04d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.0dde7ba","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.0dde7ba","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.0dde7ba_1667408303492_0.5502965845879801","host":"s3://npm-registry-packages"}},"2.7.1":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"26b4c5a2617f999f8c8e4d912863e97862c0e9de","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1.tgz","fileCount":18,"integrity":"sha512-8gUEHEJ5Mhu8vCRBUFAk/apWRrL3YHvHz63HobPYiOTcAcFZKMZWq0QqFf6LBps8ujztMNCPqBQcynGTQFrPbA==","signatures":[{"sig":"MEQCIDS/f6Evb6HzXyPIWVtUg2egaR+g4NJ78hKdoCalel4jAiA+lBxHGOehGbjNEwrc9T3fpudDELXsqD+Lrd1Pb+l+8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYrmbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohAQ//asFxzi/30G54izRcq0uGilUOw3wWUT7QrOsNmAg32ROlovAa\r\nO599542xq8IRf6CYaiCi7YcY2Gar8D8yV6VZVkB1pfrMtT8PLo6qbh9L9+e3\r\numXQ0RaVuGMJ5JO5ATjpDtWowYt0hM/hUkPeAjITacb1yMCsbCiYxtgL4U/q\r\nbiU/KCNQ+CWWHqo5txk8ZJXACbxON6mvbInAf6LlHrnpx48swcDRFH3ME5iv\r\n/0JiJy8ShhjArhKRgjEKd75yJbRIfSEpp0rlZDeIbOnGe9B2P5Lup6UgHRwl\r\nZMCQZfNzfpOiA3HfDJtRcI6QiAUIqe6XisrcqS8u7+w9UUMpbvSO0rQ/9Adq\r\nez/v7flsbf0K7GgQAroXs/LziEESyuvYPnoUf1dDJa9d6IEnoPdjLZV9XhNU\r\nAlkYeJCQK4QyA29XGB+rPN5x5R5fi+MaDqQIEXyGrAWsR03sRtGB8yRzktLH\r\n194/yCI8oC1MgAylc9+QwUvH1yPzMQNgUDi8M7rWzBN/dZJoAOiqBJ0KrCbZ\r\na8knXV0GBQktLpV4gMjLmVIp3rXqEZhQZyWodOrSLcytMPG32tqulPt4/dLa\r\nSdHm2kZP5+NKvqBUlV1etSq2Qs0X6XValkGwBMwUJaxRdjjLpQq5X7jTUBdR\r\n/xyV6xWCU92LkGrazAZRdCSFEwad6BVoupY=\r\n=4hMF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1","@microsoft/mgt-msal-provider":"2.7.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1_1667414427213_0.1441449180493397","host":"s3://npm-registry-packages"}},"3.0.0-next.fix-msal2-provider.89cb1c3":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fix-msal2-provider.89cb1c3","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fix-msal2-provider.89cb1c3","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b56f50a70310f378a710d83522a5afae480569ef","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fix-msal2-provider.89cb1c3.tgz","fileCount":17,"integrity":"sha512-gi7LwPpKTaeysmRPNtNpHRgP/gb7yItZbxiRFISdNtQZ7gFOdMA9q3o9a1VscrfmuLptwD3iLpBNBzreV36iNw==","signatures":[{"sig":"MEYCIQDjBjay9R/OJZYybe5UFPsSWPyeDzy9pw6JTgI7gWxIHQIhAM9PshjpIm0xDBQxWm4LvMf6VR6x7igjHpdRsS1bJyEK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYwR7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo++g//YMudprwVx+AQ5AwkUsd+UjpQez8kHZEntJk07aqpsLqqQ0if\r\nd1MYY5znajRDx06NnetH8MA14fu4IZ8Xeak47Qv2oovoEx5hDw//iawJ/6l3\r\nSoiWQdhEq9/9quql6bxZtDVpdtDhFGL15ESXtKdNXJQhuxUszgGv+5Y7QVMe\r\nezgXjETnIguOxX72CQg14JSbayrEjNAdJw3qecfScv/pYDb4728IOP+Rkik4\r\nZxZ93dCVpt5PnJbPs0Vlt5CWvPDK7w9bZsSPrh0KGpr5ePL8pSKFVa/aABTB\r\nCSAf1+/beA0LjGv/oD3EnxpUMqTEh954lnK78BT7LGHVqUNnBj20ZRKiQMBN\r\nI+pm8EhIYcxoAWTegwoWhLXLeoKU+incTDUIK/qpahT4PUqnsExKfsb/2u46\r\nm7Gpb5WwwFTBSBJUSExcqInc2maqZkG9ErOStOV31RVR5YqXIDUu2ibUsqgh\r\nf8tZUqQyZRvETRFxtmT+zNmYN/Frg/S3cUQVn6lIiA22C8+97ZKFBINRCo9n\r\n+T01f5tQCF27LdMED2yajJq2p4nSsCtpPCVPcyQA/LhvzZsk7U2mgF2J6cwR\r\nTHGOlR5PqImeUJfAyQMW/CSlGiPM7DC1WO+zCs1sHQ5u4xxKfLwZInAuxWI1\r\npVu/3AaV0TbCxizgdNu8/3oFS3noH/HkTOU=\r\n=M+4H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"89cb1c30a6169836d1ea62f4a671b382ff9ae399","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.15.0","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.17.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fix-msal2-provider.89cb1c3","@microsoft/mgt-msal-provider":"3.0.0-next.fix-msal2-provider.89cb1c3","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fix-msal2-provider.89cb1c3_1667433595685_0.30472935211111385","host":"s3://npm-registry-packages"}},"2.7.1-preview.728e578":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.728e578","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.728e578","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8e4f7c751a09649d0b65484ce6ad86ac334df787","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.728e578.tgz","fileCount":18,"integrity":"sha512-gNyUvzbWd3YB7eKgHTOVgsfJMpyMUVvdNFJ9fsb9Zj42vizc7rbFukviUAZmYRh5Q9tshUj4ford0wTc9yphdQ==","signatures":[{"sig":"MEUCIFmumjyYkjjhKHNAKslT+nMyExlm+YWUw+LPCAIpkbhNAiEAwLZBSEoIrAhnsI3H50DTM4mW61RBhoGO6UaLAQLWcHM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY+YvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXjBAAla82Gv37O0LnePylIUhJtYVZzbQdg3f71pwN0wm1EWgMwKlG\r\npOnQc+l+BWO0iyGZj7+koOlaaX8DJq2YmDZS1DJ6yI4d6KzhV3azTxCaGU0i\r\ncCV3VFPnwgJv7xlBp95e4+7RxSyrwv4dvq5fhnRkOM4oBQGeXO/ZPfhXwHNk\r\nSzd4NQWuZFzBQaXUv1C1961TIRckzMEsMcWeqJW/Ftf1VlXRDnNvj6PQn87n\r\nzrHm1MKVbpisU2SZk6bb1DbdU9rFL5/gRwiSd6iJKvcaijY3767fsnB/heHJ\r\n3q/+c3UGmEp68gMYHymut0wjpSkdrSL4/CMyllCCn5sM1lEyavc+sf+HjMBM\r\n5t/mwNQqZhV4Z1Ii1QVmL+DtMUB20Kl6/pSm++qjJreg5rWZxXXc1mxUPxTV\r\nXsosz/E1Gh1k3mzuMJn6+yc973J4OXTiXArx1preVdzPrgq0C8igTbdyyzFb\r\nqAMfdv2yfOljjb2rrfjMlwUP2Luhk4oarSyUqdcn+b1gXs0hAjMv4B+c3X4C\r\nsUTubQcXkzPWKYFaGim4hZvmwHSvxeQmsQ9OrfLBb6lMOc5LvEN9WvVdFxYZ\r\nQmKNmA1gf68D/bf1zziVXzoenF70vRXzO1prNB8S4VZL5ut0GiVQWSaTr+Mj\r\ne/M1X213zc3i6dyD7IT4uCRkAikQzLoNkrs=\r\n=thRy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.16","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"12.22.12","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.728e578","@microsoft/mgt-msal-provider":"2.7.1-preview.728e578","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.728e578_1667491375355_0.5866588160376278","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.dd41eb1":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.dd41eb1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.dd41eb1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"39cc61452176e9672d87b886b7fa325af597fe6a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.dd41eb1.tgz","fileCount":17,"integrity":"sha512-f0C9SGF/RqJNOTw5IT2FogcRduVbSYeiKQqD3NtjGeAJlx6YDOv6ffGJnb9DfWIK7dJ68+yKskheCk0QcX9YHg==","signatures":[{"sig":"MEUCIGWnCPYwPP/9m75e4YyKxYQpJ9pt8p4sgd6JveH4iWFfAiEAjxdNhq9jOVUEygfKy7s//aYsP7dDm03ZU5Ze0V1OZd4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZUA3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrW4g/8CuEDhTBlRXmiJjV+vDsvAb0VSKJQNjVBrfD7iPr222+sODYh\r\n3wmpWpZCSDFzaTiab/TKFOYzJ4TJtTs/hLQTAmBFfLHqI/5Mwr5LDKP6BsU+\r\no6dRY7eT0rgY7HRoCRg0gcUr8moVTuD0y0h+CnjDNVm2ew5HPeGS72EJ2ed8\r\nrC2Aa8tCtb3QdJjj2iHx1QgRFSUggbML/EeGKyC4/TIF8clSm04klrs7Ccdx\r\nWK2B/miMEE8/iOS92P6/WbOrIPJZFuLP5tIG1GAAINhFaiJN8bSOVge5rihB\r\nXrHJhjU/qy0IbbCHmr3qjgB7vfJP01b6i+g2QFEAjE3cT0ceXZtMXQ8CpPZl\r\nyOWAGujsyW+F+9Gqh7LH7iyuZCL1YbwRLa6v4+vr4PTigAoprV1ExE4QqjZQ\r\niSZi50/+79xeMvGTfF+fEXEQE4HFyWp54Vlaiy7aumTuxxNRIuQQesSMA4Mk\r\nClTFbLGllZjREu45cxmCDvZccgbGYQp03sVCa3bBpZygmxsLO1VpCLWxzoXU\r\n6s2N0/PKVZE8Ny2kPaKCbNq84R+9pmY9KScvr2JaNGkmLTrGWuSOnQPctmN1\r\nz+vzTiusDTyZWBeJFH0SbYiYLHk9qhsvOp/xsi/eGYKNOkzaNJ5UfvjXolVg\r\n5Q8A4XOSGHGajFwImEb1TTcKjNUBoMnbXxU=\r\n=9Gma\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"dd41eb1e0425695599952733d6564006c463d775","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.2","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.18.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.dd41eb1","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.dd41eb1","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.dd41eb1_1667579959545_0.5043190045149786","host":"s3://npm-registry-packages"}},"2.7.1-preview.ce9da92":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.ce9da92","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.ce9da92","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e872216ae653338c8a02f416dc54baf89e0dba4e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.ce9da92.tgz","fileCount":18,"integrity":"sha512-QmX8Zj/f1w9Bf1u9RwlMk3eWHW6tNHBwEQxENlMmYBjP4Pmhz1Uc4kvsErjW4OU/bfgy4EHkTuJlBzW5Z1hQXQ==","signatures":[{"sig":"MEYCIQCAdxuktPKPQkSMawnP74H6oBFhcB47p0ZaDN3K+OnAGQIhAJMls+oH7ba5a4UBF3VPOcgzjhSOQyoyHyaDA9etsK33","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbByDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohMw/+O8Z7iGG+27u8Zqzksxd8IavR+2TQ0RzdibbtzfSPyiMMaI4y\r\nZHUE13dm8bJ/+No04UTJRnf5VPi3QYwTQoKFJoRYc25s7Ot0mTbdnyI6Y4y9\r\nuP70VX+tRCtyhKm/S8KMlwQV6ei0yC0KycB19oHHAkBUJBD3Fzli0KSKuVjb\r\n4Wx+eOV4Yz3+jNH549jJjRCd0PhGXU503yXrQ3f+0WSDWkil2pMjEjDGuZF+\r\nyRAT6oNAbUuLhK1a6CpUmf+SpnrowppwyHdl8NLRGmleUgtCE7M4tga9OrWZ\r\nOf7pGqi3TLm+x9WA/Mu7T5Dgr6/NA4g18wQ2w1H1ySdEWCl0tzROT8UCixw9\r\nGDFPmfYowNL4exVR8mBUa3WrBHGZK0MxLNq6toHDnJLnsHXzFQDGFP7rCmCQ\r\nBbquGNn36z3GOPTtLQHIfKzaENZAFPdL6q8E8AktJUvNgFnlSdXBpNEAq3Ni\r\nH4THiYaCnFSu6QDh+y7pBhPjDfmpnPFUA/N4lYgFTfS8hHttgM+2RWh+r1D7\r\nWoAHWYWlp019Bb48KxJNbW+W0xfZr/ttTSRm0/wzy6psBuHnGwH3Rsrq9GWI\r\ngwU6N44AVsKPhr+klfpO9EWJ5s1lz87+3I6Xawup5SghA04LluPsMHtAXyUK\r\ncvqm2eXU/65/PG1IePXDn/mN0K7tOlYH0YY=\r\n=QgNL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.20.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.ce9da92","@microsoft/mgt-msal-provider":"2.7.1-preview.ce9da92","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.ce9da92_1668029571535_0.7332961974344612","host":"s3://npm-registry-packages"}},"2.7.1-preview.4e59158":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.4e59158","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.4e59158","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e11ab702a62a0cf2630e6eec566f85721fc7dfd1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.4e59158.tgz","fileCount":18,"integrity":"sha512-YEsUVTVZkvj8wZgQgIhLU3St+lN4jAIN5HsMmkhhwVhYwP+yh5Nq0De3TYZWk0QXD54r5O+sS9vu2a7tjmlQQA==","signatures":[{"sig":"MEQCIEI8rYwS+9MAOIkhIxkFikVxDXfWDd+jx2nxbGAOZcTGAiBFXyUAqNsjDunvOOZgRVdizlWJ4dgtBGd6y6tyns+DUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbYEjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDvQ/+KJ6Hl7qTLUoecLLFZfp/8i3J50UCqD5wXpNsVsk8AYipT6GU\r\n4xklt5YUYnAoZGCHK155DKrwH7SqiiB3CL6N4y6hVUClIJSqYQabjH4zJ96b\r\nU6m6zvsswanio33je0g6dzLZjNkj+ERUkIOG/NQ/gFlmUW/XozBDxBdqTfP/\r\nbIcLUjndvIN4eo3rexGYAiGK21WUDEiK4wIKRHci66XfL3ohD/M/bUC2ASl4\r\nQZuFUGUWTq+eLqJc940g+uY1KthGN4jxMG/xLoYk+1HprHBtsKUH0G7L5WMg\r\ne0eS7YuE+8z+Rn0/1BVgtfc0HIlBgTW3WVGRruybO5N13A5HH+LX9pS5BFJd\r\nlVywUwaDjaj5EaxsZ9K7eOmUT92RhuqA4jh+Ro3dMB3oxhAHPzq/nV+stj2a\r\nxwqL45P0Glq3ma4g6JCGa76jIQHBoj72nmHv5H8YxGCCbz/8lBd8e908rFJU\r\nBnWmfGRYl32vxITWgZuKcu7Qi2GBVEm06DYT1nXKVCJ+KkHdov59VCGNHXxQ\r\ncVXVakInt/i9L5xLtAcbo3LDqVtQZn3V8JGfZJ7x+AIUz2C0Z4L6JmVrP66a\r\nmAgdH4u4S/t1ydJzzSharcsFQ4OBsDdzCLsyUiIsHlFUr/VfNe7glQ77X7Ni\r\nt1lknuRuhDiTaKXajXMc27KUHuQmSQZ6hLY=\r\n=WYoc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.20.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.4e59158","@microsoft/mgt-msal-provider":"2.7.1-preview.4e59158","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.4e59158_1668120867694_0.6323349447660178","host":"s3://npm-registry-packages"}},"2.7.1-preview.041c71e":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.041c71e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.041c71e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c7102473fb1a1e3cee1d1ca2036b556437b4f743","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.041c71e.tgz","fileCount":18,"integrity":"sha512-osL7pIDErwAaZs/03K9lO/MQwLk5rks3OZxz3Rq9mDoDKF2oVa6mI/t5phwHxNjS4Cw/00b9tF0U4lIFNy4luQ==","signatures":[{"sig":"MEQCIBK0mMASRRG8+dtjxmHdGIn38devcwCEl7waKeXM2ddOAiAk31oMETNcdNBfsZXnl4fGgPl6HUnIma/PC7ii7GVEqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcfvzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPbg/8CFfnR60JVec7uh0X+N+Iinx5QaXNdPw5U/x+R4cfhMu0wDrM\r\nFdJxdQpJIczs6ej8ZXq24LpPxP/XGyVaFzTrS47PkAASMU5p+vJbiwbcHVFw\r\n81cVB7pbugMlv4eV9Yv8PO5k4ZUIcFElg0+rH9jDlSzK+z3RdN8crWiDk6pE\r\ndgMsk8n+U1owZiMXucZD6AUUw4v0udmnpuqgDfl7zRIv8iKNIbKkfhaLG26F\r\npqQ1p204iaamZBPsm8yOvJAK/6Fl26cflQY1x1sml9XYfR1y+KycgVxUAX70\r\nyLbnH45rDRbHcnmYdE3qqALaHm6NxEsdQctCJA7ODk3Sn3PWXHZaxpokgXcy\r\nsagy5c3IBOoFmeObsVNPBuGSh27+UJJNZWB/jsV87fuPu8hMPOMDZsWeQsGX\r\nUSmRdoQr7NAQFhU+NmKZzVNDuMDBCe30kEcwPPVMc78rvUNmG2oSQbnzDosv\r\nWth+W8RBdF0joXPCdz6y+2OFCUqD7TtCYLd3inTu9wmFAFNpIOabbRCzI57A\r\nxeS9NrcNeRR9KJchOOCnxxkO7JcJ4X0Ba3qzEjeY2sbd7DCePRI/qeDQbq9m\r\nqS1/ujxZRssZYAE7d2jW7uy8YPtt1/zlaEQ+WRyHwbt39uxy/crGkYEbRqyr\r\nZADw27aekrKkVq40ioo24WEK+/to5USpopw=\r\n=+HyR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.20.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.041c71e","@microsoft/mgt-msal-provider":"2.7.1-preview.041c71e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.041c71e_1668414451178_0.09103413969745722","host":"s3://npm-registry-packages"}},"2.7.1-preview.a5e3807":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.a5e3807","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.a5e3807","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"aac9dd5a2fdf4d183269c3cbf49e1cc097c14040","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.a5e3807.tgz","fileCount":18,"integrity":"sha512-uqFDx3ooAy1lLpFGcn1jTJUF3eWQw+YdQgvzfn4HZyjgdZbwCiiZAB+lhs/XgXErPr/BPm4a7p2ia5DnzAFsAw==","signatures":[{"sig":"MEQCICvDOIkmlwdLLhRHGea5fl1RrW+t6TUBatSHjmlsosRvAiBFjjbCWkIoWyjPIDBIO6HO340WN7bZPXM95wzqWHw1IA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcrlrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpugw//TFHZvAc0jGPgZFCKECKGQ53gOVhQwIZAyff96WwnjUClUYsd\r\nkQblphcEhYrb54hf4nT3rDMHot7ifFWrA3G6gd2QI/X6w84dnzW3GD35dPIE\r\nbpdfYkJQE7m3O1lluSwW6T5J87aguwtfkiseDnYU1Y8F6zGfsCkZzdj6Uhvw\r\nqvwa7cHoo8RCx0wPEG1VlNiAccOVrSCsBBHVOUr5fjANlgarYxzZkQTN7dgk\r\naqLrdAIDU6e1RKWQcSe0m4cEHNUBu1vySXoAMP95l+qMTwVBpKFm5zkkygms\r\nodzcyin/yNZu/j2EsJut/VyJdnGYlhoXod+seMGguu8UwMOwrkmxPE+OgMrA\r\n4I8pmItFUlUMhxUtsXRbOgvfUU8dXQKPNEyI3w/0UVlleBQhhSOmS7LGgeE7\r\nJh2T1hxu3+q7mugWuMbAIuXboNyt8Jx5sica/n+xLFidBO6lDvb55+itc9IY\r\ngyF9I0l6Tw6IHMKui+HfFoIFSGoW2etSQHTX2YUzNqdqQa+Cc0WH7Q+YhTUT\r\n3vhzpkHERl7yK8iP3r6stQoQ4bOgWIX62aPEFNOJ/yegABa3Xk0F00+SmH7x\r\n5t/kKmvdxEP30Q+SaUTedesHJaVM9eHhRz9VTXlA19VndwL/I+Aa/T7GidhO\r\nkqGn5DFIBU3UQTng7D/rTVBoupfkzrZ9OuQ=\r\n=yiOR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.20.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.a5e3807","@microsoft/mgt-msal-provider":"2.7.1-preview.a5e3807","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.a5e3807_1668462954895_0.07737814879825988","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.47b4840":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.47b4840","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.47b4840","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"77a735a231511b8dd8f3080d7d554d70650e59d9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.47b4840.tgz","fileCount":17,"integrity":"sha512-rccLY9KsQnw9UuEQ9lyCrZVtuUxloQscTRLv5Nx2Mpl7yD8cEScFYV85Ye+CQDhiYL6jrr94385lB7kzxPQFtg==","signatures":[{"sig":"MEQCIDmTEAzwMnjdaymCMKqUVi3WCEAR5mVtN+2mDruyrYv6AiBT0JuM+WFMannMcpu4j5ndIB63dJPXIhv5z8zczcfmug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdRd5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/aQ/5AE+kNW0bx1objO1fg7yzRAhARvxXvSnFrM7Mu6ZjNkZdusOc\r\nKrVT+gpYiYFB0ypDcmJvJUsy6cZHNheN0iNfKaRUO1AUQNuhRlUdDoG0QDEb\r\nv2nrlaUbH6Nr139D2L35biudxWEjE5memHDHTQsoDRbRI8QNAsu8tAIz+Gbd\r\nOO0shARL2dHBdspOidB0gAuo5wxHqeoI4uOVSKYLq1MdT7ULnEg4hE/y41yw\r\n9SrTt5n4JNNbQVC5HRJ74v+j2H5hOP/fawyBMDOH7IacoazCNU2wln4mE1GY\r\nKF7eOrv6ZU2+miRaJkSYQtjhfP0cyJ+MLsa0bU0CH6wztmVKFuYgK8R07uU+\r\n8TtQrFbLwS/OlhtIrI5lt5f523hqBm4brpQzacL4VmOdC5ZSiS3SE9AzIC1z\r\noyXlF6ErxPlENXxcjbP3jiZFe85Oi+XUuS8I3HXi3c0p3TheMnS4Chtc/kZ7\r\nYXTm/7uFI70dxuzwxdfjFrabgyT5+rERQ3qyffjjtZGcpS3RAv9cCYqC6Ff4\r\ns6uWCzB5Jas2GV0V1PfMzn13bV75MKsUnQrgqzACYFOCeHtWwyRASCEPpPTg\r\n6WQlzMhcSncbaFMjdWCJM4/0e+Wil6xVWnRGM4IL5HAvnXIxMipUK0aaq+Mt\r\nG3M/ldurc4/uQmX06qnL4ghlKqS6o1xUS3w=\r\n=XpX3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"47b4840f66528302cdf1a491e4e784a2fbe1c343","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.2","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.18.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.47b4840","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.47b4840","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.47b4840_1668618105573_0.8610795532855307","host":"s3://npm-registry-packages"}},"2.7.1-preview.4ac80bb":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.4ac80bb","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.4ac80bb","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"01c8772203b10f86af6e50e67761cd58af47fb45","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.4ac80bb.tgz","fileCount":18,"integrity":"sha512-456zxHK65pK4ttjJ4IF3Pm3x3yROGAC71VvmBIuI8TvIFIgwy1OyqAj/xpbdp2MRe4XUQFJETsOd5us6GB8/bA==","signatures":[{"sig":"MEQCIAGqFvWlOGgOev9k1CuvpoVh/9LdbwRmmvNuG8vMIbxxAiBXbl1KTcbmCNy/7voW3v//TQacwzqiCJ5dK0JDJIMBhA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdmRmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqDg//eroMX0Luik+trQwMxNNfC92KMUz/IP7vlZkSYpIqJ47l6KnC\r\nd5SLZsac7aZp/xj6oi0jn3/DvT/mWOnIzNnTMieOZbfo4XAF4TujN+9fe277\r\nlBwQZ4H24xzDoJcOy/KjtPnY7TbIdjzkAk7FgZNQIg8ccgp7LYW8yWsKQodb\r\nD9oHSbYHdlfucQhLPQMOzqz1ewY1EKBhah8xAuHqlNCRJiRsWowDI7GFTLoN\r\nFsR7YwamqACIg+goPj+DLHdOrAwe5tnTy3BJsv5PFmEZIF38yAdLcdR69Gqo\r\n7uJtcwojHjA4CsrjeJabsSjKVNj+NRinM8xQ0kK/JAOjL2as0AS5vmXdNNfj\r\n2xUTYdJ34v9cpvet2BbIgWJV55oVq4GFknkh8nWmkHxDyVim4n5NxSZHxzt3\r\nfBb+4EFuHBEBdR63uXgBSj+2KGBwQ8xHgSYCAnDzkvAHzrBYefQB15cK56UX\r\n/otUCwpEXAwBBnfa26jUEFZgkF1a1FAK6SXhTDnoiRyz1e7LbJCLVQ9YLu4b\r\njUcKY5WG0YPIDqV8GG3CLta9FbKqBZTp86aKTX0mFPVpJNmH/WN5+K2LkAJk\r\nJ4CCwIxHS/E9ngGp1hO1SaIndFwPoOFD1H+C1vNRXkTh9HIjIB2eUV/rlebE\r\nUsGnJXK/2uFqK0IXaMJRpREDfNejyJutimg=\r\n=7v5T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.20.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.4ac80bb","@microsoft/mgt-msal-provider":"2.7.1-preview.4ac80bb","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.4ac80bb_1668703334080_0.015320508703139835","host":"s3://npm-registry-packages"}},"2.7.1-preview.1b67cf6":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.1b67cf6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.1b67cf6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f456e9a4d408ab767bfef95b88decdb30df2f7f0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.1b67cf6.tgz","fileCount":18,"integrity":"sha512-Y9xOemx9ztoGewwJk/iKV8UF7ThAHuQmVtbYJH+tcBf+ac/MC7Tn2Po6wVyHupBWNFU7CCC4GWtDVKHmYJpu4A==","signatures":[{"sig":"MEYCIQDKdC/2/UsikwF5Bjldkmrsb9b+mMQFs/4PEU03hC6eEAIhALgdLmotaloaxDdW+k4K6w0/G5WKHHRtck4lDJPS/t2o","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjex3PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4ow//ecknzAah+mSSbpm+hB3nkdYpe6HgMgvEWg1C4zSHcEeslzz0\r\nXKsaw+vl5EiAcheI9P13j2pNmla/OLvbAadu8numHE8e0VONehNQYdwX7LVE\r\nQtOGQDSehInxJiahVJTjROpNtoN1SGjCoIScm7Wz87IU/KbGiln/nPXjbmY+\r\nJB4aDeQ72OIyLSPeWVqmkYEFvFdxyExHnmKFgADXXLVeqtXgc2mE9l1OuxuD\r\n25cFM3O06mpciiaap7YicgBprS5028UkgtjXQWubFqBQxDRBabbbisKdxNsb\r\nI2F/umF1A0S5fyiain4u88iAO/YTv0t6NrcCVu49s5aFXp9TmL/HeQDUodSc\r\nWGCBUI4q92DpmVcZXEECe54k6727M1E4rBp21mPQX4+Cc7c74/gI0SfY4WZx\r\nr9u6T0lX2Xmr+kNbncGb5s6L7SxjLkZy2ONaeuNyZInMY7xq559Fi35LUL15\r\nbyWka2dvXTpJYWMGYX6uQ6WdkNylJz75t/S56fZjHU2CJdhuvcjQZQcatoCW\r\ncg5iG5Shkzjff3pCtS1SNKJqhQxA0NudLPbmVF/a3bn2LvES+sfkBMvRHh5s\r\nJOuxfPcE8Lw+lQyd7/sM8+ryNu16AsLGFRd7R/TpT7Wa+sfyndl+GlddZuIv\r\n71JRnw4KmWOqMFKLrYN9H1f7OxmXDKuMAmE=\r\n=jq6m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.20.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.1b67cf6","@microsoft/mgt-msal-provider":"2.7.1-preview.1b67cf6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.1b67cf6_1669012942908_0.6063601842652679","host":"s3://npm-registry-packages"}},"2.7.1-preview.22b204a":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.22b204a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.22b204a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"49ca201ff5983a474f9832cdd1434a5cc013cf75","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.22b204a.tgz","fileCount":18,"integrity":"sha512-w6LnHqMb8jMXprikeOD8fl5a1l/uKEgE71V3dqoj+tVUBZ0E+J5AMhSFLmRW3jJGa2gkE4buF/qOI0DOpJ9/aQ==","signatures":[{"sig":"MEUCIQCkdZWK8WFx5+RtXR38/XPe9OdNNvE0fvCmo86ccwHcmwIgE7yorlR7DBoq2yAJXinPPBgG1JXQ5RuBKNO8uVVW6Cs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfk4wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVKw//e6UhBN7WZ6u2zpr59RACtj0C3EVE5RlLYe6/blxHuVYhsbTz\r\ne+Z1gnGv68PxBI9mz8U2MzM2KPx06T2m73/WcmY0p/j5dknIKrtRsqDrD5Aj\r\nUyXUAbJqvXEu32P9KcIZbN97PZCg45qXCBI6QKaqqMXZZtRTFqen6bAjfEU0\r\n03vGj0TQyyYTw6hKNdHFkBY2XBxrC4Prj11oBizQusdBW5W65MUmaKtJ3HAB\r\nMsdfUF9MDVCVTPdjyE+05828oRBvSqKX0pRPD4aMcUKZji0TIZshyRGhQp/z\r\nAdUz9ZIFATA/fiTmQ4F/zYiIzQh05FtOduI/wisz6C1Wxhi7ECohFGCycTEr\r\nOCPrHYh3ay4iLGuQbvLGTRPzEbTK7xz6MAKMrQYNQAV6MMjNj3Ealo88zNOG\r\nMkaQONpaaA+yBig3ONpKXD7GC1l8GmmoIOWxwPZeoX3+o5unOMCQHYWcl119\r\n6Vll85uj/4pKbDBykRfQ5dMtJX5Y8zVWzqNUsEcn03qkJ6NekZFJN4nyahk7\r\nQCzdZe38NryLoMFdtTR7iXqO9cn9niqwtf65tTYqoVLuqDi0647J3UuKZt3S\r\nxR8GJU3SpeWAMX7unp+wq9J+yffErizPYT4ZHBTAyn7NcCTV4s8bliaInoDT\r\ni2XM2VTC4v83Z98bfO+8t7Vn5NXH2EEMlxw=\r\n=9AEh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.20.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.22b204a","@microsoft/mgt-msal-provider":"2.7.1-preview.22b204a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.22b204a_1669221935856_0.25349069001110736","host":"s3://npm-registry-packages"}},"3.0.0-next.wip.b8de53b":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wip.b8de53b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wip.b8de53b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e842b8a239f587de92cc893d5e6904bcf1c1eb50","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wip.b8de53b.tgz","fileCount":17,"integrity":"sha512-qWgy/vdWb9d7akosK1Ffm3Av1JY6FlWooOUEeZo1OGV3MJSXYMlGu051PPCVz/m0uz90NLLDbqe23GkXUYkIIA==","signatures":[{"sig":"MEUCIQDft7hZyBs2lgrEiiykWJHbRF0C9URX+zjMftt0O2SemwIgMIFZxyO5nqie6hwapLccKUxzWvHcSoT5utPHOp8oyvs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhUKCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3rw/+LOjrrgzd1/LMHilmM+Ee0dytlwfexM2zMDjzA61K2kY7JnsI\r\niX3hdmh8LiphcOy09vl+K+AAE/ndUPbs6xeeN6+lx92lFx+39at0Za0KbnEn\r\nvKVU2KMYLVh4uDyhDQ322dP6TeIetaf27TQs2TZeR1bG0R98XPYKk4mgvYR6\r\nzbK55p9fM5bTatxDBTCHPj0nDAPCmBdqSXuTNd5TsKVGoNX5tq9h4CVEcWFH\r\nmev4O7/mbTaL/EiQh7M4YjPyrFJI8TWkGWFkrgxcJ0+G8/ZFgARqgf2Rddn/\r\nONTyb9RQpO/TNGX9Zc8Qkvnh7E3iNuYEwSNjS3X+qFqrCD7JktJj/OBalYwr\r\n/Am9GLlHwJNINVWbEb14bh5jtUZlz3QsTm5wNc2Gh0FM/q1F4d8+2hpiSJ2T\r\njsl3UQ+lqvm30Z3G45Lkjq6UeYAVVmXAmuAbeCTAIeYkRjR5vB+dc+y9H9Do\r\n6QAGVPxW0Zl9LuHv7w6UTTX8Eg7kSFMzjaaAuisK2U83BZy0Ic7Wyh7dxwIo\r\nu9R/4rpotcFeZmkkkZw7lNoD7YiJb1KnAVKaqJrBR8RPE9TnDf73YqT0hgKr\r\nj/ZAIog2Pvr1rIy1lZFN6shKfIrWjftgYi/raKe8jLa5oiRLu5Pt1hXzqq+w\r\nak8tMzjEojbxPCku/vUPKTBe+3WuFFtTzYY=\r\n=hn9t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"b8de53b506a1e8f996a6732396985038ed6f7590","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.2","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.18.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wip.b8de53b","@microsoft/mgt-msal-provider":"3.0.0-next.wip.b8de53b","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wip.b8de53b_1669677698013_0.6541949062876855","host":"s3://npm-registry-packages"}},"2.7.1-preview.39774a0":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.39774a0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.39774a0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2526e562d1d061e53a434a07dcc70dbf6129891c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.39774a0.tgz","fileCount":18,"integrity":"sha512-x7m+tp6Q4RNVbqooYmdpBreaByxHspe5KZ1MNraLGvnbRV5pDtDEhnixUQkUqi4yXGn8Q29ApDYIG7JD6yz7wg==","signatures":[{"sig":"MEUCICGmUjuVD/GLXBLNs/ItBFrsWI3/TNkI8kpw5t4UIeZ0AiEAiBN+3FECoVQaWx5cC28/MQN+YAtQ2QqAGql0XLJu4f0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjha1XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoG/A//dJWRmVantdw/sxwvtPRGkPxSrXAfk/9t4SNlPwg55Cy5uquH\r\nRrDVVbY+Y8p2vkTFx2bDqFV+gYssh9YRmHa1Se6b9HFJOWSKeW/sxXweuRNV\r\n+05bjwazcbj2Xo73lSlbWImen8bHxpuVlC8zFg00QZXrrJD5XQ2q0iAx9fxc\r\nD79dKPqjF2cLRbnzHbSzaVXIlwgJ17/74AzIRJwA5HAcSk8NcEqr7zwT75lK\r\n5SDQIgCintEdWcHZMJCHLWsvlyU6RDYJHVCu+CAn7M84xxNquKcYkURf9mq4\r\n7S45IGOtqRz7PP8t7CJ9GfZQu7je4NYEkorg0fmF0cZ8fiKovUUIlDlHXdW8\r\nE+qJVZdpmQfovEIJjOXIhLLcuTtyjL0ClPdW+LO3vi0IyYgi6NBoC0DKV3Fi\r\nh4iJJKgvmNdZwoPmrIlt56wNW3h97JQjAUCyALlQr1+Tn9dZWa8qxSwnJiFM\r\nU5r3RBdsrl+bJncgfL77TZuGaPHam5EntDddhWWzjAzKPn+1EKaz/ZArGqkY\r\nxDCrs1jM2zMuLU41hsTFvDjakpzEOBZgYybMN3+ZAK8hMyUtcu1vTJ39o813\r\ni/+XvqaHEPiEkN//EQceI6ngEs4nBxfIPcUzWUkbqiV0AQX/RRUd+YjUbU/7\r\noYsccCOw1IzjKexDafSM1hUiqRLSY0NVKVE=\r\n=lBCj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.39774a0","@microsoft/mgt-msal-provider":"2.7.1-preview.39774a0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.39774a0_1669705047309_0.03425216976520873","host":"s3://npm-registry-packages"}},"3.0.0-next.wip.09a2115":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wip.09a2115","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wip.09a2115","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b8f157852a775ba34e9cd0a80b4a9f2222d7da16","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wip.09a2115.tgz","fileCount":17,"integrity":"sha512-ag4SVa/0EFwssFnRJyDLcoH7wRQqBhPBXA6jaBHVhPgDe8fpu7ViWStbBCwxRrLf7Y7bw9oo8hFd3jyMdCGm6w==","signatures":[{"sig":"MEYCIQCYUdYaYQTjmqB0eTwyMG9FXFThmdqyrhLehETRfNTokgIhAO1BXz2NXjKjsZXpW5uw07P0745HRpiLEu4F5u5zBAgP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhiddACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXkBAAm3ePuw0GeIgPcjP842oNQzCkwrkbczh+N+R8Wb7MClcQ+bO1\r\nA1Tff1F/Cy0us0uDht+n3zBVn6AoG8YNaa6s9wywktbdgOMtiKg+2fAJvxjc\r\n5Hucwyg6EjCHadqv+0CFHcoddU18vGAUaTW7Ak56I8VLknO2cgy3BqvpHnf9\r\n+x42rVlXaZNCq6n1kMUPD5QPWmhx6rx7VUqYvpNP1GOmRQpsyNhVaCVqw26P\r\nOP974unO33oC7w+/014dcCA2VWg7OkMRPzH4mw4SBDmmZeXfGPMPzOMn62zO\r\n0Bj7q4V4rFnImnPzwYT9eWI7Vs0q0gv4eMWFb3dysydWdcLiY5J/tYkB57Xk\r\nJFML/cQGIGKFiyrlMBIWk1Me65ZbYyviznGgou2Jd93O6HR2O+QVnrBFRyVo\r\nQekcZPrmBQOllw7S7fbCG54/U3saKra/R9q1AEuaX5auerHXI0pM/NjW1m3i\r\nJeUq6lQqF9nIUeOqDVTwMxlNMEDj2ks6PjnTNGN5nQNS1UlK5ECBOEsNZd0T\r\nJUJOOv+4tfHxGRoc+mcKsxcH7p+D1SShB2y3uP9ncE6E8ixtQtgyIOMnJ5SF\r\nkYW+rxomBIoMuyT/IZXwDEdr6sjgPezmcQSQgXCiBacu4HHHkyakU2eKCkKe\r\n9PRRJSGILAv1xYvBf+juaLDRXfdWsnWec34=\r\n=cojo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"09a21153dd5df92256e9849892e556f7fad24619","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.2","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.18.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wip.09a2115","@microsoft/mgt-msal-provider":"3.0.0-next.wip.09a2115","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wip.09a2115_1669736284812_0.06679461840285206","host":"s3://npm-registry-packages"}},"2.7.1-preview.ab34e64":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.ab34e64","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.ab34e64","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f321cefc4709c1abf3575d30742faf89025826a1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.ab34e64.tgz","fileCount":18,"integrity":"sha512-lHERltfitWcI4cFKiB7Sa5xoqVQlg97vPJlvjdVOFobnP/zZR6ist2z0mUFu2lhckmqeMAHXC2gSrMpPEruGiQ==","signatures":[{"sig":"MEYCIQCN9y/tPjgqzsv+AqBfi2ZMqng0VHCyenZ37XcfYn1geAIhAJvYehiSirBJA//cu2masWu0VptuPmQrkY4BtTOwFp1c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhkCEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIMQ//aSn/43qCVwQPEcSfiKmInLbhXyLuHMfpl3lrB/wcvf9xfSCs\r\nWX3MKXa+2AU9U8jBdVv46HsDQZy1NZRCx8YsXRRqeLNrHpZnmjhekCmhicIJ\r\n0R/4Txqo8Uootz3LFnCoWdeaAjLUcGeQz5EaAkvVrQ6MCyQ7+xULtLGdS9bQ\r\n6pKzyGyXOUJF7amh0mrmxKhkIXOW3/TfnXfT8EnFPHKCe//AGOMa0zy79nme\r\ncakl94O9vBG+fuDQ85Q9VjrVdK02fsXbq4nP5lKKkcHrkq2lyFZ8oQXGgYN2\r\ngQ0T5e25zabyxceMFZ10YIbfA6AuZaaXn0Svo2V5pJOhIFFCPhIIYtjTNdt8\r\nV4Ru3KT+gE9WMIfs0PXaxVsGOL8kflPqT5msNY3mfHTMdxbQtXDyg83v2RXw\r\nOZgrmdcflOZy+PTESKxhIPWy56A01bwwMpR83wy8cKnqM7gxntn6rZFkNUuj\r\ng8Hoceh90xH6aLV4zWqXte7OdGPpk20JAHBKRwTpJ2w+o4n8QWqaS6gB4GV4\r\njMNeMi8pNePhViMlZSF1cRonk/4tx8hgFQ8Y+y2qiYLAmAugSs/0nvlpRRRT\r\nZWyXiCvGiT3Gg/litXWkCy5bj6Ot0G6I7RtHmJ6zrlxeyrMawKpaZL90S2Gp\r\n+GEtEk9rP56InQ7NojhtLtVUNCBpHM1ylKM=\r\n=Gtcd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.ab34e64","@microsoft/mgt-msal-provider":"2.7.1-preview.ab34e64","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.ab34e64_1669742723926_0.8869439045325536","host":"s3://npm-registry-packages"}},"2.7.1-preview.ae3c0b1":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.ae3c0b1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.ae3c0b1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f2be9b96483c0d4043261ea651b1f12f474e80b1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.ae3c0b1.tgz","fileCount":18,"integrity":"sha512-2wHSJVa+m2nZhBUP3BTqeVZB12/JFk2jfrYs9tcCtKlEfxqGSr60gFDRduSvYh7x1pVz/aejzTb9afk8XUPYsw==","signatures":[{"sig":"MEYCIQCD6jq2QtYOp7xmJR01FqzfCn2iGjekXjtAsjF44a7SJgIhAOvPR/na+g0KzJyNW4xkxLaPd1Ujan4fhqIUB5YtFmX7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjh5qMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoK8Q/+Kr7FppjMcNCmlRI7kYABu1NG8tjejFXq6usifszbwyqreEGR\r\neYwGDl+mT6vejIQnEyel4YB9nyL7MkXKhqr7D8VQCAWJro74+jaOHSBNfCl7\r\n3x0wQJ4oW7Tln2LRZG0lK6p+nbHNN/Ux/Evh9PWkuKcECZVFu9q+PLaHLvii\r\n0FQdL9BoKsxa1fRx9Q2ylJvk+Ta407+LtzntguHZ+BJly1Rq273xMDL1jeFg\r\nVDU67HNg+JcJx2ql13SGNzkCLE1/ZD1xGQVOuNTTKYVtXjIgz3g0OR2ecGti\r\n9Fw4DpUAgTC/v5XLVOfLLKm4Ob8DWSuhHtSCBUDhPIELQZzw/QGtAjL4Qwg+\r\nLPNblFRVAi4+k72LH7j/s0nmgTBECIsGW3bdxfLKHpSyNLZctM0sFkBAoFAE\r\nJVJtc+6aBXwBoG5oxgFJkqxtDDLFAEbcAASRj2fzT/FBITR7wGKojVdQKUgZ\r\nqGE3kgPA65wgBeErdbXMJT+Znh6AYpgEKp04MYl3hNd8tlcc8dcOlDMdjm5E\r\nxqIaNAVwdZk7NE6NzmZWQwOCH15mcR5UiCrVK5fuHee7nJ1gzGAgFzKmHBCa\r\nRDMgYK/wnvGdZytvePrJpl32n4zYuvP/HSw7Q+6KG6mJxEXOaC+ccLmp20mE\r\nGwnWkteIFldJ5VHbs+hQsCLFiSHnQfcUaRY=\r\n=fQZ7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.ae3c0b1","@microsoft/mgt-msal-provider":"2.7.1-preview.ae3c0b1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.ae3c0b1_1669831307819_0.46713175994997425","host":"s3://npm-registry-packages"}},"2.7.1-preview.f9e2145":{"name":"@microsoft/mgt-teams-provider","version":"2.7.1-preview.f9e2145","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.7.1-preview.f9e2145","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e2c3f08e2dbe11ca7cd9bf08c218272e41946299","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.7.1-preview.f9e2145.tgz","fileCount":18,"integrity":"sha512-uOugcNOlZBXPY82KJYLEx6o5Zy8f+pyDRd2D10Hqlxn3GFK8ebYdvTjRSpvSp0v6b/SFe3N/EHIrXN8WCDmx2Q==","signatures":[{"sig":"MEUCIG7HEeXbyx8CmCLJ9q2hAwJ24Cy0qg4wbuFY8/1aAoKFAiEAyIylqyZraeyY1EGteTuTmoUr1lgnpjUJKJH/eLWYZ8w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiOPQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9Fg/+IfARfIXHhUhg7zXN5XdDy04y/FpBW/tzpwhyI7zmR7nHfr7P\r\nk2qJQVUePDgwNBjrWws7d2S4Pf8UFKIrbkBxyY73EILdtWa50soKvlkQGEWH\r\np0Tlv6x/yzrmVvE0RgwerprL80U5/iQFHj2kkqugCA4OQXNv7Ku18qtdFHfZ\r\nRdcWgsOuQW2w3Tql1/qJDLBX3Fw1z4moE0w+dTBx00gDa6jHa3ccD+bCFSsy\r\nQys6kaiLd9LI2iECXcNDsyz7dL2uyZgFrirVaLN7GGWlmDekLs7XlGJ6eBXX\r\ngh/KbkxLPVwyOWZWxH3DN2EviCjT4a8Bup+MXnXV2fJtWT7heLU9W7neLtWv\r\nETmqom7nfIt2CbpluM5eepQL4uRfqqNw6vRkXeVY5JZnWRJg0rSYJBE8uzdk\r\n8FQnJT5PbVLQ1EG7jX1XoSZ8t4y4fZB/ruVXKeE1z2zIFs9/o4TOJBk1TrkX\r\ndBuAR7e394HQgYofualh4jrnTZj5mWbKJFKAqPKWJLBgffIfIs4ZrxmuMxbL\r\nVTdg4DghZA1xTo0lslAh8SblAohwHhQY7lVpdMlqrqPIRWEjF/wN8XkO1/dl\r\nNujK1HvbwXunx2/TElBshW50k6+Xp7WbuToOn9jb4TGrZMmX59JM5qtw2zLJ\r\n44LFzcg+NCASKPLQXI2iPoRxY46qbpZgqLc=\r\n=v0EN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.7.1-preview.f9e2145","@microsoft/mgt-msal-provider":"2.7.1-preview.f9e2145","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.7.1-preview.f9e2145_1669915600531_0.014825814510597946","host":"s3://npm-registry-packages"}},"2.8.1-preview.ab8f39c":{"name":"@microsoft/mgt-teams-provider","version":"2.8.1-preview.ab8f39c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.8.1-preview.ab8f39c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b29478db34a44e599cdfd00b0007840fe7cb6374","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.8.1-preview.ab8f39c.tgz","fileCount":18,"integrity":"sha512-u5ymhX33F48WVQRYQD3bDLrSIdyFFnc6tJSel0wQVqUjiv7RrP5JPuhBJIIIeSKriccdwQSwhDDLB2eRFBOmJQ==","signatures":[{"sig":"MEUCIDQGYtx4a7aO20XR9mqeqpC/e0Is2ZXONJhhwqlYeVlcAiEA02HmDxtNJJeXVdNgyV7fvLceglB/fJiIGjmTgRGlyfY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiUyZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmxQ/+PR//yDnnPsXZHBHnLizMs9HRo7ffkGcT3auBuNKhTVnkesez\r\nYPbJidOJzCmK+pHIo+b7cgWpDm6x9C5I96rVrOVljoBFl7SSJ7/Wv0tOkXL7\r\nPfshiG+sgj1icLlneaTrb9Ab2sjPF8VFdhFee9TxN+pquQWCLcrvEIndQh9D\r\nwWXxmP+1dZrRwZ6Hq/kmHj602/b9zz2Ms8Wamh3o9gcKcZWns504K/OK8wIn\r\npWAWKvp5R/k+b7yCoptqaHNcXQuk0bxS9C1LFH4l4wlkf4JQvjQgbGH91Kqv\r\nWVkshbd4/lo3+TZn6qNTb0Bar+weEZvhjNRv/3tWHckLpK8gBOdIhJvVakI6\r\njUjC6d7TtMB80ntV9JYbCTAmJerRpPm0gjHQOU+P767aXVn/spM/TSb/cvrd\r\nKZoZ6Cl+7mdygGOM4ExaG92CdHSRt73wNWTu90XLqJFujqLTWk4QV4G/0CQG\r\n+/skRyvAtpHzrjL/bTtTG2BX5vN9LRZveDLZEDcUrts8/mHV6fbrPYGUQBkJ\r\nZEA/LcsmY/+wcWU7VqxIAnUy/9WEA7IwrD/oP1Eznid4Ci94jximjB7X4RE7\r\nNM5kr9avemEttb/JRUegI9V6iFEyg4qEaNHcPmfoGcyx2a8uZ2z4Rh6lBVT5\r\nXWnUJQAF+SkMx0c2ue7MSeM3/NBvRcC7KuQ=\r\n=e5pq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.8.1-preview.ab8f39c","@microsoft/mgt-msal-provider":"2.8.1-preview.ab8f39c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.8.1-preview.ab8f39c_1669942424999_0.4255603293998851","host":"s3://npm-registry-packages"}},"2.8.0":{"name":"@microsoft/mgt-teams-provider","version":"2.8.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.8.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"148602dd3baa34a9873fcffdc5ae3892893b6947","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.8.0.tgz","fileCount":18,"integrity":"sha512-zuJkXgZUf/p7U+wstjBD+jjZGm0NO07ZCrcxX+OTMWXw2+aUbf6J4dsPM9lot993zy7c8ad9+1dkzn+T9SZnCQ==","signatures":[{"sig":"MEUCIQChc9MetqIaJppnyFIcyOas1mjwir8iXyEd9BTBGeGgwAIgXYYIUGwGXG5sgjVU1uV1zAqBPIWb6HZzQ/eHvTs5S7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiWLlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPhw//en7uWpLzC5Vkd5XNTFA6gH8hLOMp0BwckYwNQXrJoNGwrT83\r\ncQRJJQn/MJHyEVdQ4SkfO282ggKLnE/P+a0eNSAqKSovwsADNuydcIWidmrG\r\n4CsgWUSY2/0xovzeEQjYawyKVGwmcABxt08mpOdlRChFA7wAHekQQD/67cNn\r\nbnTy3O8gYrcJ/u4UIKuOKz0XzVaBsB5oeBWmU8cC0qhCrZ2tIQIERAzmbq2R\r\nAUaVtKVE/CvuY/fcEm+I9+tk1JyW+kzXS4PUS1ONomsdnAATlHF+SSzzBIur\r\nqjvYrpl+gPbRw/8Gnr91BAbQwPy6gSqjtFsyiarJuAfBvYmMGlGZx0qiJVv+\r\ns0fGub4ggzlXG+FWw6EsXnAggVMLwPEDPJgBj2tPOlyZrxs6j0/98etCXMDu\r\noO8RHHMhVRcFEaaj3kXObUSUXTGDUdrqnGZP0C//PL9wL46oudrWmMX/kZuS\r\niA7MlhoQnIqz7VQ8lRtoB3HrSBlyvGsQG3vj/hGatSz5O0pWIFCr0U9vJPnO\r\nkaoKVZBKGWy39M59HZye8q4lvxj3FmzTOlIm7IBfsQ08tbNYCbd/+nAGR16h\r\n1bAafBwEuCZPHuclhki6Y8pf1jeQqmJdDYK4fYiSoXhVhKZ7gqfgGtUauRaj\r\nczJo4BxxLNoBXSjSoPoeempdVOImyCKnsWc=\r\n=gJ0H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.8.0","@microsoft/mgt-msal-provider":"2.8.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.8.0_1669948132887_0.8238949877951818","host":"s3://npm-registry-packages"}},"3.0.0-next.wip.31dfb9e":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wip.31dfb9e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wip.31dfb9e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a3428e86a0814e745644e59273d201aa62b3f3b4","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wip.31dfb9e.tgz","fileCount":17,"integrity":"sha512-LyGONgmkPmdYcrI8MinGUD4FE/NJrPRowQrkI1Kw6YABZfWtB6mYi2dGq9p0mo4g5dxJAGFt9k41oMxpl8wgKA==","signatures":[{"sig":"MEUCIAqpLiXm3BjrqgXKjnPtKAHQqAOCa+Hf6+Wod9u9H1m0AiEA1/qCm0GojcciEuKpLC/BqKcSaD8lpEnFJtG9J0++U3o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjj2XFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpq/hAAjisbB894yKT6jvsOR1eAfAh7a9MHQ2XIip3LFn700Z7KV51v\r\nrb/5i41aWjdQ78ILC6Wei3j1hBjirCRxCXIBvHyML0svuaVtlPfurj/IzQXB\r\nssDLfhLBydQ8QWKwLS+vzKC8nPIKIqnfuwsp5GJWdFeRTSxNFCsqBydFIE7V\r\nXZay8E5lK8jwQuxggFUMDNa6+fVm+1X8TubrXfEl4HbJRfOX3ADfcEeOTKJP\r\nIoxaVEP2nt/GRhi/3ehKU44kqfG2oY+0ILKpgNH51gCgWVF9j3/rHRUAVEm5\r\nLvmJ4U4AAJLQkrFHyq3MxAOtrKfnUsutJJrlLSZIXMYlqV1lw7soWUEifyQ4\r\nZ4Ci2GJxyKQEtRFENe5DaIWfchESExP8T4g4G7HLyLGC7KkrEM408Ngticrw\r\nkZFzDK+vz7gSFq/XYU8/MIYHwKMR4v71BDE8g4wKjikY70wB75ykTTdfdHAy\r\n4jz+jcDmZzlvPsBd3AJTpQpD+ihAbfZuk6pIcAJMjQ+bfJR5tTZnCyMPe5Ub\r\nVbfLu2ygOWgZMrlzb2TwR/GhLP0/VeQ6XjUq9kMpeduYoUM/R7r0LJFN8lCh\r\nhj4w1U0QKWAhPLyHgYegxwk2hkt/+qiefefCyosg0dwq0N7Ikb8Mq1JulfB7\r\nWRfd63LpAY5RXtHur5LCpBWgPqVslnHe2uM=\r\n=P5FQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"31dfb9ea998009446d52c689b5d583d08e506ecc","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.2","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.18.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wip.31dfb9e","@microsoft/mgt-msal-provider":"3.0.0-next.wip.31dfb9e","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wip.31dfb9e_1670342085306_0.37786172893269554","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.1edf635":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.1edf635","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.1edf635","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1c2cff5d4d5c59d468782dea39bdb85ce8d4294d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.1edf635.tgz","fileCount":17,"integrity":"sha512-UInYZ9KS08V1jyMAp/7rRs4tu0OHc2NPrhz5g98aFP41ipWZGuJGrp1681TuwlPJCwW8lWyXN6uG/icxciSF0Q==","signatures":[{"sig":"MEQCICzweNv9OOyvos4JB+yWA+JzL9VeOyM5tyvzMywwWWhwAiA7dR7jFWF3SHdDL1tvtncpStkElfZiqwenGJAzyoHd+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjj2/yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpp5Q/8DDcXr0c6KzMasvQJuf2loM6OlB6Gv0snRjRucpyncFE5Yczg\r\nC5ztrg23fyVp1mzw1rQuM4pHyYrzqCCiugAYTYzP6TTBv2eC8jfmSFWbUJY8\r\ndfUXR6JnuJfbT7ZIoTaCuxoTvVOb8tPZ79fyyQ9pyxKw6mS29Qe4ey9SyYiS\r\nQ6j7wQIZxjT1baoAlJZqv2pFTddOqrapjX1T/gAJgvCm5wAUQ2XVbKTL8GEO\r\nQsKIWLCywb56NmbwiimCfh82++6PEdyikSuE1ndfFrt2Wva6EtDVn3EumpfJ\r\nxRFeiMnvtxfMdM1GmhOXsBISp9Uo2JnBob3MPcjC58zzkw8hg1gWTr/b8tOW\r\nQgjXwJS0Q4pqIBNnj2dP6nX8GIpyzVxp/vBmGaLocF0OFzUL/p6YZGd7aVZY\r\nGimdWwgq7kjs+0Q0P60+kZ5HDNAVcaCIRwSqjGYb65HujhZZ4edUWWlNmyv5\r\naWJ5/DaIWh1PAQa6hAplC9mIRaei/2mka+ssftBMYmcZcdfos3MrImc3Hv/j\r\n6SZ/pKStwha6/Zxx79eDmblpcIk3isE+en3DIY2ql1a4cQgdqMtMnfi7qMra\r\nZdXELUOkNTleSU35ZXZx3jTddh/N4XUgIMwCcGEX945+zsrVoMUUNa8VQe61\r\nv4FSwqrbuGnLZbpxQA8vXMJIX8LHkJiA/W8=\r\n=kwlC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"1edf6351d055866caae09e6dcceaa660cc09382c","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.2","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.18.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.1edf635","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.1edf635","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.1edf635_1670344689921_0.46252889253594054","host":"s3://npm-registry-packages"}},"2.8.1-preview.b2cbbf2":{"name":"@microsoft/mgt-teams-provider","version":"2.8.1-preview.b2cbbf2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.8.1-preview.b2cbbf2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0750f027a2b74e71decbb16badb640afd3d09a79","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.8.1-preview.b2cbbf2.tgz","fileCount":18,"integrity":"sha512-pQC8hQrpplc8vCczP8iP/n9gB50EXdVeCTRF0GqaUR6SMx4I8MW1fI1yJYU4e8gxi6jKAqDHI9PLc6sOvOfdqw==","signatures":[{"sig":"MEUCICBt8gpLv3urSprlNd7ZdW7+05orWgEaVl7GADhI+Ud7AiEAuz9b53sQIzvfVUpBMdG6yoidUTzOuJj3il4CkQ2Yapo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmh1HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqpkA/8DnD5CfsUf93pfOeIOxn4LboU93sI6KEHRjrIl57HMa88W68x\r\n0bhr9Nsq+ISaaLs5neObsi8aQ9FKnNlOQe0pIN15pvJI5KNHvTzXsqwWiyGQ\r\nm7490UnV43KEHKwFYkrnCOO+jbH4ZusTo2blS9jsawwBP1DzICz4PwU+i1kg\r\nyTWRf3clRJPlHS1j3Cnzk0wrhqJ4eVZSuTQMxGlt6o4fZkyVqMW5pLGcTW0M\r\n1v26z7eqZWSjJ9WgQiC/cy5s/LFhwTaDc1FZS5r4C4d772KHbt1cfmuvbVk0\r\njy5480pbXzgYSEc9j09OcLzCJI1HV3l1tdczxo/Wk1T4tPcmXm4z0GYWLL0P\r\nvzmgO9ksmAgagUPPjoa3mku4KYJyDzWSWJ+PCZev4wN+X5Kj6/5Rw1E0NbZm\r\nUN4ZnR3grT9aUpDtN1dDN7kpBZzmNJU+i/LaINGioqL2QRB0FUYTDQgGXhjb\r\nJlVlWE95M+4G/5kKUnliuZmLx4tGBNTOFHuB/erUWm/E3HxKACE03BCIxYbr\r\nAD8S/cBcwzKh3Wy8R8xifT+5OOQzMrwVLsFwxZRb1pRUKbtjcJAwEn4kDCn/\r\nKfom3tsaXk6ZO9/MxowplX9U5b/p6gT87tONsRU7BDD6/NrH9NATRVClm1aJ\r\njudMzYZadw+Hq3SiofFhW4JOMJ5AIe8wQhM=\r\n=ANia\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.8.1-preview.b2cbbf2","@microsoft/mgt-msal-provider":"2.8.1-preview.b2cbbf2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.8.1-preview.b2cbbf2_1671044423013_0.3563967653564748","host":"s3://npm-registry-packages"}},"2.8.1-preview.92206b9":{"name":"@microsoft/mgt-teams-provider","version":"2.8.1-preview.92206b9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.8.1-preview.92206b9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d4cecc1fdda42917242cd9260d2a0d066d6ade77","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.8.1-preview.92206b9.tgz","fileCount":18,"integrity":"sha512-zTeG3z8ee9ooNpQsZ4PObwsUPS1nFEO2GbBNJTNsZD6hswH/K9fywH+0yUpA8Q12uYk1y6eNjaWWzBwHnCfLHg==","signatures":[{"sig":"MEQCIDVzvGkM9o9QxEAcvYd4x8JHD2oYoFL1IfWPaQVCnGLkAiASSJzIJ6Z6JTetr4AnPsVKdQqZUaGdcSe+JYtTthEM8Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmlgJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmNRAAoeGk1C8gvP8LM9C/arEwcoePh4JH8oAhVLNaL07HBdpgsm1A\r\nkaLKl6OsTHLWF/HhqW1i6QRqjxsKJsPJdZbhnbJH4oo28Uy0cV8XHX5j6NzY\r\nIylau8MrZiF3y0FbI9Zf4gpfUGcTGsro/rVqJL7tqpn5WAvvYdG5bNii4Ijq\r\nQOJOhh9qUo5hCaCsLtXZJj6SMzlq6z0cS1WdsLzjNMmqaaV1vd17Zyaw4oNO\r\nukBnbZWZ+c6ygmETpQwOf9pEGvI6a25TJkhxBcz/qN+e8wyTXpsQ4ujoHdfv\r\nApwoiGYc5TSG57aGDJwxdgOtNKHM4xW4r+QuRn2AL7tnNGzwQ+Gvqy261Wp2\r\nKr2VEVjU8TRzKd6IwUsjHbTJUguWayJ0SntFMeY85MvHJIlX1c0UDlQfQ8La\r\nSkjTC8sHWUr5/fE/opSDxA486C84CKRggwdjgaykKn47CI5M7WT79670s1lO\r\nO4qnZeGYGtENCIBQdkFFo92IWM3yJsWfHF7Lbfkgt0tCGs1PETcEXxUa3lnj\r\nQT3s5PHcq7iL5J954s2VJFplLs6u26oJ7fPcj6jeXTVGK8OqS2MyDKOeUWZF\r\noydvhTNGRBQbYqiSyBjJ4mid0GaFj8Rfmnf+Ot1wjPqdSCPEoKVmfAHF+v/q\r\nVnsS2cA88zOd//lMNgb3sa0GWbp4FFyXteE=\r\n=bRsb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.8.1-preview.92206b9","@microsoft/mgt-msal-provider":"2.8.1-preview.92206b9","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.8.1-preview.92206b9_1671059465412_0.44230680954627166","host":"s3://npm-registry-packages"}},"2.8.1-preview.2f03ee5":{"name":"@microsoft/mgt-teams-provider","version":"2.8.1-preview.2f03ee5","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.8.1-preview.2f03ee5","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8bbd294eca9896a2a997c1649596976f39c2bec9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.8.1-preview.2f03ee5.tgz","fileCount":18,"integrity":"sha512-yP0d9mBgR1cDdJnXELCIYCiLwh7DP0mbjYbHWLRrgPIunQiLjq4biThpGKEH9Sw7aBNQuPVItsKSmwya2WTB4w==","signatures":[{"sig":"MEYCIQD3oqaZvhyfzSio/enWShtk1LQusnMRpORGQHWhf6Q7LAIhAIgzeA7rb50OodnNczyXqNMhD2hSlIqO7u2nkVaOcCND","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm1snACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUAg//Qs6yFZs4iSHugy4edQMqeNP9rxx+ZVSExWvw1IFgBJN9oHUP\r\nvpGtb8vl/OgaVa3OyTqx+Kyk6ar1Ky5gCxv5WtBmCYes6PQ0YcU+GRmT2XMq\r\nduHv6dm4Nfs9vqXNjcBjYg+bIObzeeBW6qnhTwGf+Ev+6xSRRLguEu5ZqC37\r\nXyXg+KVTmhuyrGpHdXvKt1zHIGf5cqjU296eC2PDXciaMuG2FUgvcYmfh0kt\r\n/ch2guv0Wk4/S2G1uZB3enX5QpbhgckVWnmeDber978gk1CW5+Dp6F3hbR57\r\nQhy6Xlkwim0Eg6FHWq2OF2r8n3959NDHm8yPu0qjYfaZYn6Uj8LMydio+QNL\r\nmpxOcoWGbWgaPLFemBJDW/MPQzXSaqnvVWgHn9fJt5t78WpbplGgSaTmLAiG\r\nOADv19vK71w+BpQCflCxrfX16X43I0+ttVYDznJlss8XzFRpg5sbun8lehcA\r\nmu4jV/uFW0NHpa5UXuNUekdJxlUtsihLEc+wZomtfYsy9ep2e/08F/i9yiCv\r\njEVQ1C4re4FIZlR36Jk/CskX5uKje71G2g91cEA6Lzjlz7hsglUW4BMpEUpA\r\noN3CCEXhmaCDGus2/Eoy38oWRgm1p6CDK6q6Dvx+cDKo3QOHNcKMFt+r1ABu\r\nu2j9pOGCKHE1Jz2GUlmIF9t6rZ50ZQ0yqE4=\r\n=IyjQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.8.1-preview.2f03ee5","@microsoft/mgt-msal-provider":"2.8.1-preview.2f03ee5","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.8.1-preview.2f03ee5_1671125799124_0.8779001668765614","host":"s3://npm-registry-packages"}},"2.8.1-preview.911c07c":{"name":"@microsoft/mgt-teams-provider","version":"2.8.1-preview.911c07c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.8.1-preview.911c07c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e13f2f89a506a75eb0e7b5134d5e739ba3c7c11e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.8.1-preview.911c07c.tgz","fileCount":18,"integrity":"sha512-GWRnGGYGL8d9ha8gjATMBbRBU/KHyUpdO6BSBENObU259yqFMk8RyGPqWxPQjcApp0d50WVg3JZPUhsjyPgTRA==","signatures":[{"sig":"MEYCIQDM7cGT5I2Uq54disfd9DNEq+UvRa9ejEhQ0w2f7uE2OAIhAP0yQJ0kiCP6rqGxdnkHhXykHDkAIHgiFFZdqqLc9eBB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm2U7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrA2xAAnZpSFf2obi7zkwqgeE4a47PheHrUIRn0zu4uCqkLF4+XZYkm\r\nQH2r9ggQxOqyWaKWy+JmJlmTmOm5ugnJE3uIVCazdUMCqUMcr3mlKx+G1VOZ\r\nQTg8PNsUotnVfYRSl8wZ4WjTtwMvoHq+2xGZ7kGSrVqp9dbAUnXaIALR4nDY\r\nDZD5rJuBoCzO5rpPga3lPhYsRgIMdqLhw9Zd/qqynLMqKtTykThUTgg/CxDu\r\na/rY4UKp5656rDt3vEK69KBufUzF9we42ptqAz+T1ZUgmzfwWETjminlaxxl\r\nKh/91XWLQScI8ozOiKJxLqG6HRC7WEoKp8ZWtOI8r6hQ4eL4IpR4wOnXM9Tx\r\neLim/3UlE68Uw+UfCECFI3lNDFy311eP8eTFTL1JzjoQajfLwjrIqDkZATUh\r\nUtRBe1kHI3/TDzLEWFUQ8AWY/qDz7auwpJZMaV7JszrPw1/viS64jLNyVPEO\r\nHBqZrdYUYtNoF+0LkFLaXmgRcSQr4MNd9HKy9ySEONvzgtWaqTuokIs22Ip/\r\nJvYKgvtuv5EnOjGCxhethZNK8uFV0Ch3kP/S9FbxUc07gzDjniB71HGpiTqc\r\n9wqT4DDMuSCDP7h3m9eujCiKXMD7GoJj4Rw6I66K0DtLTM/Egj+erM8Vwa4r\r\nDCIZupi/zIVZYypRNoLPNLM2Bo8eDmRxLUQ=\r\n=D4W4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.8.1-preview.911c07c","@microsoft/mgt-msal-provider":"2.8.1-preview.911c07c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.8.1-preview.911c07c_1671128378975_0.614414906834841","host":"s3://npm-registry-packages"}},"2.9.1-preview.75d11a6":{"name":"@microsoft/mgt-teams-provider","version":"2.9.1-preview.75d11a6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.1-preview.75d11a6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b0f947b60f5356e2e6c213e2a91edfe5b381628c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.1-preview.75d11a6.tgz","fileCount":18,"integrity":"sha512-onpdSQ6wM9Lbcj6KKbYxbkLGyK6Aratjo0K4LQXypXhlbLW2zSAzHkSD5QaWFcr/QrKFOv4J+s3AQaIs5DqBqQ==","signatures":[{"sig":"MEUCIQC2k0RQrw4BX98x8aN7Uw0xCxYShD1uYXyY2ZUwhJm2iwIgK4ExObhDlI4H+5ZpQemhti+GJAMNdDW9iYQZ1KJ53m8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm6rTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpI7A//WAp64As1FlEb32VxuFPXPHVEp1ksr2sW21w3bBy/BtcDJ9jn\r\nn4OvT34sO6bjPVs2iNssRcC+sA9yf5Ewirv3S5/IuVbmf3KPth+ILZoDFO3A\r\nfzOOY1fDZdZujY+S4rlKonQLjX2ydqXJPfRffrmXaL04qsRWOJRWCP3icY0Q\r\ndLOCMzCvrqEKcv73IlUaMy/wJx9610TENpFLfruLfNCquL1Aafbje7pMzPGP\r\n8Es51aM9XRU6fTtrlxzz2rt53rEmjN5Z75ANH5m3h8R71DsdUt7+Nn7vOSn8\r\n/nnYpfMDMRHfscQPq7zNk0mIHdx+oMXxWCzozJt2MLAMvCcmAJhnXDfS1qvD\r\nQ9VyZCVl+BNpcTVVdlx/LgavXPt9pEmyUAW8aQm4cO0dQWKIGBNUBEHjQPQo\r\nG7L3AkrwpJX1KJciV4W1I5lxj/oK20PoHc4abw89eX1WR7tCjwuosbLdgWDN\r\nEZMd6mzsfF9FDzYhCvm6cVB1pL8m8IzS7mFq9lRHNJmiegwk4Vp2k+iLerJf\r\nS0yB9PPR0vV3ka4F4qMBAPvBj9jiyPoPpOAKQ+IgYaqBFWiioktpHJy8bGsD\r\njm1wXMW1goSDOYOr1YSHgOQ/64bzyHV96K7BKm+xrWZsy7LrjXtdRfVrJapz\r\neDk/nNodFTrLgAOUlaeWCFqGTbsErYisEi4=\r\n=tUcB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.1-preview.75d11a6","@microsoft/mgt-msal-provider":"2.9.1-preview.75d11a6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.1-preview.75d11a6_1671146194824_0.3977951047885646","host":"s3://npm-registry-packages"}},"2.9.0":{"name":"@microsoft/mgt-teams-provider","version":"2.9.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a36f939922ab32bece2aea93be119d8bbe9b3ec5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.0.tgz","fileCount":18,"integrity":"sha512-30IRnajHdrZdtxyDaQ+v844EUDL/jR/+pXWyoYfaRC98IwteB64/LQCIZv1PPn9Mav+vUAN2bot55YnIU3UBHQ==","signatures":[{"sig":"MEQCIGiGbWdKLnDUisAd2wCg/27pfQcH5oVlYpDMQ1cYhmbWAiATAd8NL5y4OH/p/RoN7skQVn0RdoyDOEZZFtjGEc/2VQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnK1EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmos7A/+Jds+ucnaqSgQxXRe2XCUNe0KYLkIhwE8TQjRiH77p1Fen4Oe\r\n3rZZhXGG9M3V8+SRgKqd2ax3gFAj6rNifwTwOC22RGD1g0c2DoJiZQHo/0r3\r\nS4xn+Mi1nlb19PZkNup6kmKuBbCc/SHUmDaHMTXdtcUldf0OodPcK1bOsqJK\r\n/RNoDLE6LQibK9LaaZjwufGOuMGNG8fnR+3QwF58S9FZLIOYdbuuXVTFlcQR\r\n2gKVsyKwMT7gNbRZCIqLX1gEfWm/Z4iQgVk5L/DHg4F3Zfi8aWmQKuYotVF/\r\nDHXHZJjn2tjOabyGKpDeLzORkSdJwRjo7TNHL53M1bHA61jFnrIc5CcjDa7o\r\nBGtXOP6vR/iznuGVHwaUv3WEvVWIROvQ1Wl7aDnm64OT+F418KyfR/MN1mM0\r\nP8QK/UGVzn60lTQU5lU2DxcVmWmoxH7AOCLjUHrIBf5nZdKV8jdyhjSXKl0h\r\n8iCnfdeKNfOYevWCuDIZKvJPZoilwsfN/qtOkKEfD2Z9LJ/u0wHnlxWrwUPH\r\nFfl0gfF40DT5bzbfQMBPb7ii3B/evTuZFW/V3m0b6B9NIyNkLy0QG5YoNUHr\r\nqJxbNSq79jS9P+B7Gz6piqpJKgyVD3ZH/+JYyJ2p2T4yF3BNRZYksd9Aw6XC\r\n96b7W1yLkPqs/mF5fCric5J7guskV/I2A2Q=\r\n=abi2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.0","@microsoft/mgt-msal-provider":"2.9.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.0_1671212356744_0.021276255305618275","host":"s3://npm-registry-packages"}},"3.0.0-next.enhanced-file-list.02f4ec6":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.enhanced-file-list.02f4ec6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.enhanced-file-list.02f4ec6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1c23e847c47cad506fd6ee3db57e3dd96285eb9c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.enhanced-file-list.02f4ec6.tgz","fileCount":17,"integrity":"sha512-540HKkLW40q3MQX9GaghdFT+fb60fto2bXMdPVhA4jClhiF377e45I2CSRiS1bDO+RoUfRVa+ei0m3F8/EEkQQ==","signatures":[{"sig":"MEUCIFblny4xPKLSS+IkK73ehpUvzl96oIVKiH4AyMnpHM/jAiEAySEKhIaOmrcFGDdU8RWCqctFY3o96o3dow/8fGk8DQQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt1lMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5EQ//UkiP6Wk75+HGm/Gn2Cj3DmhO9e/SV844hKRy8N/Jzo4E42Wp\r\nWgjx4ZX4/UD5ddRCukGPTXCXwyrLkmbMxLQJMZWbrMzsZmEgWiBrN/7pA+1c\r\nIrTemhrgErObOpA0vrH2denMXYsvukBo/TMR2r0/i/Rt1WVnW8dxaNruTN4G\r\nFVhLz935EHtXVerhNwIUBpY2w/UQDG6W14Z4mn6IHM6Dd/BCuZAR77Qr5wHu\r\ngluiTlwt6802cokgBvXa2PgINZGYhvy4AZJX41wlGYq1GjMJKo2oQfB/f2DL\r\neDvVwYWcC0lDl955wQvGs9GBWMhuc4yJMdXS4sm9nSUPJ12G+C05gVTZIJcA\r\nlKwnaiq0ZeZEFXLi3RthkslnkCRTEHqPW4Nz0EP94r4GxLS19sUKpSl4s5Cj\r\njZnZq9Z6WC6eiGW1JuaIajGJ5+zJUUD/DgFSHxZ3Iocaf0fn/j35YBX3kK6k\r\nm3fRdIOkVdCyfbqyqD9WuMLJDcIN7X0wWcyYTBwiQcfemnaaV5uRXef/51R2\r\nHM/9pFRTHl82zfMzV2B4Kf8qus/3u/97DLLXTMvdEDzNqNSmRWl5IryndJzl\r\n+VU7ZIc14f45xAqU93pODd+g2GGZJMa+Rtrz4/9hXzQxXBGHsDyeaW7/wPJn\r\nmdWJ8o+f/tOmBv+Q8dokJMxighKEo8la5kA=\r\n=BuYu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://docs.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://docs.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"02f4ec668b2316562839d2e66843862813808717","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.2","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.18.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.enhanced-file-list.02f4ec6","@microsoft/mgt-msal-provider":"3.0.0-next.enhanced-file-list.02f4ec6","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.enhanced-file-list.02f4ec6_1672960332335_0.9216001013974717","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.d919752":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.d919752","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.d919752","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"849c4c3cc46e7b335da3100c5cfa95af81220679","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.d919752.tgz","fileCount":17,"integrity":"sha512-HsC42aubblL9Y8cevClm3d7sEqmEZAQMbxMfjDxHs91ppKvPNFUQg/lFh2rHmmvH2ZG51nBp3m5k0tzjuIHd/w==","signatures":[{"sig":"MEUCICRnBNqZt7Vs8HNbbRhhJPY6NLAoLn1ABVQiwJ9IU6RjAiEAtFzgnJmwMxXsQFh6lnFr0l+kGx4MreSENbXwqJVlZOs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0CnxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotFA//QnL4YW5Dq1C99rdvUWiEdS5GwrE7x3qmBCFhfuetx2EZ2Nqw\r\necalWVxN/eD4hQAwTZ15KH401qnbfWXRWCt8zSIlb0FHJ5TRUmCg1s0InFbZ\r\nAvMZPs8JRJtn83crvV47ZPbuwJJve/tMc0N0TvDL+Q1nipY4rhOs5FHs8/7Z\r\ncUawWoMSfBXqSzKmijCFa7kR8BFVYD/r3a6sZPkQar110hmmEdFsXLFLzW8E\r\nzJRow41jSwmZqwS/GsuyZ8jXCtJJXEjIKafs5+SkO1TjjSx+FcbuSjp+tm6q\r\nfu1aGIx9xmVVfUBV86aOQ8XxNU/V33LeBrrrVTFCTqj/IKZEBr29Z7OJ/fHY\r\nAmy8a4yJ6o3RxoLee8WDnp6LAFVXxs5aqZkeMgCJbxmTu5AUwtcCZ8UnaMp8\r\nAJeZBCwWHFHVs5wSr16EO9zbTq3T0031VHBSkrfb8ghrtPZF+ZjKwniXFQum\r\nPbV1th4bvpKNWFtmFLYgajFjhDd9WBnKedCt6D6yVzFQaSfhtmpF2nNIp9Sr\r\nE80meyj9AfnSJTXGZV1UA5Woqhp8FrQMEGORpBER9bDgpm/zAgsCTMcjZmrD\r\nXTXpV8nzgJ7dxK7nE+tdl6ButrZNJ2BuSujEdww1ooCgAys2dmjKQ3BZXS7N\r\nxoNjCXbzeWz6hOKdnBE1mo25H/UYu2K9bcE=\r\n=EVr2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"d9197520080ca3f7d725f3c6199a4cb337bc36a7","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.d919752","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.d919752","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.d919752_1674586609437_0.23476916109357582","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.5ac2099":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.5ac2099","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.5ac2099","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"70bcc36c5b265e2c35bc9b9eedf2ef3e369427f6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.5ac2099.tgz","fileCount":17,"integrity":"sha512-dSK7kiFKQ02cLyfwTkB6ZSiPzfbWzFf1vSFjXqh9RSyWFNt3nbhJyA1A+lZptKKyfmCWUA98khVaVZ9UTfXglA==","signatures":[{"sig":"MEUCIQDVrVM02CGFN+iIcss2+FDe4Av6hsG7Wi+JpsIMHfoZVwIgK7Brc4NkHTKGhZU6k3ZSmWPMh8LwcWNHPNyB8ya4tjQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0DqXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRNQ//ZKEZjcGSxR1oE9o69vxeyUJMAnjbUsLTSQKGWvtftbDafEGC\r\n79DRKheHSJsLDbGvcExTOT7jgVcl03SopjwZuyvXO2knJDcGYFugtqxiFnq0\r\nlT+MKPgwI2c/CAc6sBZK74UEObnjv0LyZ3CKWULE4wSKYmvOvDvgSQA0RfB0\r\nwL7upxjvzcfmGYklOKejr7Ao8XJxlHGj4sa17w3hTRetwYdTlH+dCUQmBnx4\r\nL1gCmqXCVusCyjCplFQYID7EYIPIbj3PHXF6CyWo6Ew8Ezedu373llwW9fmW\r\nIs5OTEwD76N6mGqOoDz484eUwZkAEoN3DZOxNDAfoadxRp1bYwiepL7kZJ+5\r\nEnxRJQt4p+hwkJR6X4/R47+QpA+Ie/xOnYSnb2D3wd5biuSkbBGYFhL6lBOQ\r\nH2nNZO7IhqHRsPrtb1qJpHTsMT86unoSVSg7AGgA80GHJb9/pTX7X65tpDzW\r\npUtf2YCJj2JtwzTDUdmBP9w4x3Y3aMCpF6Wg8bYXe50eXI6UbIjF6CuE8uXT\r\n+15eHQyUz2M0LfdW/DEmZxSLp7297IOdHF378Y2FSmp/gIE2oPBu7N5ZLDTy\r\nhJ7zwVJf2snjCWV3ARy+PCi2yGnXP6q65XYR2fq1cFODSIjhD/9Y5riCc8XC\r\nuysQMafCF2c0aiBdtLZtgAaDU95SH/XaelE=\r\n=Wsxs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"5ac2099e49409ddce6b619a89fed3e6ef6c32c61","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.5ac2099","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.5ac2099","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.5ac2099_1674590871264_0.8051755880116276","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.fd01cf2":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.fd01cf2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.fd01cf2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"aea4217030922e3756f253a76367de12b70691b6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.fd01cf2.tgz","fileCount":17,"integrity":"sha512-+HhyAXMxg2Djy+SlG1LhsLs0A6vJwgRdYOfbxT6WyEfF49QdnbUcqU33lktFN0lpCkF4Vre6veoABb0aqcXoJg==","signatures":[{"sig":"MEQCIEzKdmf0rqSvvWi+AuUXdwI6G1A13cc8EejcFBpk+OvzAiA8soMpu3wtvlnZnBsG6ZHKj89kChWcalMlZX80H7QdGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0FpIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8VQ//XjYV4K41i56eusfhm8OMeTWUpLBbpy5quk6neOGy/P3LdlKG\r\ngt7fjyvIV38+09+SJzyQ3OXShZHeOIhQrWBk9QBqZdgWaZx5Zv2aUR9HheXz\r\n+WMa1WLCDq6X8WK5RFiyscFzKRJvn1DGjajTu4oJfJq0PR40RWkCFP1klKht\r\nZ8XmZjj7ndkhgJHnqCv0EXFVocmBRkWIQN7jcI+3fXeFiLC7v9Pc5XYSU7Aj\r\nCJhhYX3+Mm2zhhJLR2v8Pof72UQNnSKfMQGz1oFvMkYbk5pCSOgACa1O4P3Y\r\nj2F9Bl8FZXjezrDh5w3jH0LW5gpSLNRaM5h9hVpv8YD+/jhIKlEWUpmD0KZz\r\nnxjNyOpdsWe/PF4JJUx8MApXZ1HbyNW6fRCPtMorxuB1rX/s92VaW7GAZ+bq\r\n//B8FU1E8WNK3jenHbKnn05cHeWk5hUf3C52JY55MuewGo9oRJv/kD0iy4A3\r\nnlu5+Q4TysidTJEKC4KWc1CgbpJvjA84BJ/JyUsxj/B60NfUbft+xy9a//ps\r\n3gYzdlH5ZNuXhK4Vqw76uab4oBGM6W2m5W49VNqqH/Vi6KRmvTzsVP6a6zQQ\r\n3wGZ6VuI++ahS9VCIDSMSRnHDAGvKyafMYnyy02TCclTJOKfDcGW9G74aLNF\r\nZPRAlAg2BFmu41ij78YtQaZSj4pQfYhG/HI=\r\n=VMRf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"fd01cf2e36b9ae26863fd87ff7cdb1162e00021d","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.fd01cf2","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.fd01cf2","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.fd01cf2_1674598984610_0.9288931739106334","host":"s3://npm-registry-packages"}},"2.9.1-preview.5b32c5f":{"name":"@microsoft/mgt-teams-provider","version":"2.9.1-preview.5b32c5f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.1-preview.5b32c5f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"967a52ea019a000e395fd68901c5fa79535cc492","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.1-preview.5b32c5f.tgz","fileCount":18,"integrity":"sha512-41QPZCEi63Y/uZE+iF2YT2xyBlHbm+bJ8DgS9efzd7zr4dT+14qgl4JIo7hz4UD+WtzxdQnHlyaGvD2/RF8LLQ==","signatures":[{"sig":"MEYCIQDAGu6mq5CFvNiUU530TxgK0XUUfvvLQuLWWodjrolHVAIhAKqOZpDw3wk/EJnoRDoBJ5Nmqj6dwu2BEMtPmB8xDqeI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0GLeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDXA/+Oen5mJVmLESRq0JE4y4weplC4kSR4xy2xMTsKlhN9ghsRtfL\r\nosBmcbqDTQqripcwqmwkFdHBkKddt5+sSFXkEwmLW0kaKBBU8bRiK8pT9AhO\r\nWA5X/urpP/D8Mc8Ok++hUjzCr53+Gb5gHan0yMBiRbDBsSVpXfWvFBRzOwdJ\r\n30+4PRtHJRG3H6Ur5T+Vl1HPPkK4Em7EoD4oRcV3rV7+6cDdDljuugx6LT9E\r\nZSiG/HHNAjZI0CxHvd0hTn3z+iagdpl/Bkhsambg3RYW+TorGBbcW2Fij9nt\r\nn+l/ieIkKLS9oOx/yCuq5qcYdH5LlpyinQRASKd8oc7NTtJEwXOSvFTxQR4Q\r\nsY+gXadD7vCjRhhty84ukbAGLtyUIuvuw/cmgqmb59NBGIGAUDaxobGd6t/y\r\nGZGtwPMWX4VmSwnIk6K1o1YckUhU/wKGSoDdUVovfFDMlzx3WXZdlnlAF298\r\ngnQwwhhILzxVGWgMpYQqwndUpNXVZPvchrJ8p3BDHutkcpNUmRfH+LXmLU/v\r\nyvoCnC4y0STeCWHwvVq5s/wVQxJDlgRK9uHfQSqHh3WrYDN8SX7FBVOkUykT\r\nEWFR+9qhGxDaM98skRg3MpzNaYdpUqlS4Ucz3px7IeRTC3IbDnKN7yjP7wYW\r\n+NA++SYkazyx924ffwRSE4ZQQ1Ze708ifmM=\r\n=nPr0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.2","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.1-preview.5b32c5f","@microsoft/mgt-msal-provider":"2.9.1-preview.5b32c5f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.1-preview.5b32c5f_1674601181933_0.26965751720696196","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.5e5069a":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.5e5069a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.5e5069a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"84d0be580c1a71b859ccb53f886425cf3fdb891a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.5e5069a.tgz","fileCount":17,"integrity":"sha512-asmx+sgKwe6VO69M0a9afQFAhCD27ar+4YRrr4AJ3N43N3X3SoFCde37YsUrRESgbofM3pB2BrU0NI0Ca2RpHQ==","signatures":[{"sig":"MEQCIHfeZ/vL1rbvNyi/8y7E0PjAKxngrsJRWIOCL2tfAInEAiBHPkHbiiST0Cq7Gn/YpJA6ByhdzekghMDywubLMqsRPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0arUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOTxAAjE41xaYyPn5waxmETUr+D2q6eO+mvycudn5mBZ283WvdjzP0\r\n3YRe7ma9aze7zX7BPxIb/js8SL89aBqZzHTCFljKf3R/ucW/gUBXEJ0rdguz\r\n5DDSswy83oKebP1aaqWf7A4GzjPBtuxS1UHe0v6y29PL6ke+in0HlGevx1/K\r\ndKadlpDjAWKwVbw1bxk4JEKmY9QRLeEWRdS2ha8F3mXGXR+POX/xHzxcN1rF\r\n/wQW27j3vDt41MC95xgMnbB6uH2JowPAGp4sSgmZQRVvKkq9Rfq+2Zapb4/v\r\nILof3W7DG8i1hKQpDjAD9AjvEyfIrYtF/JFiE+TyUlWgTHdLO2ijwK2+GQpV\r\nh4LiEmcbAuswDPQ2FBgTqtRyCdCvbQvBWsXWNQ2WI+0bdfXf2wGxKPTImQ4q\r\ncw7wXfocGlE8RxzFwMuUCK1aJbJQEDhryWo+7ds5rX73R1Nt+0yPWZesYdwN\r\nV3DNNCSo94AHKFlwSZMIYuVQV3U+4zSQxi0LSFUPGBbFbclLnkJXO+Ou34FC\r\nY8A0WCuGgHpCCFAICGaqK9lMsOo0dD/SIPj/+6jcfYdaXiknENIXUxqzpe4G\r\nkQs3+SdbOTDnQzTkYv1DAWL4Wac68tOtNlh3lCHqbOaMV4V4/Bofmq2wou/m\r\nTQec1Avh7F1WEoU0NiLhPaaXBTjSrOQzDKQ=\r\n=hJhp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"5e5069a0b8b91f3dafe30e9458cc5e35ba366255","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.5e5069a","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.5e5069a","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.5e5069a_1674685139856_0.04139380669501791","host":"s3://npm-registry-packages"}},"3.0.0-next.enhanced-file-list.49c3edd":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.enhanced-file-list.49c3edd","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.enhanced-file-list.49c3edd","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5a84bdc5f8b7406f3ce5346c71506dc049315135","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.enhanced-file-list.49c3edd.tgz","fileCount":17,"integrity":"sha512-K215B3sidizlCd2/yml0EoQYBRTRfZuahI0EfcAtlE85rFJdP92zLMcKecRgJxeVDMO3cky+AG5XR9/30+Rfmg==","signatures":[{"sig":"MEQCIBhxddXGmtooOoU76qQQryy6bo3T+kI1gVe4tOMXbBGKAiBhC8BfowipENIuJJoowpedudVOcgmoZHNvJkmnLYEC5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0bp/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEQw/+P5hLeX0bHcH6j0rJyxJSqh9h0sS+BV5MarYNk8bVf7gtANNi\r\njY4kJ6s1Itk2GY5QQdgPkjv36FxWMi9ywygR4FU+aehs9eBuzjhaR12U4XBC\r\nESi/rRLYYztUOurlkkqfeWN6zvsxkHnJb0NB3nENzcFbl3Jcw8u/OLUn4Xhi\r\nr0p8Wej++CYNen8uNPrTnrXDeJfPHxF1Zdzxv1lhXbwlDXTOs41eQr+2CL4S\r\nWWbJt7351l11kbvrzVlWOSt7oPJ1Sy/SlLaI5Rpi69p/Nd0/cyn0Pp0VEced\r\nuuxuK5o0qLiT5RkQOZoUNI4zoJ+0EIv5MayXKCveSSCFTx38vw/xkrQOtozL\r\ndZaV/jaWkjkQaVeMd1ZFhE8sAaFyDEuvUb+k11HwOT2I/6Xsn09xcx1FBr93\r\npOr1ZKT5dJnDJ4GcrXzfiYwdsZclSTe5CHZzqyHLhQ8mxZXgl0mSk3n96Eyu\r\ngTToRAJXZtFkyfCBT1TZetohN8UPQt0yiNGKkggY8FtRVHEw5F9/SCT19RtK\r\nfoHqXqcA3Cy3n7hDHFQa+vmuRvAfWOkUzL+wGMXPgBFz46BmZnnWdSpOM7a8\r\nm8pVGpZOVWSrodFSGPyF6G60rfySIpeNcFSb/M4z4RCh0xS2Bl2cMvTFihs5\r\nCzmN1PrKk5jbScStWyrZnRlKsYhI2Ki8Ibg=\r\n=s8P3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"49c3eddd5ae906cfec172acb2c08e86fc2d0ebc0","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.enhanced-file-list.49c3edd","@microsoft/mgt-msal-provider":"3.0.0-next.enhanced-file-list.49c3edd","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.enhanced-file-list.49c3edd_1674689151613_0.28315719250311466","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.9e00738":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.9e00738","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.9e00738","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8f0b972300222c41a20ab98a9ab94490937b139d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.9e00738.tgz","fileCount":17,"integrity":"sha512-t3wgVEiEePJ/HM1LwKqlPE3Iu1ThO8qj1sl0isK2ebVoH4aCLE9kdH9rpzHp458/RqOI4nOr7N+sL00iBfES3A==","signatures":[{"sig":"MEYCIQCz+bzdPbhrY+EHhJNJczdjU7KYnaTBOYkMGaMcOn4lHgIhAK7t3Y8MkLqDMmTrfH2nsyzeAoewPS9KeXJd9K2qzih+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0snTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWXBAAiBUtmXHVvKYj1Fkr3j5W9Hy0/DMKqzKDtRldD4nYo9NYAMPL\r\n45UlvZ/OuDVpIpKxMp8CaJh89wDlrEesMMYh98ao1nkuk2UhSRmUVVp0ezAw\r\nqTivTRk6ZfvarsSE1JCqeyXaNLFKfPaF/3frnSfamEwQ7sLljHkoY7qU9HdO\r\n4D4wS3zrj4L6uFk+Z7tn/YUpBs5hwPBb/ajzACtgE7EgjNpoLL0xRsuq//lL\r\nI+oGRCghnyZC9ITcJdXGnMS18r08xsTR5/JCPLb5pD/bAw5O3Cl2u/GGRXLo\r\nkvBEnsLy8mCTO69Ii4oSCob9GFf82GlLqNxmyb9m+16njsFpIl+BGAZSD+ax\r\ndcvKHyaOLfjwhuwK9OqgylHanbK4MfK1OdQXYREb2poIwl6vhxTPy8q/zzQt\r\npEZktCNGVAVRKbL58E+Z2dfy0ZXcUzA89eQzXpF+wnlrn9tpBwO/lT/FQ/Wt\r\nZ7WgvAE78icQOdInRnnoFMbz25+RlMMm6MXsNUcfOujvVSLHf8KIxR8Vz+Sp\r\nwwI/o56Mek5u4fOHlzLHWf1KGOeFcXRBja/mof8xWEfyV9Nt9/wdO7U2R0VK\r\nvzXAb6CYMjl0Zd5ym9TbsUKLpE46z/S7D/VZhSprSoaSuyQ0vHf7/0hHGxl9\r\n4KeACaCrZmD2f+Ou5uZXUIQmqiaJBvCKI78=\r\n=koQo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"9e00738e94ca98a44e4eed1cd8d4ed3390d82cfe","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.9e00738","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.9e00738","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.9e00738_1674758611789_0.47386678145844807","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.050527a":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.050527a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.050527a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"f46f4286076f748390e54d553412fdd76dfe9d86","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.050527a.tgz","fileCount":17,"integrity":"sha512-PLGwySn0EEmgpPQRsDvxz5VwH7rtyJzsMoZ+SznQlVy+9vjmD1AmsU/CaF3Z8UJfaCkjZZMEzG0bLJLZ1hpXjA==","signatures":[{"sig":"MEYCIQDHedvzBY+Z0n4T/PUSnTczkGQMNZ0kTfUVAF2LAXYSMwIhAOc1r5JMtY4ryVbaGlF8TQo88VS2d9eHeLeZk1zrXTpX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2FYrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYaxAAjbNNDBxF7hFWI4MtjLJwAXKfSU2icBZgZ7Bo/+NPh+BFKTNg\r\nIRE3q0HcxjUfe9IM2z7B1TIMU97O1esYmraALQDfhJ7axCZtcZPWaAjELYpt\r\nmwkJUdqAxW8s+nfdy0KNrrzCmHZ47FK/pVwefp9whMcuwhavVZJntKQcux++\r\nIoIZibTqGJ6Paa/30kZP6ERUKeL7F/VWmwBZ00OgWRW5UMULuXP0Djb0x9WQ\r\nuTzp0BHgNRr81lYPLnn2iiD+Ez6OPy2Ma9cF94pk5d5pSiYmqifeuErCpSqo\r\njYiI6cXz4hLxISDgWigSgIdiAawlz5OEe5HjAE6uJoIi7nS3bn16kWxWSOXp\r\nrq2dFyM5xukLoD30i4xiZoSSpuGEQH7QkOD2gsvJCt1YD3i1uUOQVmVmv3zc\r\n7qp+cmqAXFj/rYh4mgYQKQOpORP4ir0ongDCCMGXd3Vntkn0d/tCcnietjmM\r\nUs4LXsLCRMQLhctUIBa4SPn13cf3ZgDZYF9xdiJhG3yOR3VVRMnPC5NFBsu8\r\n4sNaBFAo9ksmNdLCt2iFML5KAW2v70oq6JtQ2RK2qd9HJHss7KoEit2BYK1q\r\n3Wxjy6YYWBY1/zDJRysMdnFBy5C27Qv+PyMHCXae2rs7rMrA8FtiC4ZtmvF3\r\nP6YfkiChDZjrfxcwoQ4aIoXpiXpc8RSb5A0=\r\n=z736\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"050527a474086d0dfce250cd1c8d06c478631c13","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.050527a","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.050527a","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.050527a_1675122219466_0.8813794774425734","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.0509e40":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.0509e40","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.0509e40","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8af0dcf3ff0568048ceeeb235729b213a2733c8d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.0509e40.tgz","fileCount":17,"integrity":"sha512-VTBq0qhzA+8b5yyPMrZH3aU/ZE6rFyVZXa5hjpMXY/vMH3WTuaiebX3Eb9r29s4rTKdMP19HTboDMZ4Ca3l8aA==","signatures":[{"sig":"MEUCIQDhO2AXZ0ynSld8PXQm2yhYTB/s9Oyt/cAoyrBGnzrntwIgBDQ3kCKewZ6s2QNFbB6biGvj/s9gjZPwukTcEuUFnRc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2ZW9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8lg//bv7e2K0ba8sGwR7kBhTCNoHk7xsescT3leoXTyZOtnLzF115\r\nHH0Q24yzfcFw7EEF4hrojIECdd6eYfxY6QXS3TwiuZpWX/7xhYdogoAJCS+d\r\nXAtEaKa16DrJXhCGvpQ7fZK4NYlXKO2QDwmJFMF4RPsqo9hn1PpLmAbYu2NH\r\nOHuXcla29XDFapbfgDhEpnmzSYFonrBFJq2Y5hmh0vJ6lpG2WmEs3GhEZp+m\r\nxLv8d5e0CE0O663t5pA6SXoKdsfxopqg1VPtdHYw1J1+kY5cd8Jl8XUSkgA8\r\ns55hHB33CX+BDrcz7tFMeehmNshZHTgVvWorT/IL4MjZyb4PmByWxQnxFASc\r\nf/VlDwgSV86yfWtXORHtsm5l3OpiuGJA0A+XwcMEc4b2NVLOodHovnCVIb09\r\nAc1R61bn3Izbvx1nqPZDsLsZQFiaHa0jo65D7SKtEoxLwJKSsEEiJuZ3sGtT\r\n/RqpUZAec1vBBoaCU5uRFlRqmzqyTGgVQs0OGNaZxb2lNA5x1pNvhz08eWKj\r\nQHhTOYnR0aBk6fVFOPN3cMHEtwLtzg8skrqSldZZpwzs1xP7XCp+f6C4rczY\r\nnqg7Y/AT3fXKxS88LSGeq44jrmaN/R7kQ+3OlC3qQmYCK3rPYGx8qfv4ibNq\r\nCPlS8Y7PMTtevFm1RqGcoAM3CKfV9xxfgMc=\r\n=FWhd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"0509e405517412d6b2a97480e3a9e18db2b1333a","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.0509e40","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.0509e40","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.0509e40_1675204029176_0.6593357910322395","host":"s3://npm-registry-packages"}},"3.0.0-next.wc-registration-utils.6ca9b59":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.wc-registration-utils.6ca9b59","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.wc-registration-utils.6ca9b59","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"64c99f73c54e1abe521263028b1d52da4c3b22a6","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.wc-registration-utils.6ca9b59.tgz","fileCount":17,"integrity":"sha512-unNiP28OeFDHlcgVsDzMn1WjIGoHzvJdPti34gQ+bJlna9t5okDdTBCTgLiYgTgucImgRB3Iuh66Fxb3inK0aQ==","signatures":[{"sig":"MEQCIBCMV5GfpwZhWME5q+b58rp9dB9QXFc1dxTGhJW1NAdIAiA5qs/VzwKMFOWOfCEwG50ITCR28jjbguS9OEEFtqQrPw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3CLWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjIw/+NbOXuMP1qk8d8rKVq4POFU94KS051TkMN3gFMbwr7/OVh2x4\r\n42Vn3ogLw5oc0duSVIDqm2XoPi4MPtsuWGlZCJ4wdShXm/mWKvJpR5ALvgoW\r\noxw5SDMDM4BC9f23l+8zr0FwSfXHk4zDbFMJ2IeGd4axpIOltCztVhhnzI+t\r\nRE1wLZEO92M8P2VrlHMTCBf95sbMAYTn/EjHVu4hm/PiT5KAYuF+SAsJRO/w\r\nGMKUsJnFBToT2Y6dG2Li1SatV9YSFad52xaOU/KiJ/Nr+h8VsrVRfIkRmJ7P\r\nAeD4s9lWLHToXaXZWY6SRHQrtuLeqpXhf0UgBd2G0uurSwkiiNyOF6nMeNn9\r\nDWdGW1F0t+cv1jUjFzFyM6ArmFgvNazfCgjqB5HEz6BGBUVkMenzONE8iSzK\r\nPNRT9PYDDn6UDInyFUivgAaOSAoVswHKxXwwawYfgqNa/DRJ1j8vahw03qIn\r\nsQ0vV5TG8nMpeO+mvm2WGSgt0eNqiCnSZ7XTkq90edjAhWQ+/Y6OtmmMNT1V\r\ngy7GGj7SdCA4ezRRmFpLkCtf/B3NOdaiYEAr/8iTtA5HUmFsn90Q545vqjmP\r\nzruQDRze7GZHa75lvSJQOF0uF7C608HwINBKb9qYZUbvGFxhRrwFIL5vEQg6\r\n/H2BXZNutc9LlmCsA1E+SQKf65GLXF1Qciw=\r\n=3o99\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"6ca9b59ad6424613417cf1582aa85ddb7e692e53","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.wc-registration-utils.6ca9b59","@microsoft/mgt-msal-provider":"3.0.0-next.wc-registration-utils.6ca9b59","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.wc-registration-utils.6ca9b59_1675371222176_0.8005413583786045","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.6317ccf":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.6317ccf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.6317ccf","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d511befedf58459a637c2f8ad3c75bd2826ee06a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.6317ccf.tgz","fileCount":17,"integrity":"sha512-Q+VujqWKyA0JN2YluYp+O8foRnx9HYW9mZ75slVpojSfK4h0Zodo1zztDhXy83Txvl7S1uBymcWOm6qhZODhYw==","signatures":[{"sig":"MEQCIAbtTWbNB521RLNqZFQL2eBSg4X4VaFxhQzo8SLSF5NLAiAEJhveiNjdH1oiu5CNaJEb4SEkPUb0Nu71170AljToZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3CRwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKTg/9ELurjURZ+mr4+NMz7ypMEXEggbtbiywUay153DJtXSzvN/+i\r\nylj4W2f8T8IE7WuuvN3gXrVwH5Kz8pUhsDIULzjbmexlISdwJ7VC48Gafxmw\r\nw4yIZnVnCV5Rx2YJqnY9btVftz9EOSsx+n3AO0L8w6eP6VF44RNNRRW4BXGP\r\n6E7DRM74iAQiAblx1hPChjr77dsLa0vfTgLiaonp2KgfsSU6RTtByxai70qz\r\nTLOJ35PeqDQYJq0ZLtOb/3GWIHuTP+zh3CZ2ksg9EXhHOn1dmrODWOaBuaDR\r\niod3y3etV2n+MfTbmVezlERLGkVeKLNCnm3Dsg5eizKwX4PxUUS6+zxhzm0R\r\n7UvFbE0xLtfO0rNggkM+Y/LY5rThdnXmI2ytOqu4Z45eYvGjPGwiPxPq1q9m\r\noDsjCG1xfCxUZvnbJntJ1IqME5VwFoPiO4IqbfW2L6qUvavH59k9EgHjEQ/R\r\nDaMS83uYACTi3VCm0d099CgUnJV0sbhqwybRLE5LmtVi/OeMxUgb1JUMvkl/\r\nA11HcvMseU53NaIhPBFKuGUm7WPGCkXycVywa6sG1sRM8JzSJlVVC3Rijaih\r\nCKk75QrNdWbsAeGKI24054RpWLDDPtTneLd8ZDWFC9uTuBNWqiqeO5cX1gop\r\n3sjIhLX0stzNKQzb+4aWhtEZHhslFXwjK2U=\r\n=73jT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"6317ccf63a7de136c138d47d8930eeff46b0cf70","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.6317ccf","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.6317ccf","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.6317ccf_1675371632066_0.6840025934084129","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.42c7be8":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.42c7be8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.42c7be8","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2b242ed9022bd2e023365c649e9fca563c14a28f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.42c7be8.tgz","fileCount":17,"integrity":"sha512-qUnU9ASn81q0Y4o8wo9as69XDy4PfgcBvq1L/V+AN1Uk8Nk268RiKaF8oUfADtqC9CyYdOFz/ml0e8T9gooLNQ==","signatures":[{"sig":"MEQCIEXjo3WlBiPYjVQja4FzZ5kJJmEsco1SgdkxyKYHruaNAiBMqF/tYvSyPfM+EfJIjXmjKOQeUWCcFD3UrkClxznPOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4SetACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsBQ//SVQB8FJl6np3T/Qz3T8pF5B4elYn8th1St/mLJ793vhbY6p/\r\n/5w59jopu6bEVwDuntdCm5dFCEL2Ed2lQmOA4ZDo04TtTHrtZpW0pSyEzj8O\r\niovt+OeeQHEOJKVh1JFOjC3DW0N4czDl/aA6OpTGuUmEn9EhIWMt2PhJRc3j\r\nccSUegxUjTNwt9w7zO7ms6/iVP6+j/ItIm1BSqDUfZ6r6vanYzsREMSheTAu\r\nONZMbeRnwLyVIIS1C3+5N/Eljse4pAQkRuUFSNaLR+MbDapPNkpIymkN6RMS\r\n0E3gguVi5tE+5+p7S8EMNblBpluIns8e6sCchlyPhScsROQgt/1LFjNnDbhW\r\nmNy6QGxfG3SVjujCokqzAW1xQ2WeOnFlzQFJE0K13EgBuACamso38cQBCAMg\r\nImz0M+jkxmCuJs+ArpcqcCICbWMNv7T632Ucn8QEJQdEoV0ieg3MRD8m7LU2\r\nMf9/kgD0IZ0uA62qrXdxjdB5ZMe2rYFP7BwC0JYgAa1tkpiF6NjQjz+tMxhB\r\n5uLcNRvaOOYTlz8Dd7fRLtgeaJ9ue1gOFR8JOEoMebV/3f06Ym1Nz4xWFnKX\r\n/vpWRDZXNRIMyHSvl+WfyRpcBfdyRH1h9eGV62/DGoUEW7Gnd15vT/QK//dP\r\nHY0crcguScxs32hqGpSYVVIx7XAq9rcG2Rw=\r\n=SeZr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"42c7be885d424c05618c41b3f300422aed1ad063","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.42c7be8","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.42c7be8","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.42c7be8_1675700141411_0.5730553866457968","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.bbd5da4":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.bbd5da4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.bbd5da4","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ccba7b99107af0ab44a7cc66cdbf41df233e1d14","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.bbd5da4.tgz","fileCount":17,"integrity":"sha512-v1f3agd9mzuPcTApfXqJQ6RF6llP5OqxJS9FIYb6oScusni1k5gSJJ8h6HhsMsvmTaLejApIEJNj3KG0gBDX+Q==","signatures":[{"sig":"MEUCIQCJDs5p61Ev7Hwv9NsuwtyX7fviQmLNBI2px8qM/95NMgIgP+KKc1I0q7FE/eHyCU8wrMvxAR9KkYPDokuDFYsYyCw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4S5LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4SQ/+Pi6wnDRJwaf7VieM8MC3DJ80ddN6bQavxca36KXA6gZKHbtS\r\n43BMhgKdl318OF7HxMHxc4B6CmcEV3BWnHmJBOjMApQquYwKw74Tw7jak4hA\r\n21Q3ZTLA+gq93b4xi6jBoJe6WrDUVA06VzKOEutUswMKyQ2GKk/IA7JGOrfk\r\nzjOJGrNSsjyICjP0GYN7jLi7w1UOW8iw7hYCSXRHDeBdo0SxQmQQzuEo3nVD\r\n4Io27Icv0Hz78H2E4qFuZ36xKIzlxpYgwVapvZrCqPJV96yoDaHStj5FRrJu\r\n8SqeOqGkft75jlakH9vpKdV8vSmjOTQ2cS0Jb1iJYInNiIvSjj5dlCITonk0\r\nT6snMn8X3/12NAzB3e1Wuo/CIC0/NUuPdsxvLjLqgXSin+pQESH0Gd9YaMrN\r\nQfX0wRwGxeYM7slQo2Zr0JvGcT/wO7RBN77iuU6Ej+nYvaUkc4Ch93CaUmot\r\n/rMCLBUt3uOfVWSa5ksAh9ekdBY6xJx3fblKYMqfF6YnrPBb7ujTLOea7dS7\r\no4Dj53bwFtL4nr12l5AN88mMPaTBUD4R+s/6h2bt4uhO92Al+h2nLd3JynCn\r\nBCOcEz1uEohbTsC0gjzn/oWMMZhz5a9ieEaPSHkk855H8E9WF+cQQCgXMFm6\r\nFDJTbn1e6jm7fKiq2HmMOfUq2gxU/FtqMkE=\r\n=gzYA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"bbd5da4896c522fd916aa90b7006bfd89003a926","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.bbd5da4","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.bbd5da4","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.bbd5da4_1675701835401_0.5278109086342957","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.d7247a0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.d7247a0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.d7247a0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"19cce8a875180e5027869931ba931fe0ee28836b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.d7247a0.tgz","fileCount":17,"integrity":"sha512-LCPPddtzBRXUovZxZcgZ/fnE+YAVt5URC1fdhQ1me8hD0R573VhjrCsEJeE3e+bPlO8fEKOKnNgxFUZpEi22wg==","signatures":[{"sig":"MEYCIQDmk30TDyscnEt4c4J8Lc6G/jnF+TX96DxQvI3ERikmkgIhALvOzkrxjF+1WC/cIZH9R5do5pTlcrieqR9WBvWo0qOz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj486GACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxNQ//avzGJksIfBPQnUDEoc7O1cczQtr/Tv/gLUqMv8tkCQQ/egqm\r\nhK3ZOj5l1Mak026L3rC66GI4tOvQTLVPLihOTlwJkwCyYL9hVFqabcN7M8ch\r\nbT7DfQqASc2wjqhgxtj2DSlaypi0gqRiFtxm4K+PdTBiaNVmcXH9QCKxdAzu\r\n251ChfGFQQ3hhOH2J7vmgsCiXdM9nIK9rUFKss5oco/Cv8tqyNCdmsBlzkYW\r\nVcydkTxWaPaDJj9WB5HSOojZE9W336acqNV52SAYkzCuF3/3rLepaNUpgWcC\r\nbO/sPkUgQoDLqMEJcbzGbW3J5kPEvoDKlbp39C9zzJX243/fJdDcmYeLB0w0\r\neAbIpZAkNtlTkios4mYMfejuBBLgpkUw8jMhMhwFX/b9mW3YjRkxKSnixFEY\r\nCRlvoYxx9UvlsQluwcpF9NaI1llmR+3ARZ+gZgJV1+XEApzjPtHN2+u1n2UH\r\ni5jAY4VWG2w+0oBcB8ZQGbOjvR0Sc9eareNoL0LldolgNUgRCatrqpaz2pv4\r\nCYGAnE1phGe8CoAfpMU5waYQ6KDRsKttmM6Zo5TPWF+lRjNfaKx4ObtKZwhf\r\nk9sx9eR/S9BE7ZbqG4eiYF1uGm9jfC7vINrkicjfPihhNVSox8aDNTI81r65\r\nSlPl3dEYUUaQnxpSU0ncj9wb6/90r5ezjbg=\r\n=BipT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"d7247a036d6bb0f16ca0e9b6bb8c364e02fc0cf3","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.d7247a0","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.d7247a0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.d7247a0_1675873926512_0.7500558371530663","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.21e4246":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.21e4246","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.21e4246","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"182ca25b5a41f073705c5b198a094058f51c98c9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.21e4246.tgz","fileCount":17,"integrity":"sha512-cNaGC2VA4b0mAf9GtECLSPSvMh1oWI8cSI6tB8ZEi3zVxwhN8rsdJoEVLuZRG+OLH3+HnHXf3OgqIXgSjNcReg==","signatures":[{"sig":"MEUCICTPNqeQbhZBDw4qUdXfepG0zTmZSV15eDbfAuBRizyGAiEArchV+if5zHPa1aD3XnZ3b9lxsSg0V5DvRnlDksBjMyU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5TitACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYJg/9G82PeldTYHmIHclZoXc8O6eAwd2qlhQbfw6oBglXXkuLTKnh\r\ngcQ1/OomryLxNG0q8W7OxFpRFZrfJ4Z0t9ClyX5h+mQbAMcYlcIYpXGwTblv\r\nVCJMU1u//zMeYjJ8PD7NswK+TCDoKnt5osQT/oyIu52ZNlPRRESMAauY/mzP\r\n95uopdJV37JBuj3LuImur3eg1sr3B8pxq6SSNUi+jW7vmdjeE7aYkW2N80cY\r\nl+lQd4ZozyxcUrAcmzi9zBWr2Uq4bb4KxjPdPcKp4rdu/DCsf1G/WpjaGY48\r\nxyPx+fqMy3RzBbw5GFlHi2NbKin2anATN1WlXWBF0h8M1HPzGuI0AvCo7ede\r\ntIOOrceGJQmktMxZtwqDVKoPXE9DqyuiL1RSAgErBeaLpIS34YCeNBMmxIHu\r\nV9l9PsJUy4POLZ0oPBMX7Ng7J+HQ925BGpRRteRK59rbD3wPjF5cuF9yybpb\r\n0WjEXRO405XpQ9nJQMInqaguQhBn4lAXeuIDWmM7rLzODhusi0bqLGTT12Kt\r\njEwa50LfqimudZH0L3c0BicYElBztIXxK/bEAsklYXZdWBmNcEdDJ/BL9n9A\r\nO8Q1QNKKtt3aRvjOPrWUY8gfqVdc/L5qKXBcc8jzXvHucKRzVwwFU+NPV6d6\r\ngxxCLIfgHxJB0TTSHpGb33knlS0T9x3Ytgg=\r\n=JFQS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"21e4246feb1260087b3366fe885868316e2e4f77","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.21e4246","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.21e4246","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.21e4246_1675966637417_0.6554054493130737","host":"s3://npm-registry-packages"}},"3.0.0-next.dark-toggle.badd280":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.dark-toggle.badd280","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.dark-toggle.badd280","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a4909b8517985bbbd73bb228be24ebe876251c2b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.dark-toggle.badd280.tgz","fileCount":17,"integrity":"sha512-VK9IRHrbYD1kitWG3aE0brQNjV2Dy5sFJrp/utVuo9++kTlshL0vGAQgyoodO6Li0h+MnXTd0qdHnxfij9vxgQ==","signatures":[{"sig":"MEYCIQCa7bAaySVIjBXPwzxaULMHMNbt4ACcnOuTwJgl5yFmhwIhAJ//TDdv2cM9abLQw2Mpzs4KeeDzZOk2alIJY6KgdN1r","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5WdnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpayA//TkXXrSFQ+bJz51R5DKNAJj6dt4RHvBx27gSEnwevGOjoU2XN\r\n94xTXfbtI+vOZ/esK53IbB3Pge1BprOJU9xK3381WYJmMOS3Xj/E4m0c9ncg\r\ndaqVUCwZYJoxgzlPrHdFij6n7eWn1uKcdCtNyJAJXxwmWSuseFyV2OjPv4i7\r\nQsObFKobOoA0Ljqr81Qx+lzcoi5Gkg4We7e1ItVJeS1xrztwMLJuynQilznp\r\nHtWWVLRHeoPPGv3eVsHsLQqp3MuuuM/ZQnwXT23JmLSziLcvy4jpPCbR8cD4\r\nkVuO209I0ve2/tBQCEbDf8Ugp7l+h5T09BKpgQD/pWd0QiiehFjeLa56ycux\r\nPgdzmg95Fz/GF+EbqlCSHXp3ds7RA57ZY1QpdgfMoMmIWunOz61BdBRjGVok\r\nbkoWk4lgxYq1HunRo4KLyNbXETrr8D5sDWhY15F0yvazBgs0yr/gW+cua/OQ\r\nyf0U5DaYuoj7hOBCL8EZqBLtkC39WhtTE9DHBdJcq8xnq7ZZ/gsUc9Zfjcto\r\ndpcB/KkxDmCvc33xf/Ky0DLWTQKA9eh2mi878vxVbHVhTlsu1HDOnlkaldpL\r\nuWmoh0QlPucvh1PkjJ9lwXVLIFmiAIjKF+ebqcWzr2Ej+3Hrfyccx8BRyhtt\r\npYslVqWWOoQYtWmdlmp8ZAhI3muMf4ARBYg=\r\n=Rctn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"badd2803fcf4e76cb04be02cf484767e7acbf294","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.dark-toggle.badd280","@microsoft/mgt-msal-provider":"3.0.0-next.dark-toggle.badd280","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.dark-toggle.badd280_1675978599750_0.9452821799827547","host":"s3://npm-registry-packages"}},"3.0.0-next.dark-toggle.1d08034":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.dark-toggle.1d08034","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.dark-toggle.1d08034","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5f0d191bba8cbd10beb5a53b50de79b2e2872f1f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.dark-toggle.1d08034.tgz","fileCount":17,"integrity":"sha512-/oT2a7PFctsrW6rcMs/TcFGLT96Ync6ecLDoMBp5/E1vaxfC5Zfr4yXU1mEGHtuYOsk8fhf+QfqmuxsIl3OBLQ==","signatures":[{"sig":"MEYCIQDtRGu2jHseAYyC+9KJcVVAPsGI18GWbJR11FacP4j08QIhAOiuTnZB1eVk1qDGLZQhuFtXdtrFirTelrxlmsyyPvvL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5WogACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZLQ/9F1aCZAiXXkeu3gHwlBIKTN5syu+6rlMsj6zD2JpHazJYkq00\r\nuSRZCdWqk2wqeyZueryQEJUPrwCy4+UfRgKiwQ5sG0nKmieAZ/1MdWfTHLZU\r\nixIAUKi4CSKzpgrPgKB+kRjDZVMY6pCA4wKb+QShZ3eZmxWis4h5UXG1G2bj\r\nlLs8SrrIRVN7O4tEtm3C1UxCnuDgel7POGsO8JCdR+axMGdHnLGZXB4Ug5P2\r\n7FRBLkPOp5AQGqd9jWh0uMMNtfL11cUhTG0ankz5V/r4ml6I9YN4+O5fodqY\r\nipy0Z6XHgyJxbCgYAb/1zywiWtmV3m8Lo1m6mFFz/zYN9buHrJJ57QHHw6iM\r\nqQoTB8pMauz/Zr0nEGUoMTnm4SyQrXC3TuI6mEf9K+3rP0cUsYPXRtmWELGC\r\nmQRAwmglLprxbWMz73K98KkQCETDW3vaAiDafViCKswNfoKJGodyOhUTelU3\r\nRN9otOQrtNlYjJYDIhGZQVz+4RvvOqCVweb9oliDkaOKsJzaQcHTg48KpRZA\r\npWrtng8Pzj/JSEH1KAawG3IV3alXZ7RKgZpL0q0NWDkamudcqoNy+No7e/OG\r\n6zDkUnq3GVp8Zy8UB3Tt2umDVvaJdnUT5a01mrK9FjYwNiKkbaLo+ywvBfc4\r\n5o3+WMy3NQHwGOy/z15yenvY2TfWAIcaDkM=\r\n=Dnj2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"1d08034cd9c558630939e97515c07b28cc666386","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.dark-toggle.1d08034","@microsoft/mgt-msal-provider":"3.0.0-next.dark-toggle.1d08034","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.dark-toggle.1d08034_1675979296301_0.9086501736072037","host":"s3://npm-registry-packages"}},"2.9.1-preview.b38f17f":{"name":"@microsoft/mgt-teams-provider","version":"2.9.1-preview.b38f17f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.1-preview.b38f17f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a613c0a33996923cb5afd89991d6087f6ae62bd0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.1-preview.b38f17f.tgz","fileCount":18,"integrity":"sha512-HsAjsbjHEPrWlAIvntCDW3HawgUJGillzp02vKByNZCa4iv7TUPEo38px6K017UpMYaVAB8ffPeSLYbhnzSkxA==","signatures":[{"sig":"MEUCIGqBv/MqOwShoyAafq2ccDJ7Bs/IPeX6/1Nf8/4tnWB8AiEAniCKL+RqxhTkr+5a47S5mie+d90rJcnEDrlk+TEcD9o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5iDUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLGhAAhk8uwM+74pYTxbkehvKigSoSqktH6qjHVGOEmDM940P9lHH3\r\nt+b7mLA80dElZznNOwqQRCxBlKYxZxTLb/IJqr6Gk92aaSxaQnSbKF6pbEQp\r\nOqqzTLLjvLtNhBzRhwT39bJNmjKL4HZ/8yeeL/CAuCIHtGsoEyK7N80Ee/oA\r\nGiV2iBkJTDt838CjAVTuzYMrZFzW71CXpKTOG4v2EWI63n/7+bgp9rRLVZza\r\nd6lXscm21HDRX/mUZzkqFQQv+6NJAWBA28g24CwtunRo0leyfXK5t+CTq+iA\r\nniRKrQz7cpeAgDA1B6UB1v8f7cUZRVZ/wMQpTlaP05MGTKCVl02m8wfaaesa\r\nw2xSA2O6tXP78RMQKqCjaLtEDj+vm11PNVcmPLYyAMpN1KowdVDIAelpPHsT\r\nX68gQm++rWkM/KhPo8iffnMJifakfftlVX9K1ZLXCjsry0XpbLACZHh1BrUC\r\n/IU+Snmt35AuklelfJACrarhWTOoQ4kQU97bAu03s0KDL4t1CSnZ8KKQIiBg\r\nv2MthW2i5uDXM9eJmxvIKkeMjPE6brbWPB96rSnlboHncrz6opX4IqsmCP8r\r\nd3RW0cz5U5WfjLV0KjfiBYMShbsc+DD4dLK/wstliFkTRasSdo3/bVsY0dZ1\r\npCIYtBx+iQnjuSaHRamGXGyBI4jF8aioFNU=\r\n=mTP+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.17","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.2","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.1-preview.b38f17f","@microsoft/mgt-msal-provider":"2.9.1-preview.b38f17f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.1-preview.b38f17f_1676026067951_0.8267530005000934","host":"s3://npm-registry-packages"}},"3.0.0-next.dark-toggle.a302768":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.dark-toggle.a302768","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.dark-toggle.a302768","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4317b07c87a9e51146290d15ee7b5279f59e74e3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.dark-toggle.a302768.tgz","fileCount":17,"integrity":"sha512-WFn7CQqY1lTKxJq1l2NtkWWScZC5VJQCtR452gn/tHmsdlgyzR16FKpuzanDMYSGIbP60fv4Hfl3qyBxqdwEgA==","signatures":[{"sig":"MEQCIHMbPV542l4Rvea22P9JRwbFqHIKeX7Zn7FR7S59YqL7AiB7iSjqcuqI1blyffk2bWrswk7gJem1MG556fjI/cAEyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5iFIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNoA/+P8dWOLNOODyW/8kXfmDhvDld1M65QzWiczdSbfnz8BHNwuyO\r\nJlNdHdvE/Dw+ng8xme38n1wS67WdaXG++aZIz0hYs67qyqH0w5lYfNo+qEVR\r\nn9crX0I02St/eO1u2pLrgcs0kCOvzM8vPEBYmReFwFTBY9KFlP5+YLrtYCMV\r\nrEZXLCBvBSt7SrTXHye1FGVd0US1WOiZUCBOBn6MgG3lb0lub8TU+GR3F63u\r\nk8g3So7/+IGBpjpL/GuMNEljDQyDkUAX94M2e7YuWhyWIj5P9MigptCR3w/r\r\n1vFhWtUM18SFjL3XNse1xMh/urwWJrqo4/78Lgbf7YVxYxK5vTzVp4IHS0PA\r\nzDb2WaOkEyKmPd9OJr0DGinjSGzR6VoEXSYzHXwN7X6s0Zq15+y4T0BBJo+e\r\nkjy9BxSRwLnh1+mgkw95Ox/eSDXS8GrP5kh+i1qd2DpbEIZe9I101eZ8ESFq\r\nJfvBnVmlOSA/SrzyrppwL8IqSJqZAQfAmljhhhShOpRajaeCpcuhuoaBSa4R\r\nB1Jn92/rtfiNpbwcOsKRwiyqgGB/Jrjgyjo0JvuB6SgZlC7ioGOts+sZ9KoX\r\ncD3iFv2qP/jsqO0UgigjkV0auVGBFe1T+IJUQdGX/ZD6BToe6NqbIIfs3pa8\r\nePSjMcwa/NjrEMyY/Wl6p4k7+wGQFS56D4U=\r\n=wvH7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"a3027683683f6121195e3bb42be39cae44222db6","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.dark-toggle.a302768","@microsoft/mgt-msal-provider":"3.0.0-next.dark-toggle.a302768","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.dark-toggle.a302768_1676026184295_0.9408946089812587","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.11e6807":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.11e6807","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.11e6807","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0638e3612500cdfa9cb6eff63e1c9b8500bdf3d7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.11e6807.tgz","fileCount":17,"integrity":"sha512-YJhokmbnYOL4rhfTvzzSGXHeFwJZdSX43KK7ePwbfzBLihmdC24+ZjbOZenLPQrhcSAi+FN1MmOkl7jWYXMvPg==","signatures":[{"sig":"MEUCIBcj3tdvkMFlnGdx0sL8e4WFHnIeZiWP0shBsVgjxv4dAiEAxg1YmCzkOY/VKzlSzSHJiwduwo7fjm036VfED5+wyFw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj66sUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlTQ//VrewBANqYrziNhGVbQCIU3O3o1N9GFidGmVy6OljNhANh7Re\r\nV2jK2rxS16q+Y2TGZcqsnVLSHER0OYCTwJjXogcRzlY9KUBk8DLoNp8Xz97g\r\nGjS5y7zHBRvoiZWvgd8V0645gV9QYtjCejDcd+Vbp2QsJs0xX8rRGKj5kxGH\r\nfBySvI56PHZnmOO68b7VlumtV8kL59UfhK7g51W32rPJ/YCAhOS9VC1fsPnZ\r\nwlhz6feuKQu/Yz0DdxPOqa17+GArgUYw0DaaEG6gHcpjRr7+3TAtiJHtSjXa\r\nUh77G2HbkpGva9KInz5endVxGDFf4rGiPvF/kS4uRsPTJFldhNVx887xvkH9\r\naF9oYVQKmq0JD+hXOrOFgiyRFgULhEaNoyYUuveB4sfgq6cWNX4lA4TR9Wxx\r\nQG6CkgNMp56CdB4OiCmZi187g63/Lpg2bJfiAYYSp5bX3ci/p33kjzXP8+n8\r\nVDe/A0EgAiTx69oeN99EWVZD00TR/oflJQgFA7wAXH4glkPMAua+2wUjlvPU\r\nyOMkdNmy7RONVjHO28biM49H0BSp9G71jgInY0ih4vaHF1ksQHqHZEGALdtr\r\nMh8QNlNBdjBmJjKUwKsykpzTyS9eIKm0qH7ZYL2FfelkEWSDoyKduFCmLlGj\r\ncqyy9u1zO1dfXCrjelxcj3BbNU4Xbvc5XpU=\r\n=1RCm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"11e6807259b623c7042236697bc3653f5d83af0e","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.11e6807","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.11e6807","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.11e6807_1676389140603_0.04997738570870158","host":"s3://npm-registry-packages"}},"3.0.0-next.dark-toggle.5e7a689":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.dark-toggle.5e7a689","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.dark-toggle.5e7a689","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e387f4ecad75042cdc1f60fa0053cd7415e96f1e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.dark-toggle.5e7a689.tgz","fileCount":17,"integrity":"sha512-KZeozXN+L7YaZ8YpfMx7mDVIxUkhSurkIQZnDkvKFTNxiP+eGZPUPTYFr9Mj1uwKLpH9A+cjtcIzqbVtvYbWBQ==","signatures":[{"sig":"MEYCIQDivzL2GoAhVGCTcyjONwdG44YRt/AqTfYL/5RtvjD6DgIhALkRFJNddK2yFbmYUpeSGNm8inKaQMUg8kWbVvRhY4zD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7JMzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZow//Se/Sm5reURUtUQd5JsQu4F0QK6CIdbklisv56yi3Yiz8BwaJ\r\nPTyQ1e/HegO8BcJwCWZNvRTKoQ3MQcRB12iwLjA61/B4Ct76RHgLNEuh/Sez\r\n2BaTHlf+tQvwlgoNWRFk/07P/PhUysup55za3cQFe+7qFqG4gPedRDrdpwSn\r\n+xWv5UtNL02KMPnQjUJwkMX7sDW+g3G8BJtwUZzqdVEfostVGPp/e470lfIs\r\nYDtvzobZxuVHU8sfNBZcTOLArYvTz3n5WmgZvZxMt+ChXH3rA/jaMOWn1K2s\r\nn7aZ58/5Tg7KOumgltHobgmwLXsEj0+2pGliBnQruXSgbdrq2rNM5ZuvA2YY\r\nXPG0jbOWbTm72Uoy7iTjYmHHWHWEPjvte5iy0iEHRqsrhpR1ITGhCx6ys2j5\r\nXKjx0954JTDVDGklfTT6/E/2wAXM3ZhS9kvy4NxL0BGcPOeCH9PsOiy+fHxR\r\nnnDyJgdfzz0/rRB5614uvxRg3iCh2dLzMScb8Fh72BwZo6slF7oD3SMSsuCZ\r\nzv4uUrtjcACofZ4v1BwFAtBHq/0I/hHPQoLjjvgya91wQCvD1DGEDJbbKZgS\r\nMm10ZoeNGLCuSGlyEXbTSS1mqGJQLkArykFawSv7BrdoDWP8v19VWKsE3pvw\r\nPCgav7Se7NINtKTtpn0lVdOznM0UulNVK4k=\r\n=IPDP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"5e7a6896c2b563b2a5998949ee5da3ce167096f0","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.dark-toggle.5e7a689","@microsoft/mgt-msal-provider":"3.0.0-next.dark-toggle.5e7a689","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.dark-toggle.5e7a689_1676448563591_0.18536116223320032","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.9961926":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.9961926","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.9961926","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4812691b08f52726601071369a6f6222080a7297","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.9961926.tgz","fileCount":17,"integrity":"sha512-AuELGbB63Albc2Ucgw1kBnny41W+5sKvRLUqZzMy8Vr9nhkdwkqOO2Bas4i25aCgprLOvypoZdod6JwJuvQNig==","signatures":[{"sig":"MEUCICa+31t0W1OxLSqYDTy9sdYrSKhtXpTA8ohE75j0SI7AAiEA+a6JpPtdYlPMgg/kAG5fKxdd3rDENtRl2BB+VzI0Yk8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7JZaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmongg//WSi5F9cI9sal7wXXion7NMdO1+3GgY06XJENkA6I8aFQhupP\r\n6is4SsZFEdH1NGcG+Xkya/pAD+6dqZ6oU/Yoqp9t7BwbIelsBpCoQ7eqfHeN\r\n2ET9Us7CYUcANm6I4XnR+ocjm8V49XZOOlFv7vbnEF/Ziy8cjYkRL49vIOsh\r\nsFks5/bYDsXtu+ab19W+bjD5ktU7lzEZajS36S8NB4BmdP+aLGLl/wDhexwK\r\nbR5OWDn+NaahI30j0bPmQ8UNiaEfyGyBlA18n/5x/HaojikvcKg8APIkTcdR\r\nYzDuKgm6engqDSx0T/4n/EGq4vvYHxgCjals9Wts8zT3CcLyncp8kCR84HF3\r\nLU+ol32Pu7iABu4mMflYTgApzbNL93s0gTjqCVdANlOAf7DG9KTnByR951+p\r\nexRjQDKXHQi99Xvtt1gGnS4h8uR2OaY6x/dOr9iZsO1oTDO8oGnYHl5EzZBS\r\n/7x1Tsfpa+NWM55VoA63RtWM+OLDeycKmd+yUwfic86RfBqdPd40UBSsx1nc\r\nGl2nIEyvfo0/x6YMtbmSoyTUflB4YYG70yMElFeU++tmCf1zP/e6w3PAm0UN\r\nXK8pGjjzZSGfJHt9pN1GV2625CghXFN4wjRx0kqKhI8/jHl5LhtGdYglIHc+\r\nDyQnhThmZC7i+bHCCETzp9cLMVy9L8GcG30=\r\n=UQdk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"99619268bbe016856c86c82d4cb584f80b0a41ae","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.9961926","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.9961926","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.9961926_1676449370483_0.06749908513268443","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.e105885":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.e105885","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.e105885","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"047dc726d35bdcbd96f0a198340e51d77b530a78","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.e105885.tgz","fileCount":17,"integrity":"sha512-A8L/n9xFCfH60ckBEMZuio1tkEi53JZpMNntQPxmSnkaoVCk8u5HFQfJfLZsYzBis0nqVf/RyZULC+Pgb0F9qw==","signatures":[{"sig":"MEUCIQCWJL/JLjIDAsjw5/b/wS5OP7GUwZsPkKby8CgzaeXiLgIgPcO8Sqx+c6x3k5Ns/doE5fQVKaQ6XKjgs6Ef2bWoRts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7TluACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriOg/8DVjv4/xyfYFoHz9+0vqfnCiG3CDo7yV3Kh5DjAmETtCgSzIx\r\n0RFU/4VyCz6oyB+dj8IgxoEZ91CRd1M8SZj62x4AwQvv4ioDnnuDF7XkEUud\r\nybm+kIFXFOo8322inDZRcGZIitpGcJPptF4RgOszsLA/5gD8SXLuj3PBH1Nb\r\n4AVU1tX8Nvem1Gh6/25Xn8IbOXHWCOtO4unV0ZQFs6bQ41OVo210vk7BefoX\r\n/O1X9ZQz4lvWwjICK2qH/rua3If5bTmUFTMlFtn9xn3LVEhKaJVY/WqDacCX\r\njGXsQ+u2h6uhPTnSbdXQBXOjIlmAmgGBuAYtQCQxauEbGx4V6fXP0AelfePz\r\nhrDi8D3PmSdirKhacd3oRp7T1YZVeFboilv8e4KBaNnM4NIxJQt6r1vgGgPg\r\nUAXTTQNqDohAkEYtbaEU3LfvB/8cLuVfcP9dWAxeN7tY3bxC8OY5EIS6mXcV\r\nis9C/IUf0JMjNPudgB4Un0Uaa0kmjknQovqBJP3FS8/LpOVLCL/tD6rnGBmK\r\nyM2sMzh728O9MXJYDYHaENe2nrOKYDfkvtGwTPgUkNTO8jZVz3JHJF20WHn3\r\n5X9LwG3iXYcHZjH0QleM5aAO3ApkJKs/Q/f/QbbjAUau669AgtobC43+jvRe\r\nPT2uQGBqE5pvitVg/DW6VsDDq8CXPjXGBe4=\r\n=s8Ra\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"e105885b888a5bd93664219b568124fc258d9fbe","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.e105885","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.e105885","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.e105885_1676491118442_0.46105974620224277","host":"s3://npm-registry-packages"}},"3.0.0-next.disambiguation-util-fixes.4e42078":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.disambiguation-util-fixes.4e42078","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.disambiguation-util-fixes.4e42078","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"72e160e03b92ff6b7d25b3c78a917ad8e52be152","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.disambiguation-util-fixes.4e42078.tgz","fileCount":17,"integrity":"sha512-n9wpK5VmnspommqU9Zqp6FAIUZpgoid6HwjycDFVtgofxVrb33pERD0QCe1RgLlNmwMEJEYahtauSo/cCe3XIQ==","signatures":[{"sig":"MEQCIGmtq8x55tvWz7tv8RHbNI6jQXbzlhJBpmVKVbT8e+xlAiAL1CR8p1YlUxYQUoLNQDHX9rXTKk/HaGrS2PBzFScYnw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9vIkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCuA/5AHpHC0e14sfUKu4qgdETyycSQYlDK47+Ic/RnSfIScECmqmn\r\ndiyLesPElxNpqQaxdxLphOUvRvDTi1S0xDjjFuU9SC6RDBRZ8sQDHF26xZXi\r\npp/GqFK7e5LdtpcKyLdY+sYPoIu6nACofEswdvpBcAb+ZrPhPz5QDZPhN6t2\r\nKA8FdHq03gFLmwkefnM1R8e7voNwnCpbvA0ncf/opskGjDBW0BV8he8iN83F\r\nKF3kglNYZ7+a3D0pLDLWKXE5xGeijJL1bsJRu9r2bonNRKKlZwZw/1oHshxW\r\nM615kCsnIC9nNHi3+wO1f1z2NUrS7bUFuiAw/EWekOFWM74aK6IrGqtgsYQs\r\nRBobgTdVZOY7iCgbiML2/H+Cms4hrM4p26rxm7jbyRyAnnpGoF1hA/Y2n4BW\r\nhbYtRZfZv19B6MV08Q3lOoHnUFnoxm0KxwlmMekapcEKEmfbEOP1EvJxnZsw\r\nwXx2MNXITZWpVQuOTGixdg5AKN/wvGI9PRRE13mQZH51gxkaq1y0FsKzlSUh\r\nCtyHPvkh9sk4yS1c2V0vT4L1sTcSjEX81X0b3OMBUKF1arTEmUWxLZpA80hB\r\nPGdH3ffzJ0c1Rz3r+Wy0dHzn6UhMCkYGJvAXzV6FzgBBHg7KruusJMSsbA0s\r\nDXUHrUEhLE3gjhStMjYWdZaZwUu3KS+g3m0=\r\n=6Vk2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"4e42078bfbf6b5dbe6f544b2eaef221bf67233f1","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.disambiguation-util-fixes.4e42078","@microsoft/mgt-msal-provider":"3.0.0-next.disambiguation-util-fixes.4e42078","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.disambiguation-util-fixes.4e42078_1677128227935_0.06945341277468664","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.66c2e6c":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.66c2e6c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.66c2e6c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d84000ab54dbd581e9387eff8eb94b18abb087e7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.66c2e6c.tgz","fileCount":17,"integrity":"sha512-dItrMPiTHv7sBxVg3NK8z08THeyS55ORcDEHv/coDEStA1YhguH2q8qZ5Ixf7xFyADNY4vAp/nnxmcw7cfcqCQ==","signatures":[{"sig":"MEUCIQCIqBvf3lgL3PJfQZy4+WoOpT6VhmUSIW6Bd8APRwBVFQIgXtezrL/WAj3uVChVolHfWKH5LYeKpWHg2sqjG4iZD5s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj94knACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIKw//WhR9A65CvtZSnonwNSdvwxdNpyHiu63QzlYLMb0vhhqwH/sk\r\nrRNoV08LfDpbeVfqaneZIJG6jFCkyZQhKAmm/U9JRsRvYIQai5lesg///iq8\r\ngggYn8Nb7sLIqWJfCk4+MpXty51WJT6qcQcKFD08s+R/oOidq4AF1jFf/IzG\r\nbtlwhzb+Xk+BgV2FJUrM3/Z88pxlXMXu2E/uAyxpyha3+A1eMRXnUd7UO7v2\r\nXa9RlQlmqWA56JVxiFHGijo84c3ayBAmUEkr8CsH9riJ5Fp5Km/dCn8ospii\r\nZkrRALdBDBTPJeZZhrHPymHRcDOEZR9Ctw3FehDam/1eBRjjSW+7Jq7ed8uu\r\ngsim6gErru0KN0POen/htrBHNt9yTjkuBkk/JwwpLQz9KzZcveUvcE7rYwp1\r\nEdowLBMyH5rT5nSIlQDXu9e22fxGta6WG0/lLAMKtAaYuu4ckHFybUlIZ09o\r\n/AlqXkOSvMBJM71Seq0WemWfezm1oWqzALebSc+hDtQeOnnW9Go3rgFi7pQD\r\ndETDvGPkjM19f6HTZ49oODXkw8mM4oxgk+zHMWcR67j/i4Tw3+PkBVsIPFWb\r\n2l0xoUaVrZ/XyWCkzTZApHQU7V3AiJnOJ91+qZJcjbGuSZRE6Z+KaVDat5vt\r\nu1Jed6PK7Cc6PWmYbAEAwK1x2bT1IwfSPZk=\r\n=o7kz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"66c2e6c9362ecc64e0841afa68a827854e7e77c4","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.66c2e6c","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.66c2e6c","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.66c2e6c_1677166887115_0.6648223009810079","host":"s3://npm-registry-packages"}},"3.0.0-next.disambiguation-util-fixes.1d8e4c2":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.disambiguation-util-fixes.1d8e4c2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.disambiguation-util-fixes.1d8e4c2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"acca2a20669a1202b9f3d3cd5be79f7211e73832","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.disambiguation-util-fixes.1d8e4c2.tgz","fileCount":17,"integrity":"sha512-ylVkDoHsr5ZidlhB7801FN1j6D80Zart70SWkjiYOYsGNt6L8sDsbkIVY4X1BuC/rFW+blpoJe6EQTv6Ac0TsA==","signatures":[{"sig":"MEUCIQDZY7T2MsvUdmrkIQ5gIAxBdUyVoWbl1jKaq/kQ36oxPgIgf5gSZ4LttzzUtOt8MeZdmbk4J+Vo02IRkrtRjHGQyG0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj94vvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOEQ/+NJCZ26iNeiHqTzaBdR5gfLLoExyuRdzNjwX+CxY9Kw5BFPo4\r\nyjybm6DUD23L5IboS0mFk42+SBjvjR/3vZ1cJPjOmCCu3mFtLOmKrWkVpSpD\r\nR/vMO4Nx/4hyjcqz6Z5ka0NLk+cHkbYmoiR2NdtMMtuYZzxQBaiHNj6bTaQZ\r\nxRQVPEQUaDM2f2z5Njp8RFJbtnDAKUL7EkCVdeLgPuTwgS0hofszh9ILjcR6\r\nxAtPsaRQM/znJIO0Xd7DKPiIoTDXini6U/ShZMHG2gs6rjUJ/PhIUwUDwAV3\r\nTA+mxVluHF+xJU7EUKAj4oQLb5JnvTn9jO+IJld6FNu9/CEdSdWyjP7iMNHr\r\n7+SsotPsRb4F+PISFKXXxtHZ8Kd0vrSlSZ7odBk5ULZviwStpGPzWLSPD0UF\r\nxaXJGt11MAAYm+E0cb9G3izF4SQHigiqG2ofApt8DVOJLsuLhP7TOJEe/kPh\r\ncmYQIMdxGV0raHpPJu+tnV+XAwKGltGWAnuTatTwCSnhduU893B+7yVMOgS/\r\nWeyN7Y8Nw2ZpyB6Kag0LausRQKEfeEGmA1TqQbc0MySbGYYpF2ptJfzstriI\r\nDSnFCLXrztXStEPEv+KdXQoMfRPC3Sq8dSzRFblOat/zo19pR9JqqIwCSfkL\r\nIRP7VltpbvxiG5ZjDrRZm8fcC5QTjF0RWVM=\r\n=nsuo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"1d8e4c296935e52d152b277e9239b7ddcf6d663e","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.disambiguation-util-fixes.1d8e4c2","@microsoft/mgt-msal-provider":"3.0.0-next.disambiguation-util-fixes.1d8e4c2","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.disambiguation-util-fixes.1d8e4c2_1677167599305_0.9260264816878134","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.b2e5d8b":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.b2e5d8b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.b2e5d8b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"053d11c83a8fdc88a881ed565e29ad682e3ee95d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.b2e5d8b.tgz","fileCount":17,"integrity":"sha512-v78jiYsgi7sh2GpRpAIb4KvRC6K3x7Bf1WdWKXavmk8uNF27aJayziuZSvOp9NPztv6ZpuIZOlYhaEDjWBMJaQ==","signatures":[{"sig":"MEUCIEL9kx1IA/ZFYDybZQXTLeSmh7gdvKfWjDiyki7fitxeAiEAiz6FkTZNC0jnVlM0JeeICI/KdE3UXL62L1idTaxFxfQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9619ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlgQ/+NTyHt2GXMUUtkh45s3xI9NQaVAUY2/IuWbDP36IT8OgLqYzx\r\nD7UUYv0SaMEorWPq69rl/hnRLcR49P8sFjF4vG+Up0LaEropY/rmS7xjPlhn\r\n+3HK40dKDSkfLKJ7ZuPL9MAhbXeRY1zkwwYc/POSfl/bO7w7LCOTkgVIHhbl\r\nIIPx0vBqsntIq0FEInktr2NI4XBA/8TA63hJqUf7KgXsB2Whgbqn+80lbMlY\r\n9CFC4lvTOF6prO1gsKj721lo2DbUfI0C2x4rZfayUk9a13nErUdyh05I6s6+\r\nlx/SkTSotKLXBzDJnxJA0hHfPjL38ZoJMCVFEq9CgcQaEk5MU4IY6/EbGMUg\r\nfK1BPmfn9fZsms4cN1U+u18XXp4C+A3qXrspRSkOQdvU75OY9owsndKda3wK\r\nxtn/18YSPPx1LMZ664A9PrTVHBqoZ8ANFTcHgeGuSz3UbrH/wohbBWrDsaHH\r\n4/fEmwayY3kSyDaqWLdM2+q3ZTqsasNOvYl7/0nplBNOvIKxrob2uF8VdJoM\r\n0TQkAcOMt2Lc1imi1VphHkXhI11HdWReoRboNiU0lcl7ubJ48DLIOv5Du9oG\r\nfrxY1WKVQBXPfUjDAfXNcE8+FRfakkG3X85BwEvO46jaqfPGCmourMObay7P\r\nydzluNrs2CFHFw9zURcSgYi1r9GBYbbtw+g=\r\n=GG8k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"b2e5d8bce2b3c3a0d6cb4ef39f05a24c06ab69a5","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.b2e5d8b","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.b2e5d8b","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.b2e5d8b_1677176189313_0.5109098763582505","host":"s3://npm-registry-packages"}},"3.0.0-next.disambiguation-util-fixes.aecf062":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.disambiguation-util-fixes.aecf062","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.disambiguation-util-fixes.aecf062","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6d6fd2da9995ca42c3a0060bd42e81e0905f2e81","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.disambiguation-util-fixes.aecf062.tgz","fileCount":17,"integrity":"sha512-RhGpYbaD5uWUvhuKhobm+7LyrvVDZgo3i6O7JLemFg+I2NvrPQSzkMDyTZIfQ1T/DA2pA/xxUD12vX1VbWDuLA==","signatures":[{"sig":"MEUCIQDwESPIl90Zd9ppmEOD3gonaK6qPgxMr7m1btePRt/P/AIgDc2cf/YeSf1LxP8ROBev6vgFrFACOPj4IIUGTQ5w6+w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9626ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6gw/+J+IcABGYDJjQoOTU0XS58sD2DV3+uvbqHpnSSTcA3nEnQvPg\r\nqsQB1E+jaBBpZsscQmCkMFs3PkDlm3DOU0XbAPuqcm2n4hT7cuqzoggmb6N5\r\nuy1DoyCMUu6oZa/SQ9mBhdaVoDAVXav/btJD3cDF84uCx82JM95y1QOb6qr/\r\nzkSOhQmsZu/f56oDGP2IeDQ5h1retuXmrYKBtSLNvy3joOQJofsG5a3bWnXG\r\n+o7F2tzJnOXgjfe+TloDzO+Df4MCHDAXWJcp8B7McyqWjSY0rw+5uOSqCK5p\r\n2QgmMr4KuPP7P/Un0hHlstyhdJq0oV+RrSdKEXsbFzoocotdm8yeu7nF/+oh\r\nuCw8OIzapOVEK2Ykdry3utnHX4IYP+bxd88MHTBD8GY4XO13S9UmA9kDPlVC\r\namx9uvCP8X7zrmaT0HQEp1oBb500rCTvHbuNy0fsQ9DLQ3mbuUULi5U2VUmC\r\noVDZzlinq9klcqkE/PJlaUZTojkz5ueNknoxA6NUaZM3kbrdd4SJZTWDIDuu\r\nFQtAGkqY15xLmedx6AEJSK34m4qhRi+zauMbc38SJAjfe79fP6xMgEJpM3CV\r\ng7/TD/+zqCx/nvVcIHCU9rNaGLeknXpgBNdcGNKylvmMNIA00AGMVNCEmEKq\r\n4cpWLi0bL1fBLWkzE3bvAX0eABEs/6arluo=\r\n=U6EA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"aecf062d614ffba338f5b7b91cc64a643caa257a","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.disambiguation-util-fixes.aecf062","@microsoft/mgt-msal-provider":"3.0.0-next.disambiguation-util-fixes.aecf062","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.disambiguation-util-fixes.aecf062_1677176250733_0.6388398599121843","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.e8531bd":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.e8531bd","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.e8531bd","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"105c00dffebc79edc2f4f54ce40118636368b40e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.e8531bd.tgz","fileCount":17,"integrity":"sha512-ZHoSlAYTqas/kcp1o8mgy5EIOqemmxDslIQw3A8eW+7ETEbyxOkz/Yqr1VRp2Lv+w3JA71wL3LwhTWoNRvOTdQ==","signatures":[{"sig":"MEUCIBCpl7h/J27tbY3W+1Pp87ZLqygxAlCds9+m/ORU0eV1AiEAhBO5aXQ+uvDu8ghkIg8YBQOl7+8oW+1ePSOcKc0XkCs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj97F7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoN5hAAj7vb2qjuBCWLkp5iGmuQCKH2+bbfsJ2Lu/ZTmHoZ2/+rYS0X\r\nEGfVqIUujacRqYMAwSSpw91Hc/xJfYH21n0ym9sT4zq4lI0VCjdPY3P/SycC\r\nFhzbZFHBjCUTP7nQckpO1XYLfpoA5zrv8aFRWaZcw7zCd6Wjy+bVM94yZzSH\r\nNVQq7hBeGtlC81NhKiJ9PBbFBEmzQd3PFcHwwM/IgXjXfKMzB8fWVtb1+M5B\r\nYH7CB9W8WzGdT49KEE3WAPc+WtliOeBUI6MFswK6ssyMyJRdWiE9X2VHe2vl\r\nIbAeVzM/r5wf0ZEuHEExITixVXbE3HwoexngbUbMWJg3FQNkLB8MxVNJ7m7H\r\nmG+UkPn8PixpduLCZWmulheQb6wYKn7B2NUcn5XWh9pE3o9ay2Tal4ncV+8K\r\nA1P0nQOcy/KJGHYeMnYChiECSxi14/Dp3rEDzeMuWLQkSOYjXnLnQCJ13Zvk\r\ntNiMFrIbZK9gx1lkTEvNj8jTEBPSOtj4NpB2feb7YYCjcvTKR75URoc6us8f\r\no4dNnwzDNvEwyKgPqXSDf/KFHtEx48BBgEifrb+B1YDm+jkH9eoL67XMZaXA\r\nLoUNx8NT3w7Fbogh2E27B4NpyC6/cKDnO+sLmKFC9fENmSbUjVzC/VMTCjJJ\r\nqGtq2ovLGlT1cFt2l5vpKskx1gf4kxooT8M=\r\n=0A/m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"e8531bd55d0706d27c6b28ee878f4e3b6f5a5c7e","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.e8531bd","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.e8531bd","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.e8531bd_1677177211515_0.6700137872502143","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.2771544":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fluentui.2771544","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fluentui.2771544","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"816dfc8a7a84bf7779ea57b62e053a1757123fdb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fluentui.2771544.tgz","fileCount":17,"integrity":"sha512-SBQVEZMY55Vo9Yte5NOFNip0RYzanWvwSkBnrJJ1T2ZgZ4AgV3ZwYnSch8EbDJZ4UM5DLJt9gu9CLal1mLbFOw==","signatures":[{"sig":"MEUCIHqnI4LXX/EzhoQIH7ZLYTm9aahOLYZzaIcNchC2w9pwAiEAxpzSshPK/cpyP6nHK0BjV/HlUne9aymzntwWTK/Y48Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+HuTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6JA//fddrgAGH63Brscopcz+frmbM7yVVEknQfw56eJimzQEtnxMe\r\nwZU9c+h8PmIrUgB6ZqyW0Yu9cNEuH8Fl+ML6ZUjcO+ah99PMPTOleMnBb+t/\r\nsSjyk4miABHKxioWCPkzSsi4eKZMHpYFY7D5JNAbtnyFC2MJwpm14kauaMyq\r\ngZB6/LdDZfcmGQJK9sNl9D5GBsmejXDKiQPzZdo9eB9pkfU/MMcKOAX+DdSu\r\nxAklZe928E5lGX0QhWeLVVDM0HCHhTFkJ/4cRTVK2HDW9aa4IZzF3R/OabpH\r\n1rjgkmJl9LQMar2toDfTWOAhY8OW109v/kLt4Tq2QOk8R1jaqdXEnQe5rRPE\r\nCC/Y9Ftd92BUCp0qVUnszLArDg9LPK6h88pTn/UWhqd3ZMst+8BiG6e9yvkJ\r\nE0+4ueVXC79QtrlOHYm81VLD9cO7qhfYKw4RTwWHFn2eFSwmbVSGpofdP3bx\r\nJl/9hKIKYeX7p+fIaDDTBZD1IrW0ZB2TSnbUR7KKJAsTpETx6mjGF+sGgP2s\r\nOWPZUEm72CNaaLzCRm22vYh6uBJUtmUSkuZvAMFnh5Ox2pzmYphBm6Gb9onk\r\nly5/S9ss/209Grv8cJykwZ/Zhoi3kpnApQmSHaI52Oss5usku7kypBgQOvN3\r\nOQvBJSaq4GYCJ8bNFxxYiYu07oyoaqaIDY4=\r\n=2trR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"27715440d8c0e67ed84875c7b4ae7d2ac0ebdb97","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fluentui.2771544","@microsoft/mgt-msal-provider":"3.0.0-next.fluentui.2771544","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fluentui.2771544_1677228947626_0.48643063278586673","host":"s3://npm-registry-packages"}},"3.0.0-next.fix-grid.b9de2aa":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fix-grid.b9de2aa","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fix-grid.b9de2aa","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1a85f1df21e1aae720f19a3afb5043698af0bee3","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fix-grid.b9de2aa.tgz","fileCount":17,"integrity":"sha512-IincDLOw9ZB4Wh5muXqVPfXjEd25FSDHP7phhwMLSv3c1Ht44p2b6mh+Wmj5VX6lGaY4mkoNqaDcaNnZYwAEBg==","signatures":[{"sig":"MEYCIQCn+/BxuTTAcuBwCxYxiZIxeFE2Lk8DU/xiBKnNpYMV0gIhAJZxOI6VZkRQy46sG0UcYXdwx2wFmrxLcIsNNEn1a9Rc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/Ps5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqO7g//U81eQWMba2H7jYBHMx9q9FB23ywYrNtSkuHjF1eWiCYm+JHj\r\n0bBm4Fyv85R4QvWCgO0iO+BNH3jca3ETXhg+KcAXSxwsKWs+yc5kbPBK/kaJ\r\nBSliC3aDkkRLmMf6EwsFYL222oWfVwLYux0ULZZNmLngzg8ep7b17yedYbAw\r\nyVjSIMjCkYO8Y1+TgXp4ZPE6XC3vDJGjLZz9QsgoaiGRwK2J7Ki8+EatcQp1\r\nnobdVqKU3+j93kJ7jF8DPNlRPIQjoUz562iJu5HAHAaGBs2K/TgdT66082BA\r\nVEud4r/XwNv+rjXjANQoXTUVMKyse/9yUZMjMhbT71IZTpz486H8C5Bp3pdN\r\nO9YEc4W6QkVoguFLpTVU2fF+CGxvDkfwE1/yN/KfXvytbZRLIB+7i0XR2zLM\r\nZaxjceumJJipTqxpb8E5YaJhsW3+RmXzTQ4unVb8qz5CRLwGL53t34/Wt1Ca\r\nzD/PlZfA8v8aWoRqPYO1hW/dxaaQLjf/35l6mr6XVM8kdorKxAAsBQz3jD67\r\n3mTwTlVMxNUV696r2RCYxnXuk/EvdbUYzfJ4ObNRkdqVPo5chwSbK7HgFe8d\r\nbxFSu0GGa8HKizbKUhT4hyHfU3RgeyYUHV3KBj8/dN5Df0B4uGC8YDG0zuO3\r\nH7HfoZJf4P4VtdJNxFb2kAEnwGTZjIMx094=\r\n=9Aew\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"b9de2aa4c0f9a2a49dbb53ec14d6fa3ff8c9f850","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fix-grid.b9de2aa","@microsoft/mgt-msal-provider":"3.0.0-next.fix-grid.b9de2aa","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fix-grid.b9de2aa_1677523769010_0.6923072017132774","host":"s3://npm-registry-packages"}},"3.0.0-next.fix-grid.0fb1ed9":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-next.fix-grid.0fb1ed9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-next.fix-grid.0fb1ed9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d8ebca21071714814d535805b1417afb4500b8bc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-next.fix-grid.0fb1ed9.tgz","fileCount":17,"integrity":"sha512-D5KN51Lpwmxa30rSvHw7oJbWRDpiG3+3y3Sy0Vqi9UDMhiDmJ6qncQrpmkv3g82LTEoXGXw51cUCP2dvrJdP4g==","signatures":[{"sig":"MEQCIHNY+rFLkeGGnPnhb0Cw+3IU2sQO+2Jq2g/J3cyiH/eyAiBSES/GZ0DcG64ijRm11QA5AbK2IAJGx5Fjm2t28o49Hg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/QvBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpw4xAAg1dl4aSTBphvc0lfoc1JvwuDF2qwAtZwkdsfDtMkhGElRlXE\r\ntsxh6+aI1UvAQNvBlYON/IDO+SyHRm+EJDvSLkIDqAqfoTZNXVx8oGHUY5vH\r\nGJyfQoxrQgRfwC85NlqDgKfNbiYrmPxUQJGxU1MNizaPFt5jkO56wdhia4UG\r\nIVBQtSCvT0ym5zAlQH55ZLoKMKW1dwjRpRqCAbfbFa07xUQhZyYJogt1z1tq\r\nnl5RSirjzKZhanQi+g3l/ecIC+y1a/Sov2KcUAqbjQVivgXex/olb0A4xkNm\r\nNaJCcZa3y60gmNr6lWQepUhQddXJMBuek/IcYT8BmQW8P8Pyasv+5qTXv6B5\r\nJ0s9FCUpUF8ss2n9Z2rekwl95T/ihY+fQyj+lumToUU1t4PE2bCim8JCrpeU\r\n9noeJRKMgAEQHQjCg497ulpEpdSzntSv0RE4LHBoOJgvaCVLsLpjayNfV/GL\r\naT7qAC4V7b/SNHvfkwocTzKXOF4X24k7KUXnlRFMAtnEB7JwrKpvgowPqd1U\r\ndAbiOBSy650Gty79yruTOqHpAl3OtLc4NZphQPacE1KCTAb+vDA0ZTaMd4zi\r\ne1BnwevDuob3bx7354nz2R1BGQ7SgONxE0Ns0TwDfwW0pcArHBeAa17TTrcA\r\n+Cc2KSQaBmjh06OLKJZqjLI6ZaaTMPId8CQ=\r\n=uLZH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"0fb1ed9827b11a6e75cc47b105336fa4f0a62892","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-next.fix-grid.0fb1ed9","@microsoft/mgt-msal-provider":"3.0.0-next.fix-grid.0fb1ed9","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-next.fix-grid.0fb1ed9_1677528000932_0.8588817110843505","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.preview-pipeline.98f942f":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.preview-pipeline.98f942f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.preview-pipeline.98f942f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b4f399f7cc203727e1434be246f6f1b1651e163c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.preview-pipeline.98f942f.tgz","fileCount":17,"integrity":"sha512-GkUnt27IQfDL6+9Cuvj7YKycw9IJxHoUJMA0Ze0aZAg4hTzMQj2kijJBxfAGtDsdJc5/THNuKoqZpqItRxThhg==","signatures":[{"sig":"MEUCIQCB4WvONjhkPGvZbBxXGzeWzHmI4tdTU6nbGXFN7jmaWgIgdlEgxp2ptBrpWfSgT3Eoq4/ykEGIRQzK0LSImoeFqgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/tT4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobqQ//YfxciEh+UBOPq7qqoV3q6niTuuJMwlBtnmII47dHcnx4BRyg\r\n6tEeDK7aox4F3XrkoN4PgLsNGAlFVe/xF2n64HT69gmupmJBSMGLMEriuMOt\r\nrS5kytW7NyYnwO4hKWDdQhNQlJ+us/lbzQE6zHvau6O2M2cLgWR4U05t21m2\r\n1nuKtTCe8XfeI7IyFgJk3hTgB4I+sCRfpRkmXAv2tWmCSvau1/Vm4VWNMTIe\r\neEN+WXvWbiQXN+TZvtIgrhyvMcqM5/WRG0G7TzE0/3K8MQv162kkcaeXJLzj\r\nX/0oQSDH3c3bp0tzxYzjAAPqqSKY+Z3+h2Vyf7h4hCGuH/dnjEfIe+STtXGW\r\nT+SJmCTQyiLewIAwzX1/nAiDdMnfBkhLRWRMkhaSSZLtVZBhBdaNNcfvDzmu\r\n8X8E8ZejLO3mCWjJetk4LWORKplu94M8jgSAeanDuIRIhqHNr0EPpx9QIe63\r\nMkli8utyUpTp7+cZ7aRtme6+2Viad1Qra2nSzI0Vh5CtPaSsxfq+vlgJ4Z+O\r\nuR26Qkc2OtLPRjlSha8IYXExBbzPvsto5wXASzoF5mZvbiuAbMC9nkiRCCWz\r\nJrQN107Beqp5AlkG+hQzLFq2UzXC3IwEePrDk+rKOncx1CnPWBbWKYZavzMG\r\nwcrObIMY9pCs/m2/Eq9ahlevFnSh7+wh1Jg=\r\n=OkVh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"98f942f3d28d1e86a0bf38a4b01d10a088fdc79a","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.preview-pipeline.98f942f","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.preview-pipeline.98f942f","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.preview-pipeline.98f942f_1677645048298_0.6818989576395833","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.preview-pipeline.2fbf258":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.preview-pipeline.2fbf258","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.preview-pipeline.2fbf258","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"34709d8ea5f5036c8053cf4518559e514e7b3b28","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.preview-pipeline.2fbf258.tgz","fileCount":17,"integrity":"sha512-R0zCso8cggQ00pgoFmr5m5+b7n3FdRn+3Tf3axsdbH2/RmGEA/nHrRRtClu6csR7caNWIISHxfXAK8U0RDs6rA==","signatures":[{"sig":"MEUCIBYGYeNTSIquOSxl/cRze2kuqFzJmdUc12ulTDOPDDmYAiEA0TVe0mtZbrkQ4sxdmB13sBwXBsrWC0V/dq7vqvEqiDI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/7erACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoA5g/9GOZ37ERDCwHpb8DuAQwFx7UlrQYgmL88q+Z2CRTjj+/MhGW1\r\n5N9gBYibfE8krp5QqXWKdi+Axv7iSZlERvfNNLPISAy46p6l7kNDtTifnx4n\r\ncmzYOdBSLotlLY14hwsmMhJcRTxDEOJ4L9gOvyXp0uWK2HfZ4a0Mp6cl1B5N\r\nRzxV9ziwZP8n3UXdymiAAYBCWny4pXe9TX+D56+27Qy64K8ibYMcxlvIq4DM\r\nU9L55Oy54Zmr1M47E1YiwF6vnRGldv1XGZFYvLJRFV/04YisZxY0kVvJAFU+\r\nt1U6IfDUbAey24XVs8AVVt9EHGyW1YQu1R1Jaiq7N9UmFKNhsPc29+6JmdTl\r\njtts81owwY7NCKSEN+bYpywcLZNN605QoPUQrEUCtzH08/IsXnL8t3uMUTCy\r\nzIKUONW4ue68IvhZei8OHP+wRIR8drDQ/Vl9icvDvBWeZR9FrhwIYbpAiDuG\r\n8PCW04sEQ0cN5trsgkV+Gd9gN2Gpg6YBCSxJjEhmbhajk6eTprCDCYezIYvu\r\nLrQeNzXerMvGp4J5yVzfdEOiwpXKuCrzDaO/19UJxvMrRJ3kje1+Ft55ZEPT\r\nNFyZBbiaXnzn9bOMVeb0vzZ6boJfB/opM8bdeG8K7msCvH2cOWtAF9ZZUJmG\r\nJcVdxc5vmp+sSt+LVy9ld8CIf4Q3gX0j30U=\r\n=7+n8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"2fbf258c87658e5d325a5338a75567468b5ec5a4","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.preview-pipeline.2fbf258","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.preview-pipeline.2fbf258","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.preview-pipeline.2fbf258_1677703083446_0.7863602236461984","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.preview-pipeline.8bf3848":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.preview-pipeline.8bf3848","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.preview-pipeline.8bf3848","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2a8b2b8ebf7100b8e803f0afd5419dc5a246763c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.preview-pipeline.8bf3848.tgz","fileCount":17,"integrity":"sha512-Z3bsd+ycB3pzZL/PIcLhZthEf6PxgF1q3P0jsEgtD9XFjwI+BMNyzyfqKskZOrKUF7RlaXKpnX0W4hrNRhhEog==","signatures":[{"sig":"MEYCIQCv1EOaqDPBLpVZQFzUd3jtwwPtSMGuOJPJ7U0gzXA6EAIhAKMvK35ln/Qdy302xAdMPUAa8SuRgjVBoujVw9APWcIg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/75EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFnxAAnBC7tySjyqutbWV36/f4wxdPA8vLn/EplayPonES6JtPaUYq\r\n8+SH1h41Sf9nAaBFg2aCP+MGUzlD2b8N8bzj9808L/XYkhITjtQ4HULQnCiz\r\nu3c1qMboWONcNfyluqruP0iwIPE4oVZ+AmBGs5/bex8sNSttTQgh/4cEvQr9\r\nNyA5tVDrytcMS+HZt1etbLG4jRAOF5riwp7tJxd81Ug9CKhZYSex3HxEsMI/\r\nJZz14Mazrn5eIPLFRpLXOuuL3xiD4xnQ7gZ5oAF49NcmZ359V3LnnHCbnZMq\r\nJcatBd2GL5KOfje7cQmS8/BD6qeShvhFLyhlcc7YG/2H2JpehdiEYs9rSFD/\r\nXq9RX4EsFC0WRoyU13bqzrAdu3spECTeOgTQEus+7KO6fmRhdrbZKqmGSZo/\r\n1xr1yXW7q4xcxVU9/J4S1YkTK+uSl8vNUJqVRO+g1rWxa2CoGTwvvGeo9Ivl\r\nIEXVs0Ruwe7tNLxG9nYc4sbsV0HUahqiooCbB3JzQAv8GpuGp3oXHQlR1DCg\r\na1H6p0poLfX40qBBYkuvuD2w5J9v1wNly/9xdLafE/2f+0oEAPe43RQGuwAo\r\nNCMRU7hfI3/Q+PbpdUg6FPIeXl6u6nx1Igy8kk8phtlEhFFlcrtObvqo6/lF\r\nBCvSUuYqmIR6r2bWVhevG301iBcY33GUmQ0=\r\n=IwcY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"8bf384848442f6078c74d9ddf83a151d9645924f","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.preview-pipeline.8bf3848","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.preview-pipeline.8bf3848","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.preview-pipeline.8bf3848_1677704772003_0.20299827100128964","host":"s3://npm-registry-packages"}},"2.9.1":{"name":"@microsoft/mgt-teams-provider","version":"2.9.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dcc28670aa4b1e94d8020c9eeaaf78a173176a59","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.1.tgz","fileCount":18,"integrity":"sha512-3imU90daH3Zf9r5de2HnHxNPHZlJTUVxrt3gHQ5zWc3ov8aDXYG9/Z4u8LJKFuwwwHDfh2FBheZdxQWjiNCv7Q==","signatures":[{"sig":"MEYCIQC/8psxH0il5tsdMSUFdtgkeESxomnrI3iJm6mfkq8sMQIhAINTkPBDlBVH9fkinTA2LPpOeurHZOtIWPFzuTSCASLZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAAScACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVjRAAhUCImDogI+aeQd+3CN4BQJd/IUCMLeFlgfsBPlUM039wUYC0\r\nce5COYXWf7NVl4FzrFvyTsimmUy2Eu6dftXWMwEhesoKtU86PBFRgx4xYfyE\r\n9KthqMdrK5ErpFIUU7SyNJx1yRHVh7VfS9rdz5rHG3/GjVF3x66/smxdXY5r\r\nWMbVpdWUrqUKMCcP8u1LkFqNBH+ET0jiIVHome+96Goj4Lw7RkWcEJ3R+2n5\r\nxZHtFIjIhd7EbiU15UpyoypP7twWUnBL7i1RL8Waxl65afBq5NpJpsWXEFjv\r\n5E2fBNvuxjHP4NDYuPWa8tz39DAPtjA0VhlX1XgIsh97kTRWvdLOIRK+wFgZ\r\n2apl9rQrzR5Ptc0aUFhl7shBnPxBcgn+dADcVN1sWQU/MyfV9i2nMRFfjvND\r\nagj91WM3rEdjKoDDovDaFJlh45rmJr13hyDZvV+q6dmeLmB+LIhfL7n850jW\r\nF6sjBL+nYB/ylVpAVFItkOuDcMrjB03gcrjeTrKGsPIM4ho2KxL2uD7DoBE7\r\neds1t6vv/w8C9uV1bro6UM2IVbbLCQFk2N3bKArSm8EMp6CrB0o5H00/G6fz\r\nmdPGlHNctorkKpdA3+cKE27I+k693w8AP7HXd7vMEfXa9+Rd4+ml/Xxi9Sm1\r\nUnNRvWwdhVzMIxAhf79cqt5A5sq+x4067rU=\r\n=GBf2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.1","@microsoft/mgt-msal-provider":"2.9.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.1_1677722780509_0.6045914251840645","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.840b6b6":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.840b6b6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.840b6b6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"12f936966fd9fcf5a7b9d1b4b65fd2131e3ed750","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.840b6b6.tgz","fileCount":17,"integrity":"sha512-qXmGH/wGG471oH5WLU3y8oanUOWDhRoEjFnNNBVMBFEsOlz3RjTWcL1B0lDIdIgwo+Zbv9I8/8a3dxaLSmy9Jg==","signatures":[{"sig":"MEQCIDLOtAzcdX3/xlpuiVWIFpcGJkAIRFtP4kHCRwXCPMHsAiBsImGZ7q8cSlH96OFaf234sDF95/A5xNQ3I6CIR1J2vw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAL9/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6rg//c058WUzOdy5uSAfBNsh+T/zUMLEWIiiowTcif1FwQy9T0Klf\r\n0yUmfc78limSOVxw4cly8V78jhBGWLBGylviZDYm0++Zihs5wdAHyXq1nEP+\r\ncC0iEfWGjl5GXne299V9iYkXKpTooNmcp+otfnAqkAVQoO7FehmK9dNoa9EC\r\nxilpJE1UmRQs3Ggn9l7KdBgAQ6K8B8JYQAbCyqsObucm/WQI5PsAXBMvBR78\r\nwXMMFxEPVt42jlMSE0WXUobhASj7nQNrpOIJfM53JpDxQaLHF7kf5f5r6MNx\r\nWbvYSBvurCZvDZ5/DE/sYYz/ObOSOvfoQCh4CnEmRaJiVwcwfLSsfxg7qY9j\r\nHiPKu7y4g8trAD4+KZ/4gIxxFQThQC5j1BGXEiGAtezRlTQKBvdSjZexZTzF\r\nsleeajjd+qZ6O3FfrtCJwJ3/+VjFonJh+6/3qadh9YT8NdQTIDRu+RgwU2p5\r\naKXh/8EbxII1m4NGkWnlvdrBZa4vqHgDn0ZRWEzAfAKphUCXKfTCob+40W6y\r\nd12ONiE3OPRgkPeLJJ3z8qIUfJ+7qToqfCVtDKn9iK5I7tehoFcAJw3T1BGN\r\ne8TdZ/kDPBNGI00BpUABObbVHqP3vpGoAzilekdpV42em2xnXmorNiRkpqL4\r\nFv0F3wL0lhPRS3iAxBvr2MVAUsUE/ArTpnk=\r\n=o/3c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"840b6b64b862af2cc3ad6cf243efd222436fba4c","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.840b6b6","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.840b6b6","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.840b6b6_1677770623451_0.7208694234847439","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.96740ab":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.96740ab","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.96740ab","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8361a7283f34201e0bdda7ac0c578f49c3ebc350","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.96740ab.tgz","fileCount":17,"integrity":"sha512-LhfO5yZvXs70MrX+Wtq2jMOKJoeV2FPEIfkWXQeHRbd96ZpG5UUZIfKyvuO5/hXd87Lv2EAus0/UP0Mh7swI3A==","signatures":[{"sig":"MEQCIGx8W90T6UrWG5/NP33hHg6Dam0Xin6AHJJU2jm2z+KMAiAcN17/IJSiluBu2wiciM/rHVHmaordV/Ucce2NnI1bEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAMRNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeHw//RRp62kcGWlQT+JVfXbghPh9WcRiQ15flkqvt64U9JQmJXq2b\r\n8xfoVY0Ksmn0aEOXp5VRI8Rh0gvjnVdbLrBUCnD8Is3oIiKdwl4wMf1dmvTa\r\nqcuA5pSoDWJp02XA5sA1hrfu3NBtZhoGRETb6r0w/MLLTcNbP0CDVOTLwVi6\r\nW3zTjiyP8nP2ABN6gdKV/DTkENzvlwN2UaKioRf64IKWZoqLYsxZ3EycpjWR\r\nOE48uH/C0SlVXZ64knD5Ap5/uHC5m7DTs3bAqexTtAtSwGXzdAiLFCMvNfSV\r\nn/Z07ZF8PQwszDW4wcvLK5KgAwD0Qtpy4Osh7F62bPZ/+CxfL06tUlNxNdm4\r\nGvpex4MDYIia65Qr9lXOlJR03ajpCRHe7DGVXHld8tJktd8WDKc6rBjIs86x\r\nkZQX4jRPeWqphVx4r7s3MBBtLDTDJ/8rRuCEbcKm2mlmS5TOIE6Wqysm6sLb\r\n7orihBiGbDnhgg8nsN+2JnfmFpSGfjMWSORmzsoE45jr5hXMen1KKrhrz9JJ\r\nMiuSQSHOSEYm1fn+S8LhO9c+MxsORQzJhtxTFJkud8Mq1RoIn7aorefVQ+Dx\r\nuwOdD1qWvuC8A2evgJ4xTkCMgqbeeZhG15LQoyBJB+DEnObCaVa8Pls9oUHe\r\nKE6r8wFRdplSY9ra9JGnMu/eHI5LqsuCXkM=\r\n=88L2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"96740aba9671712cb053c27f4703574cd0ab8988","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.96740ab","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.96740ab","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.96740ab_1677771853281_0.7352289383891875","host":"s3://npm-registry-packages"}},"2.9.2-preview.7a233db":{"name":"@microsoft/mgt-teams-provider","version":"2.9.2-preview.7a233db","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.2-preview.7a233db","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4d5bb317f23452f1c5eb9a92d0f22de57a3375fb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.2-preview.7a233db.tgz","fileCount":18,"integrity":"sha512-ku+hIPAQKmDcHjti7BUZia4tDRUlp+qPiKQJVVlTPNAwrmLCplIGlsDT76ICk17121gtW20uAdJYJ0Ipp+FBhA==","signatures":[{"sig":"MEQCIA7IqiX565YMrxK3G3zeOvUnzgKzNEhjncRLAsLvMuoPAiBe/IPkFwz6SHXpSw7Wk1kdhTMVO/8yBXZH1dzX20BFjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAO2TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqs/g//ftsT6Ag1rxwouc3qm7HiZ3n+3cvV8B3uPGDr7xvFptzftzzY\r\nSrCCu99hYo6Z+WNIRUmuNeIbm6XJHXK7ldWLZjHGTPeed8/Ueu9te3YKGZXT\r\nGt+GbBDhCjlJ4LdqfLQwCKhko+zC9/4qUvnWz/aF9JuXCtp5mNn/xKNhRdRm\r\nGBM5KALkJ9PGnb38MCr6tzVJ76w2qTgRkf7yHt8XrzR3cH86+LYG+LmHLTH7\r\nJzvo8Sz/Mp/PytJIScDBqF5xgRmNDoEgfUKapDLAjH6l0HiFeGjLCYJapQ8O\r\n95/b8WhgLPklwhzTDhPjvfU4zH2Ksq1SCrP25rR5X2Eqlb3DqClybKgOa3ZG\r\ndIUvfooUhoYtFkz6kLTHa2nRUJmkjlFPL0Ru1ftxy7azlHTJ+aKw5OnN6QaD\r\npiO02MHsHs2k/coE1Fr7U7eliR+phSNV5dksUfGxqBm3+QOgUNOmxhnrK8gt\r\niKbgkYilAD7Rjp46ncvp2uyZtkfEvPD5FZJMY+ZAiZIIdClSIaOpb0jIk4vO\r\nDlNaQuJ77wx9uHt71KKButdVfS/E9NUa/iLfEWp6FebuSgBOsjBwTkOF5vxO\r\nYywWFWOYn+UgZ3Ll2MbR4GvfhsTa2otuTRE9We8ffoMQ8s6XzpUV+lU6NOm0\r\nvlWm3NupCSehQPuWgW2o6KV2bPJIRHYenoI=\r\n=EEdt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.2-preview.7a233db","@microsoft/mgt-msal-provider":"2.9.2-preview.7a233db","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.2-preview.7a233db_1677782418910_0.5624852678380752","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.94e390b":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.94e390b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.94e390b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"51e5d60657a060244074cc6da4e3b33b4d8b8bc0","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.94e390b.tgz","fileCount":17,"integrity":"sha512-Ex2VpXURd1TO4r0METke44ag32n5Zinl+1M2aPVTyh+d8fukp4T3Hlmia0QF5kKNeo0PcTfr+Zbc11tkNw55Ew==","signatures":[{"sig":"MEUCID1qttPikZNLMA1nJjfRhA8w8UbIyeM5ByJguaSQYy+wAiEA8MArERV9aDoXWFpPrFVW0olPgGNuLiYETgw6COydjjc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAPJ9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfOw//XWsUoo72IDD33l4xO453Ws4ohRL4y1XSqdr1s0iBVAIhbKj1\r\nGXtRvjou/xoH/8o61XBWa5pvhyod711LUeoISQgWdMG/2lJzIN2wyyHIlVI2\r\n0fKqHHoK6+sA0M+xbnys5DmRJVusv8hHDAhvalrhicpxHvkyPiD/PLDG777e\r\nkl0Fmp1bv8appYf/SFBrYX/MpM19JRgwAIkr3yd0vu+CKwk6wCgo+tusSvxb\r\n/+fjaFt8JS1RPg1z+/ml5djOJGc+wqagDWUcdyoTgxZcdUbjncNZqhRrm7Xx\r\nZgQCx/vEYYqLmCDnWR3pLR/CUl3G3YQyqdg/nFWqEVw/khaI9neiiBVum8pC\r\nBXOpiejz2v5aZS16NHNFTt6e9WDKlr6qQq8oyw6UIwIQSBmAzATa9fRkJsLL\r\n7VvhxoRxUhAnviYCCwbOK0zUkwyVolwRJTC3sjJyD+Vuv+YKF2E+8QUMh0UZ\r\nBbnSk+GBLlZ0zZeNJtWhX46uednFAyRoSAgkRsO77l2NCa7a349KJpzFSsZL\r\nJxj3Kv0XC8QD6CmAqnv5VzK4zMBDQcC7hhkj79td9wD7SqV1bi0nALsehDj1\r\nb6vABM01+o4AzwTA/dabdMdfJ+DdCaXYKf9XPzA7QYtCjUMIcOhDU/Mn5WIe\r\nZyEkbUqrmxwKY/YJ/e4dMfJP0P63OZo+YBM=\r\n=GU8Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"94e390be65d3d2fe3febe913daf6a8aae6eb5c7b","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.94e390b","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.94e390b","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.94e390b_1677783677497_0.6509450585768706","host":"s3://npm-registry-packages"}},"3.0.0-preview.1":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7c5696e3676bad92d79925a4049e87a89ec76a5b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1.tgz","fileCount":17,"integrity":"sha512-MgIBJuTSLAIJFJjpPl7zBrFKAmjwG8MPDBVpmpHDvU20f1COimItvUecCd0EssJjKJYtLMKxZu9ZcS93wWtsPg==","signatures":[{"sig":"MEQCICB/XeON7ip+sGyrKOKpN8q3z7hfCTqThqjGmc6rxuobAiBMGClgaWlmUHAwvTRN1l8/8I8V2Upwm/4FoYqadwGXtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAPgOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2Tg/+KofuePBc/8IWBCrLfYyiHpUjaC2lhD+xn49q9oZKhc5+9zfT\r\n5osuaOvbPaH1oXIJHEvWxFKm7yMgB1v7Xt9v1tcVGeFNGWivW1OouTH4AOeg\r\n8aQWWNHlkYksCvrhwJ+gIVJEMdijJWsUtyCkivNsLpuqGw9Alot/gh94r+Zb\r\nkwERWO0/9Re2VWeww1uPOSw8VzTYnM4ArpzLqgcM17VF4Dl6TaeimqSGoGaZ\r\na92smlHbB+BPwCQbMn4Zafio6YrKMBiCdvI5HDwQJ2rnz17wFFddbXDeVSf+\r\nE02K+QSdQN8uGJjlq2Eo8bbgk/WTLD/MfQ+NSe9tUQ0rLApZRnSpkK4jkp9y\r\n9DXGYy2/S5pwuQCMTOvykKZfRyXKJK2hEOplUxzHBZvAF9KsOb0fZmaD2xP9\r\n4vPsZti7TO9KtdKhpab1wJg3uQP0UcjBEfj+55OAA+OGS9f8+aY4M8nStRKQ\r\nrqxnsNIGDKADa45hMx6SldlKjjqVEz69B1xgSFDs98+DVLYZGOWg7Hq8Qe66\r\n+cq/6UVesbN8QMwSM8UXj2b6klTD4N6fAT2C24sy5TPGu6O4ZBg6ZwRaiW/1\r\nSfwNOdP1Snf0+e5MypAejPVcYcr4uQz7Dtuu0noZ6V4MlfImrh2UaMI5oDGk\r\n4bnIKoHbrR7xOPEg7V9QHKtwU2ycRGdyLSk=\r\n=3YWl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","gitHead":"94e390be65d3d2fe3febe913daf6a8aae6eb5c7b","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1","@microsoft/mgt-msal-provider":"3.0.0-preview.1","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1_1677785102014_0.40212695780098073","host":"s3://npm-registry-packages"}},"2.9.2":{"name":"@microsoft/mgt-teams-provider","version":"2.9.2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"5c6db8f8b7bee68d016dc7ca468899295f67d95e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.2.tgz","fileCount":18,"integrity":"sha512-XJC+H46ukqs7NzMYaQ+vqS69gKSjs/deFEnHGQKuBgt4UXk/B6OECNA6XATREcqV+2B78XEph/GHwDM20ijMeQ==","signatures":[{"sig":"MEUCIQCXEc37QNaBnAjTL/wzgw4Y3ts/X4PRV+nzmBT3Z9yX7wIgGXjuhfJcDOMxlEbi5y8JdTsCvmd7S8zcM1opimD+X1Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAP/bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOsQ//enGxjsVhu5Su/nu1EUHMsvw5tlbsqOcl/15nXpfv8CzHZCm+\r\njt1C713HI7SC32nxtSR4ZE1IPj6Hkjygb+qmtHyDM1wYc4YOaPOMEUP7qqZk\r\nKFv+bF80QcWsUsWlYqJw9MchTRBWFCFXVNkxoGPSUjHsVzRNq1/R+3FxXjOj\r\ngMy0bt+ajFUgr8N4tmfNkspVtFefhBIHbSd+JxDK29+ZQ+DaF7qdUo0u07b9\r\n49XBp+wFwTa0tMVbjhqpo6RW49okwqSTMJP5lyK7tZegut3FUqtctLxbg8cS\r\nNQWNEgJwmWDnXGsjRhsundSfEl7ABbuvu3Ft3b5GmRPkz45uN7t7jYHTUi16\r\nUsFGjLSoP1N+8UAFiEz6bRo8pm7n6j0/2SS40DGbKqBX2L4BVCroCWxukkiq\r\nHjys/uStk9rlN7puJXlu7m7upFvAfVlStSIDwhE1Rwruj8YLNu/eBKn3mxu4\r\nMxUKpF73ey/YbA2PEh1IoybjK64se62AVUl3Uqmk0lk+LVEWP0zoqkpBHtwA\r\nK5HRCBIsQZ+V7dAzz8525wMmRYfPQMOWj1n3he2lED3RhEjjTXBwgoCZdvve\r\nKocO2OdI2IxdLeGNAh/cXwBB4YkifVk0VGHs1jnLEPGGKamExz5d/o11xLM3\r\nvTDRf68IiA92V53AALAejtU3XNjsFEOUP40=\r\n=VDE/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.2","@microsoft/mgt-msal-provider":"2.9.2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.2_1677787098886_0.412016942669841","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.187d652":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.187d652","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.187d652","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a4373de9bbeb862302f12d78caef9c3017285302","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.187d652.tgz","fileCount":17,"integrity":"sha512-+KZ8wq8/LwrSwd0ZlgWusLQkVy5KtBMutH+yoi4DlerpbXvjcyIGo50xZhHxl/YuLbMfZJ6HBQQeqdTEICueaA==","signatures":[{"sig":"MEUCIQCyCtxGXbxsgL/9EAqGJ80/5tqN0dK8z9mjq1v4AgHyYwIgf7xv/wblsFRTg7H238X+YiMzx1moj5j63+wmaJBxZD8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCf5cACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoG/hAAkZXnlO+RSMUfxizfp5vW1cUc3Fp9SiK9RyRWuduG/B3THUhw\r\ndS71iJ44mgUTLmMD0IUBwhQ7dedbeDqlLbrGo+uGSiSExkIqpTR0XS9cnv0R\r\nR6C8e2AOxuvQyirTWr4+QHDZSmH1P8pIXVvPf7fYEUSEFONt0Y9tgUtejyPQ\r\nljRg99VpCog+Os6XYYLkfpY1YuyS0kPyv6qZdUn59RH5oR7BcsVP4wTIwzrH\r\nsc2hQt7R68jRgZPZ2khkBuxFUBFBSzNsf4w12wLpuzoj22aL1OoS1RYbvK6d\r\nnrnR9J/51C9yfS+VK4WHWi/amaSiutfbGqSu+ISIJ5lcZp448gRymMDS4zXF\r\nJg0OnQZMpLCpYlr/P7ymghHAo//fC6xC6eTQJxBG3R3fEbKB8lbhA75/L/WL\r\nldpJM+XnWn1Qiy0z+OD7r7Wyplm5tOK/Tg/XP1yeaNdxB068jfJ08RXWHXX9\r\n5CX2yMqVrxSUA+CGHtrRAu9uSagOMcmzRoS9E1ZdpSgqCCJQ7lstIdqWVV1Z\r\nE1iCiB20pRmWwqRf9d79J4mHvFoI82v+1w0ZYordSEWovVrOFjCLZfFbrqgI\r\ni7NpwMTLWQfCf4VbBFPxYLSiJAd2CVF2FKyu3Vqt9j9dfZDO0YVc2YDCU3pg\r\nJPT2X3hvMeS/PsYJarRVpLANMS7K2g0Fglc=\r\n=Glw4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"187d652b721f0ccfd82dca209bd7e69888cc5589","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.187d652","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.187d652","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.187d652_1678376540655_0.41702566447859946","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.2de2c03":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.2de2c03","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.2de2c03","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cde1946e62f8072058bdb6b9344da6def5b2ecc9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.2de2c03.tgz","fileCount":17,"integrity":"sha512-+eeKblxku/4I0YBwEDfktjXUG1698P9ViHtL0UKi1WtJQA8wqg7CDTPPMyJ5ZHhI0ykPJJb6kA5lSWrnoI7ORQ==","signatures":[{"sig":"MEUCIH0L13Uwkd79sYF57LNrssEi2tlhBgaOw0LMVOWMTe3TAiEAgoNrt/Bhj+iDCNx8rR6G9o5NO9j9kyQDKrsYOcXP1Wc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC2mHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVGg/+KzN/QXijHpa55ORUUDk7ymn49KdSJ2wGGVCkR+8HCX3bgkoA\r\nvwSr4kSHN2yYQer49e11njljWuhBKUrPMmZ/G8Bm0ydOiFVSH2v3wmSD4AZC\r\nSLfLY1kVseq+vHpzdbPfh0j6eMgm7Ud4fwdrvIpoRFu/8qnud5oIDc9yJoD6\r\ne6UcqAzS5Yc9HekMShH0ZZsKFImknZQUcAqUM1KdRHSrVvwwN+cMkqX1heVx\r\nBv/0oPV8kzVGGrm4XqSqA2D02t1h536p+EgQm/d9mbmlNYXpPe/+9if41R5O\r\nkKrleIbDD3vVcbwI4EXJvSQxXwiYdDnqAOj4S8gVdRZCyFDNZzHpMBlsezaN\r\ns7ieNElLwKhXaa0Rhrk9cl9Iak/wrH1lvQyIbC07/NX9/ryctOtqs7dujY8N\r\nCcaznVxW6Br5JXHcB6SQDNhIB00jJiVhrcz/c5LPRPDsq2dvOYNWLPD4pZC6\r\nps91IHSxYALRhzAu2QGetSjqRicr8yvPVoIAK/D5HY3+jRTBqsO314NWxR4d\r\nMP76gZU8WSY+8cXp82vq61B9eUox8os5PUa/TC/ujjRvPpN0GAdWJ1NKCs/s\r\nFMQwvf9a+wtTiy7enMl/SjTNHfdAiKQld4g609hZE1D6SsatmRnqNRvqmJ6Y\r\n8A9Z8oqLG+SUwNje68Tx92+0y8/D3+C6IkY=\r\n=f9pz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"2de2c03376ad63af762cfe374f7ff3b8bdbe10ef","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.2de2c03","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.2de2c03","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.2de2c03_1678469511580_0.07092053179805546","host":"s3://npm-registry-packages"}},"2.9.2-preview.0f68f60":{"name":"@microsoft/mgt-teams-provider","version":"2.9.2-preview.0f68f60","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.2-preview.0f68f60","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0dcda6e95ffa08fcaeb791a662ac1eb62369358a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.2-preview.0f68f60.tgz","fileCount":18,"integrity":"sha512-iKYQHQ2vBOEcEXBDFiw9esdbQS5R4QE9GHN4OXCn4QE5b5YDeFabF7QxlzHEd8AbH+nRHDTjOYywW7IISl+Adw==","signatures":[{"sig":"MEQCIFAuPRoEYSKcdCU3q+cT0KxZFQA2+Nz2MohwaHM97v0QAiAYtgz5wxkT0S+HGCf6CKrU2SNEvzjOWJMmsxYm7uX+Wg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkD1YzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoiYg//VpMN5iXmYNQUSrb+5Pb4RdcGRVTn7TeV40f8jocGrvDFaRTy\r\nOVdY9w/RsVEUQQ+E4hXu2p0bv0umX5BW4saXf+wrQQ69oLOzzwMEcZAfczFk\r\nkRM8UGGmSxqT4Kg49dTjeeZ2+e4A4o8rUM42WfdA8BBP86F3i4YG2tGq5uuA\r\nJ218NReZ1uQwqM0Tp81W+OkeGInIhuOkQfRlvs4AQUPfruGnd9yeFigoBwgn\r\nPXxXd7ayQGQpPZ+klBkQw8tTTnzsmXFOovtnaTyWcThuOFKHn/BMkxgol6zp\r\n2kXTpNh0Yi08mTd8qkxLUrB35xT0iReIDXxS1r1FkpeEmqywjVjmgIO0DixM\r\n69+miaNv6rZoS6FfoCCUXQW3KiKy/9/WqEWad2p3PmnU0ax1TN01XIsth/Ox\r\nibsJrdiMmvgpwLKhVqqNwYw3sYFeAelOmljBjmTrxONgJGrtjlJeaYnR2yF8\r\nE8/qfcKS86Hxqd+VqbIPC6so5SNirRFv2c8XFlwRWv4jq6PjoiAxr3bOCYcP\r\nQBRfqltuHb9Fp35AMyjfys8ok0ojMa88xeKrWyVMnRnKRTiuOzJm+GtOrHGd\r\nAh1xqaL1bG05nOD92dk48jQQp+nF75UVjs0Szrj0qYsUSs0WVw2KJ15S1lan\r\ns7uBVGuwRbRBwrrCJIsoEDPogkjHQ1fKUVQ=\r\n=JFtA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.2-preview.0f68f60","@microsoft/mgt-msal-provider":"2.9.2-preview.0f68f60","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.2-preview.0f68f60_1678726706957_0.1335042719786792","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.89b79e9":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.89b79e9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.89b79e9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"dc314d3f4a7cb62a4dde2893f30974f8532b95b7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.89b79e9.tgz","fileCount":17,"integrity":"sha512-QSwfMXfVuuA0lHERNcn6fvTZ+7Arv1zyYpgMz6kNnOXynPteSzpcV0AahQtwpthH0Ts/BjrZD4L6YFI1kZJjig==","signatures":[{"sig":"MEQCIHCfRVXItZZ0Psm/jQST4Vg5jW+1iMfqOQ9SSOB24QmzAiA27bjYspn3NLMtma7zJD8zjrn/a0fRLqeZ2eWh6JB3KA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEJcqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrouw/7BT6Kqcw/kuEWIQ67oBjPs6xPkfXTGKaBIjOvd++X4fy5B/j+\r\ntSmSDCxPnlI2bGBff67nBRg5aZfNMMhLxENlkpjc+Yh91cLh//fU6AsvF+Lr\r\nlyDGQ/poD3OO9uqAJpdZRohxa0CyG8KNIaJZSTP+/3nUtXu8c2BNQXlU7qT3\r\n6oZ+gcALaK7gkTILp6UC8G1ictTwWdMxGamCZMeeImuWQoWhDJB3dWKOxa6Q\r\nlwnGKcdl9cdc96vkOxIHtb/P5MWBrdB4Ls516dsZ50c7Z7p+6gt0QV9B73Cg\r\nK076DvdTx90jzxSV7xlaBBcbaGUi1Y9ODovBeHq/oWKH4aMEWeJ0wEQ7Y090\r\nODxRoI/UU2D0b/sS/APURaVBGUK9FQvumfROk535BSuudjN+cXHW0L/1BQJr\r\nKH98YcVnoBE1SWSlXDOH3d5X6aDdRO/yGvqHO/Y7CJdzOD8hp/D+nTGvBjxH\r\n6Nky3qLnKCtpDBM58+guWScUPIEtlvZkvGzAECvpePj8/kakKuMkJrmCh3B0\r\nHTdH0Vy2mgHPS9Oh8ccvLK+etIJfXjjiV7H7vWOZ3+cTi+M51Brw+2Tq3n6r\r\nCUUp1FwxnSwd+tXcTRbn62bPnh8NEdMiZGsg/UHFw+yly0QVxG/qpVz9OSbN\r\nfEKu2op392pqrx/RwzIZtfAssamf8dqgfAA=\r\n=M1sP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"89b79e95035203368cbe427216ff1463261feb74","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.89b79e9","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.89b79e9","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.89b79e9_1678808874559_0.6155573074094891","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.aff9384":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.aff9384","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.aff9384","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b928ea17fe6639344ab30e1c807a51d628f581e1","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.aff9384.tgz","fileCount":17,"integrity":"sha512-0k80dOSB62HOmIduEUiRbuKLeqxXA10bNS+IS5cW/6s8lVrkMTft3c2lKSR2KAs3pz5UmUcEOPJQeAcu5Gibqg==","signatures":[{"sig":"MEQCIDx3okogPCMPUijIAkZcl2UzcOIxGDPo9xezijrTgtTGAiBoKkYAI1l7WVp53uM9drzoyasfMJ/4HWDns6wdopwg7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEUteACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoh1Q//QxgylYpsRPW588If5+d87z97devf84x0pw3rd9RPzATIEb93\r\nMYBZ48dD7Et2sK5WfgmemX4OTNA44Dnu9lN60wLSvGp6CDVQfer1P6MZR6ne\r\ndP9HZpzIqT58Uy/h3j1NBEl9qjOUSheOfIIcu9R/tgo5VodfV+AVkij2kCJu\r\ns5RRNSc7FeEr+14LIn5G2fvejPhUd1mVrOX6OdJVhv8/gU9rVLiLj9SVdjzR\r\nSMvsoKxKIKCFTZbeXGy+0xTUywkKI/tHFXZeXXERoHfFbnwxwgsrRMwssBL9\r\nxsIu8c5ujH5DHvYeQhxGUd6rwWu3D2x4z/7AcNzvsP6Ul00vfNLlOlI+FU5r\r\nhcTjIsNww2Mb8O5LDQ4ZDrad0PBxSAipjzaRaak4i9A+ct4eM+Px3bctPenm\r\nSOBI+vfTkfMe9D7J+N4HKleDfrkzvroETKxK2lmLMX6hfuG8xmQV1Xhz90fW\r\nqPMdIfCoDksNlYUo5SyjulZW1XPDw5rXwO+ptf+zE6RYoWjwILXWzWeVrQlV\r\nfwZF7/Rl1aZRyqn6TOscxXm/ig0RglretGkE81EJ/VYJ2UV4xLBA9XBO5qm5\r\neZE7dAoxWj+k2BTC6OLJsSbOQImjROb986+BlEwUbNrj9SOBJrIv5mgN7A82\r\nY+GzXxd2M4O4HY0+M34teLsCeUpzLoQLwEA=\r\n=nHSA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"aff938453ebe373fd44015009edbd717e63920a9","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.aff9384","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.aff9384","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.aff9384_1678855005819_0.35681870532752535","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.8fc20a0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.8fc20a0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.8fc20a0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"55da208754d90abf3f50a95698c30e97f261162d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.8fc20a0.tgz","fileCount":17,"integrity":"sha512-FjYoV4iTmImtt/l8OQoDJzzv7a+4WVZTNWSkS586opAQk9m7I1H7ljJpFDLhSIrnZUW4agDY3iZw/MJWIb28Lg==","signatures":[{"sig":"MEUCIQCM/cczRDHP0wprajKpxLqR4QkwE5n4bprAwHFuLWGMDAIgVt54rXQBm75raVzKVMYnQg/97hzhg5C1yPMkhn26zdA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFEUuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8IA/9FNKnNQzIjf0bCdwrdCIIYF2L50HEiqoEqeDHvF+c/o1dhTHO\r\n8xuqMJ9M++8i7rapElK8JjssgcTiaM1OXKu3bGLcXQCbsDUtvAOtB5iTR2Tv\r\neO9x1IqL3nBHSb4zmYKqX+wBI0myJMmXw63B2/5WKlirmytOjk3NbRKpxs/p\r\njfIOLkJ/fyVIiYOIfAl9hK2Y5+V4Fpzvmx0DyBAabtsGJJpIcsAbFFm+IirW\r\naO1j99b0t5+PuIswKuVUszyXSNotchQEPCAWF/hQE3T4PaopKLpfVJRsdbbG\r\n/KkarBVpwFpWaYQ8Gijm0//+qP6r/8OdQaG3jBPS2CIXSE0ykTBX8TtbdevG\r\ng4ZzZ/pOadEDcFuRQluIprcRM5XXXmxi1Ra0r21JN5Zk/7hex+uduAyaBgOn\r\nIu9QN5xKhHogw3H3jpKk5EHjYSIJy9Gwd7ip9r6+JIY3nzDMSxaQOxUvkeCK\r\nSfMqzs88vRkEU8sVNkYyox8HWFN/OqBBAcwCv7ChyDokkVW8eRCNRCC+e8tK\r\naWCcTYRkFVcpa/cv4jlRhlWedbbqcg5jvFk18CNLs90By5VXA5cAYwg5qMbK\r\n6Dhp4gSkW2K4A5OxAFdhApD75/BcP4/kwTvdWcD6EStoUIEErrOwCR7Y4mlq\r\ncBV5xXy76r456l0xk1TkQvzhxHp4XGpFN1Q=\r\n=hqrd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"8fc20a085e9298bef7f29de63e2bb480d4022580","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.8fc20a0","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.8fc20a0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.8fc20a0_1679050029853_0.2504561889595003","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.97255fa":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.97255fa","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.97255fa","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"df05da7754aa75d6e14b3fc7f3ca6d30517c1729","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.97255fa.tgz","fileCount":17,"integrity":"sha512-trw/jcEi0vkOtPaZCzYKL6Uw2D7cXAFFdGqd1C4dZBiBNDxye7ojLkheuwVoaL0BRA2ld3E2O5gvAr8/YTcQkg==","signatures":[{"sig":"MEQCIC/0MdhUXmDADqAWtEXwiQ+rTt/XaFvgHlhmYa9rbQk3AiAJWTTBnMUe4Nz1jJa/B+CUYpLSbBCgfl+3pndq10MChg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGg7DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoyfw/+MGxS40N/ggcWSbP0J8eA8gfkfmTFmAVVdtRYw8ORtHcpbIc8\r\nZbajkz5T/keEyBNRUAl1BNc7KgIlzeZaLy6A7eBv5fm4m3uiGEy5mXrAG0df\r\nN3IyKoLo2HZ55xrqkwfoduh717P15rAi7vRwW6OuNLPMl10GhCM8RkY46p5s\r\no2llHtynJM2HYzI3yQ4CHvIDcIQMHlLNhR7QmlJtJLsh1tZi6V4ruM/TrZiN\r\nGwDgq9Y/sv0/eDyTwN1wJqaZqxSzb7VDe1BSR+DHuhRc7bQNNoZKeavA5oM1\r\nFi1dX/GrCLzD2nl5FMsByruWyDVlZy62dVh+H8jsrhs5sV05CnSlmbo7m/Ux\r\nLXz6RP+onzm2dz0YSC/hf3p8R+z2nlRDu8aDF2jHbLR8qvRF0LxZcr4y+Ghr\r\n7uoibi+rkrYJvwrqtBAQ3GAeNqe67z3PcBDHYCLLR8HEpykgaxaEPv4cAMtR\r\nMG8yM9UUk3g1/cr+nxbFSWKgtNd0FZD8KbjHy/27ewp056V02CNSDIJozJZl\r\nRtv4C/r0cA08k91pY9fl5U2JBOs7zdstIJUrtvK/MBGa5vACHownok232LTz\r\n4bW4D+XwD7Ph4569D+yqo93z5hstqzHrsALZKKW4mHKbQz6p6aanfWeFhUY0\r\nzrVqVQdT6dVdkUIXj+Qkenvunr44PHTP+VM=\r\n=zlGy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"97255fa5628b870aca8b58652fa1d0b675c48914","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.97255fa","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.97255fa","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.97255fa_1679429315655_0.4826627270318975","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.e6fdc87":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.e6fdc87","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.e6fdc87","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"22f54eedb215863376dc9eb0380a773f1e47e3f2","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.e6fdc87.tgz","fileCount":17,"integrity":"sha512-h/a6Gw8s1mUmenoI6NVEKKyWt1OCj4BTYK2z1LROYaxxJLVzOy1U2BpJGaKCudHX3AF1sS7CJ1C2hmc8fA99dg==","signatures":[{"sig":"MEYCIQCBFeWOKZa7lfSccypESCLWxflgm36+VTQLnNEvbqAr2wIhAL2ec0klO9wm8r12/0CTZcnyBheIOtZIgi4D5usUjjip","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkG4sXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnBg//YDsX+M/rjGBbwME2cALKVNqxIQVW9b96VyCQ3BgF6tyVLunQ\r\n3BSCULwU0K7Udgf+zTyw0ZlNb+B12Vzt47G6gq8VsV1zPtoFvhtmmUqVyxh4\r\nsZuGaMDyKqH3OPGGd6xWOkhAgv3ZUGC4ti8unmvLCJmG3/Ko9e9G9dJW17jc\r\nKJCthQ7IQi08TpFs16pgJB1kti+tQ5fU2TZkidSfpCo9BglWJ52EZoB/AGAR\r\nBlM73sKH0bHArve5B7+Mutp+0Zhn2Lvvqs1rLzfADSAFUnhmcEiH0/QGtkib\r\n25PU51B3vUHU+dhSHkL6Gd3/WXiqeeBi7dPaYwWGu3wNy69qFCdEKahFR1N+\r\nlQKjUAs693kCfQps4yXsU5HARGb82sVuXVT4RN/O8utRdOnK6TocXyYCezSW\r\nGMkj2Q8nnhyT5z67McYJONf+pR6w1PbFdsiFQlEdgNUWdhkF/srPvudC+K50\r\nNOqm71XExDLEbTyFEMRm/5n058XgDWu3TTYF0AqSGhEAMRDXOY8S4yDQ2Bes\r\nD9o47x4DGbAsRvcRvv51HPd6nQkuQnPV31J52+qXsI3WscWSxNl2UsqUXl9T\r\naUrn/XMWO8SIHlqkjXRm0XRhtFGZsQH/hIe3xxFqh0v5iReZWkuY0hMF9bEh\r\n2LJSYd8SKqs5sK+KONInTzcJoR0hlDMb7Wc=\r\n=snlH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"e6fdc871569fa99adf3e9cafced9b39b04caf8d3","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.e6fdc87","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.e6fdc87","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.e6fdc87_1679526679692_0.4475034424126825","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.c4830fa":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.c4830fa","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.c4830fa","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"040004515648abdc376aab7de51a9a5bdd431c1b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.c4830fa.tgz","fileCount":17,"integrity":"sha512-dj0v1QHSENyQlrP409kaOBDZJm6KoD+0kNY9YU+Uraz4T6EqArNdfYLjB6XSZty/RjXPlcFAkMkhe/sF1rE2AQ==","signatures":[{"sig":"MEQCIAdtCm5Hqd2hBo/SETarYxc6LGNLoYIcKoxLH3OB6mCXAiAwtUaSgoM+S9XUC8w9mxcjqmuThfWfU1Kyy06n3yBScg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIiYoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGQQ//aDfQ9avseqOzlJTdGpV9wjo+oS4P/xQBMQcKmElSVjjMXMCz\r\nvhHFF1/C1NIh3kfnPBRBJx+MPlHGGbN8Hhi0R3oHsrsIvTxzAnTc8s4wQchB\r\nkExNnQAqnW2vP5XifpQnYySj00boQnKrdulGU9CwcVDCkKBfhFoWk4DwmxbF\r\nzFBJkdCONUxrJuyLGCf9ovlj6PZGdZg7q7hM5XMGlzxDPvMPAVNOiX4jqrzY\r\nUo6aHiE3bgCDfG1MiwxAOJaQ6bJRlQ3qNPVk/lozxw5tkkGF9wydh8vpbOmb\r\n3kAyZTpIfu1gD59SKzkg2ml7Z77gG1jrbHkyLiT03+1/LC60q8couWXdsTLv\r\neo6sqdm9iu7Bui9aersCvBNzHa3ZZ0zl0lJy+iTiDEO6P32fHcjTLt2S1/dq\r\nbbDHizRNzsgYRVw6aFosubt9dk8h74OICwnWeE12SKdmASY+pUxWE/DBkfor\r\n8gV+wEUEU/r7gg0O1J0KQs7Iw0P1hp2pP3MigP5xLeKfMvZAu260G3pXc0zk\r\nJ+pyX5um9AAJE/C1w9xIbpieEgqlb37qK92LmHD5/ct/fAHcBNr9FjYznpqI\r\nUXBQyqDkc8a9B9nOhhnhn0nOwVY/sO2b5F9wbdLNJ+mScSmP/PEfGDDiSKPH\r\nU81wy2MXv2MSmcCcd0875rF5QvU6abc1Ujg=\r\n=rXVX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"c4830fa7f9f03c1b1583f34708dcfd309fe6831b","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.c4830fa","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.c4830fa","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.c4830fa_1679959592212_0.3611238488517772","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.48046d0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.48046d0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.48046d0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"be5f2c922df5b7219c0a5a43913f7df791b5dd82","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.48046d0.tgz","fileCount":17,"integrity":"sha512-AJxwEBJxixcMtMofr4aRE4BsNjObgyt6X4RiyTk48QkcWhp2+NdCPWCVU7PvAbFgSDexAzG78rBVCQ/BxDrjEg==","signatures":[{"sig":"MEUCIF6an1jawqS2mFVTC7hsN1peQpHRkhJ4g7rIZNrjwzE/AiEAv+fIfZj891xoK9zTgew/iRjZv+r92vV2HB0X2fmJxHM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkI0T0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpm/RAAouGVgD2TkCbk69MHTePLNUoBqJw9lq9mCY1D42emaKlod8qh\r\nvTfe2VuDFlyvzRzK6eJIAP47r1yHRDvChXCOpuuO/ywLHXs2tqCJBpqDnmJN\r\nPsyX9AlrbCJDlXvq+uEKKkIRt9dATS75pNjAkXyRuhPyXhVFBRQpaSOk4y8Q\r\nA0faqDkjOYz69BSpkGpcJVsiR8r6XfxZrzDo44tB0TPXYxOo+EazfCYkWyzf\r\n5uEKvNFymyd9WSjrvs1jp+8mN3ERuBuo6qjhUaUqsZ2pXd9ckGYowaYCH34X\r\nhSrd7RE0zaTiATwavbsizukvG/yF2v4uUQxED6ax/4m8aIF4qCRNIsWH13FR\r\nyKkpSIHtYnvtHsLKaZpp8qmoqYJvwYX0ejGDQqPpVivy0EuqYkL1JIN+njyN\r\nWT/bLNSZ388ZynTc80TWXDjayexCsluUnbABicBU9JSCEyEx25JqIiCQ7FpY\r\nXPOAPWXoTMBbblDnKuHfJEhij3x4npGWgZv/xy4suW1rGBJfa8/WLewkno6G\r\n+t9eQGc3FchhjVPTrx+8Bt42OyJqsgAYyHPRzYpsf4FBR8v6M7M9qTqtWJj7\r\nt3oyOdq8/d9pyknePvzuk57G+GLWGPD1Is+byQXlxwEeDer1A7fjQm7wSbda\r\nip+9KHx0iv6ZJpftg8CrQ+xcBGR6EnazQoE=\r\n=OwgU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"48046d0ec540f97bc1eb884012ac3237d69f63cc","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.48046d0","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.48046d0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.48046d0_1680033011834_0.743342321605948","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.3757af9":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.3757af9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.3757af9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"de637fdb57ecd8f1a9502b5601c317447e579849","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.3757af9.tgz","fileCount":17,"integrity":"sha512-xnSBgmEuEVDeCtmylwUpzFtoYVN5fzmshINQ4TUtk0/w91pYNKKCvtZ5Y9EpfeJ3SGdwawYpAqvXBqoXC/+A8A==","signatures":[{"sig":"MEYCIQC78HDVdpAQ9Vg0mBvVCPKVbVlYl8PHNlCpf6rDt+d1lwIhAKhGBgQCaZ06G60Czu4NZ0DTZtx0gDJCvah5kDpD/1ky","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkI2LuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOQA/+OSy/8fHocMb8S4f1Uyh/HbwpuneaApdUD3WdoxlGQJNpTJWP\r\nQX7PKXaYhiGmIHyn22art42K32L6bhOwEhOPYhTpnoRMr3brPeLLP4NP5XlN\r\nK8pbrtCNIkx50IocFoIfk8ECiKK0MbmCvpI1lZIr/JHoj4i5UILJtoTynx0d\r\nSv5PXwhoRmJm8PO52PQP4hTeJeoMX1MDmjZR4nc3uEQP4cuURr+cTfZgmp7a\r\n5Pht8s3ypGkFLg8BuEV84NP1pkEsGXDdkYPeGU5WJyQPJVAebZON80IZysK+\r\n+PKbPkbvDjd0XxTlxKye99tEONdZmcx3MqfxGPUhsdX8B83qQ6AMZdYYF+F/\r\nMIP9XcUBlP5DYsX0hLAJnKyn+AsAcDJ9o1TRk/0ElbuRG6FEBkdoohMHhyLj\r\nSXP+U0d9fDbFx1sfun8k8F9sLgrhj7BK7mfj7vaAkbCVy29r7TBy9oLZuc/B\r\nd1/28QecIrwhgJmCCJe8NwWntyByghoUqLsCVjlGeO3g4a7SlinBGq1R9NSX\r\nsUiHfp+NhqOt1qvMClUtGw9IpI9zsR1ELskfRQBNOcpRqu0aBWKpr/19Aa9U\r\n3CIxy8yGkfa8L4ZRet19DMMchZqM14pwfJcbtqdbgMzpzmkh5yvgryZAsn8O\r\nbFzHt8ORfmCmlq1348sSE5sod2RiG3aeyDA=\r\n=qK51\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"3757af991f745783a66e0f6a475ca24793608067","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.3","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.19.1","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.3757af9","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.3757af9","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.3757af9_1680040686017_0.2180518082418086","host":"s3://npm-registry-packages"}},"2.9.2-preview.59301ab":{"name":"@microsoft/mgt-teams-provider","version":"2.9.2-preview.59301ab","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.2-preview.59301ab","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1bcbe40f0c2940c9d1e8fec04158ee3e5f5cb8b4","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.2-preview.59301ab.tgz","fileCount":18,"integrity":"sha512-dYHO+HmkgZNUbDiuQPCGFTenWrhouZSIkte0+TdNuIEDZcVf3kutD8voJRtpfUqgH+o1GXpXs6bD3C0yuXN+5Q==","signatures":[{"sig":"MEUCIGGdhhnVLfWmJFo+S7IWyhAHuQxtuoiWjSaF0tVqlndgAiEAsogXwDL8blcNr8krY+EI2MYrTN/BN/fYiCus0I0eXGk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJJH8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEdw/+KazVa8JYpo3e6ikwY6KSKuPU/G9AYXqyKrzE3cZfDQKDXEKB\r\niiImzmQLfRxUiK2MDM4yiuA5TGEr6Esos/GbdDsPpQvLxAGvh+NoFUZMPQ4W\r\nzVoaPgEpvBgvvRSoR90+dV6LhhDudmF9chBeOvuUUYjVzAUIriBBRjvDgy8N\r\njc8qkzhZmwu1FN+zG8Dy53areHBBdJjrUCUuU6a1ZDPgJXMqsQ2615l7KTpd\r\nUl7tZQUl3V763BwC0Q2PNWKFsfqEOvg8ZU//ufiJ0DMY5hI05FJFhprMujjD\r\nSOlT6JHbENdCGCABnSbxtj/Zo/7MXdPRydb4ZmbZT3Z7ahduvbB2c6hZd46L\r\nczztG8Z/SkLGGvpViQpkAxvBFMijZe0QiioT7UzrGedJbJRLpVxGoKVpgEy1\r\nRS/4ZDv2WD+7I9GY6cpqd+8anRoNx5uFbPGb9m1W6CPchgYvKL04WBwJ8MEJ\r\nrJuV7Ty1LC+6W3/jYDF3zeAaRO1IlF/LTzUA6WUQZdDSWDgzlD3YlEnWhga2\r\n9j2Dw6R1AE/1Pz2798DDpti8ofnE9O0grl4KijZ0sN8ln20CZMBEEBe857P5\r\n17vzKraU9q+8bTC8f+jH7MZ632yOiY44TVo1pBsbQbLCqbpUrsYoomZFu88s\r\nPLzcviB56niJ9gFrDpntvH4YWb7mi2y2oeU=\r\n=jAyj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.2-preview.59301ab","@microsoft/mgt-msal-provider":"2.9.2-preview.59301ab","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.2-preview.59301ab_1680118268132_0.21560452180859668","host":"s3://npm-registry-packages"}},"2.9.2-preview.8f7eac6":{"name":"@microsoft/mgt-teams-provider","version":"2.9.2-preview.8f7eac6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.2-preview.8f7eac6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"08ed2b2d8d8445364d319e1f67fe02a941379c12","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.2-preview.8f7eac6.tgz","fileCount":18,"integrity":"sha512-AxTDWt8Nd3lZTqvBv2pJd4hkg5uI7z69u9DF91YaY2Jh7iScr3WmbE1Mmuy2oLuw5Nf9Z8kQCSjwFLfriDDN/g==","signatures":[{"sig":"MEUCIQCd9IA9uPhtJs16bHWx1gNmg2IS9fY9wBT7hnATXN1SjQIgbTIf4aq9Z2eTVW57vUHzgU3XbP5VJDG/zdleXgS4VXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJyI/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6JQ/+P8sj/PP9lmi62PEfu0YdtvFVh38TMxhgX9B7tBFcmDBNBHs7\r\nRsOzJmYxmRN6zYliXNgFJglJY15OanaG0Eqw4XuoiXffAVI+Wp06ZqIXrpm9\r\nmlOFG0SvUsRzoAHK2Qp9qRUJNmUMNZNboCzWuduGlkpoimOgNvR5qoGfM7YK\r\nbk6TMNDPrXrpB6ArdfRxVY/qgjLJmElLCdxt7OnxWodZfWz1+FSqtGU58u+6\r\nE1nQDojWWDkPNEjzxJUv05EvD36ExmHuu02+UouZY9VtHkR7I+vWIrSjy8M0\r\nrwEc1zD2LWmf60lZzoJZ46OHfnext1VePZGPpcsUPul9L9kHGLcL4E6uWlpb\r\nfR1rot3R+WsZu97kePGl5igChmryrOXWs/Pn47uArW+QaO/h9SADo4z2AYzI\r\nw2i7zojG4TiVyWbUz2vOCEfpI6iIQPKh7B+AJKJbnZswkJrA09d4MjeWh8dG\r\nvumWDPW0i4/W2yOM0i9Ym9H3PoWIOh6+n6neOUvu1mNzDSGR82HvBDaJ4et+\r\nBT7h4ckbNnEwlFMvnptVpZW1uTSS/WTrzcP92jNwEnKYQ2kF6MlNs5wUhnfm\r\n8G+t9O7OD5pweBKFu65l7ZZ3uQkLrHi8iLEvYsmdaMhEcLtAwhoEeiO2ZU9s\r\nKIbBH8NLD42Ze6f5pQ0cWxzfHHP3IsjfUc0=\r\n=qK0/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.2-preview.8f7eac6","@microsoft/mgt-msal-provider":"2.9.2-preview.8f7eac6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.2-preview.8f7eac6_1680286271072_0.8662723257913936","host":"s3://npm-registry-packages"}},"2.9.2-preview.9b600de":{"name":"@microsoft/mgt-teams-provider","version":"2.9.2-preview.9b600de","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.9.2-preview.9b600de","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"54c0f93937a4c8321dab53d847192632e1fb1bd5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.9.2-preview.9b600de.tgz","fileCount":18,"integrity":"sha512-PvtsnEJhLB/y9RX7QQc7T04hONT0JDfP+n2ZfXxbTmt2xKY6doVSdsHSzKJZWsrujpkJSzMtYQDtInm2yleWFw==","signatures":[{"sig":"MEYCIQDX7f8PovAN/c0sAlMaurEi/glfEvDuaiPTOMk4w0W2mAIhAPhnTsnJNrB6rYNEc89s996aJzipHABIu80YYszGLW5p","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKurVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptRw/9HZygfMYq/dUfHB/zF4RCUkuWooCsJK/WOQvyVpMwUqE0ZX8f\r\nvUX/+nLNPSj0SKjCXi5815iMDcL6+wUGHJh+FhDykY/uJwvWeszL7z2FtHtO\r\nPqLZYPcGkNLpBWnrTU2xRkkaERrC8bFcGwKA1bgzl7fOexD9j1E2nFNt1YgD\r\n74RoMM7BmaQVeOb7+8mO1bcTouDtOEh5GGPkZEsLbZBopfDg7cQHHGojo2rA\r\nzZ0y7FIA6CJe3WDPW3nksL+NlGMnrncO9Pz9u6ZQ2eG0KGT15hDZC2Tp3GlP\r\nLQdd+MNL2I/T47MSdsSd4+ebBAbfvZetmCQmT7M7xvci0bXcz7mJzGPRMj/r\r\nd8d2wK9Udn8TpEa3pfokmFfSe0beCaZS6nKmcnW5RNVXWwA91fy7RfeIxVLL\r\nSbV+gY0YCssYM+aUPirImKxK8lBPBrqT7C3JqRtwVGk9A1EuDuXJTfwN23fK\r\nml3+zfoy4GFJtlJ4ZT9uzxrFIKkxmEDXgexcgMbae9Vf/Yr8o956lNZTvQf4\r\nZJYRo53v7yOwJKsGskEZwO0urPtLN4ZzfM+fZeJ5tkBxbeaOFKC6hEx5flxD\r\n0l9XhfbaUVVOG+qZH1W9SaqDzrOwD2qWywfuM/2PueSIAh/5UgaT8csccI/d\r\nIy+AsBRdNeI6tZzXny6SRWjSPiLUrAE4LTc=\r\n=4SIG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.9.2-preview.9b600de","@microsoft/mgt-msal-provider":"2.9.2-preview.9b600de","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.9.2-preview.9b600de_1680534229701_0.5410729328784392","host":"s3://npm-registry-packages"}},"2.10.0":{"name":"@microsoft/mgt-teams-provider","version":"2.10.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3ff3c97bb934df8834c583792f67e4b8f4e4e945","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.0.tgz","fileCount":18,"integrity":"sha512-Ms7ADuKSwaUhYuFMiSAgb0Ma0ak8bR77IVrz3k62PMbxeHtQstdMvlCqyO4fvd94bwn8Tq1DvNIeoq2bMt++Cg==","signatures":[{"sig":"MEUCIQCLL8MIhKFpCR+zDM9DJo3Bhl+WNCKb0H1p97AFNOwTLQIgTA33fwgO75dcbkxGmsNrPHNKt/b6P9wxRpRXkErVjIE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLwHwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtfQ/+Lce8c1wORkSO/lLUN8gmX4Iy4japFVJHD3EHzlndrcroJDX9\r\nwDSm3rJUrgL2pKw1K0ac+FCsMrkazldQ6WhAGtst/sRDFRRM99yyCwlOIYDV\r\np3lfofQeuksG1BJDZA6cv01m/nTjIJ8v1MrodZ6JVaIfMdlPxLPxzdXTg+DT\r\nGgpJ78+D+OQ94GT9eTk1cjiHJjTyN8zdDL+3MPF9k+9BbEOGVNtMCJZD9KTp\r\nr+wDYoN+ITnzFhBDYFQ19FSV/QzyhJefY7ksvzxsQZbbopguF+Bcs6PxPcQt\r\npZAzP1RLB02CEUJqlO1yzZJEyoi4WjqqKa7v39s8ZyJvRhKBt9Ti/xpBBNM3\r\nFkrVAdkk/8FW+mvIYWc0H1pxa2MTcp+D6oHB0yyoVKpK4RWOZv/INK+VZMMM\r\nIrTqAa5Jm9Ha77OH4EQBrHvpiDLNmxEkDqt31gsCk6Urn3q9SFGHZ8yZTKZ4\r\nd0l+Ca7Epah4R/jLxI6jbsIDb0ljrShcGvYNlxXJexxayIgqFIGSFLLtfuS1\r\nH6Z79sAr0busBQkO8raHrVWdwwrP2P4mZHMyBxTPFgdyx6W+pHNqdUs4WUHT\r\nKZzbsOowK/jLtIjKftIglxswTjL7Y16j6aJSeSsOmvRgvdmB71zYuT7vKXJl\r\nYIs6xk/6hgJrHx65X1JnoSMausAqEHBieOk=\r\n=jwi6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.0","@microsoft/mgt-msal-provider":"2.10.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.0_1680802288172_0.7338245364695828","host":"s3://npm-registry-packages"}},"2.10.0-preview.4ffcb44":{"name":"@microsoft/mgt-teams-provider","version":"2.10.0-preview.4ffcb44","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.0-preview.4ffcb44","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c9c435b5112661af81e7fb06b9ed8ce73a13ac8c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.0-preview.4ffcb44.tgz","fileCount":18,"integrity":"sha512-4HYtS3K4orMcRmbtFN21l5jKW0Vk43FVg1nhvUaPCeK7OAcwd2BCQX65qUWLA+/n1zTaX8WCNAG4MNHLPE0tww==","signatures":[{"sig":"MEUCIDbtto/OGAbKtKbhkQNiYnJDO1TMCcs1AvEOjOsdHrIIAiEA+N8VaZAyp/fwTkqXucoO7Gd7umxlHS0tO8Ocgip1zxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLwPYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpu4g//S91Q6sIkkXpEtMIv9xVXFpPG2vmvNH7hEJyxz3rU5DhYIiKs\r\nt+YeS2vGLP3g0yu3UE8i3pl9OoqBnI4f93I/687qEL2Nm/jFRvOl/8c/AAPL\r\nmVgvCObM1HuXrLFabsnWTHcNjFG/td+QL8jNnFLcbwFAIBP6webtV5hQ+Usb\r\nvmkZdLT0Y91aukIzWm24UfKh0UcLVbJBEaRH9uethWzvdzPXmmfUykx4tCoD\r\nLP9HDTuUUVfMMFMCTTj3q95mWZXBZlrAWaQuIaT/n/jbYJz578BMVieTi0Nm\r\nutKXk+IAmp0ssz9ADNHNycbOKqeitHgCahpoDTib1xF0/u4U2b9iqBbieyS2\r\nvKhc8n1YVAxIZ1usfKILpy4KeefOs4WMzyMpavV/d747Uk0+IdVMhsuwG+Hm\r\noRmLrLObwZhDWJl8ETxQtddpGY/nn23irrW0hWTEuZo8mTlXEBkuEEeCM0N2\r\nST3TLUtMZKMM42Lc7sYLI2aFvwdEU2iRVC7dSPgQOBSAMgV8laJLIlmh8POS\r\nwn3zdzsu0PKaE8cJUm+5zOoTcusdbs8pKNHMnTcUxNYutf+XOHmcdkYIyS9I\r\n3GWTwF1nqCv7/tuIrVQ9vdFkiwn7ufqbqYhyaMH2UEG3ZL9hpnghlf62p07t\r\nNlDIoJEcX+Q/lmDZTolVEKzcAf/f2JUOl+E=\r\n=4ozi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.0-preview.4ffcb44","@microsoft/mgt-msal-provider":"2.10.0-preview.4ffcb44","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.0-preview.4ffcb44_1680802776290_0.920416190468528","host":"s3://npm-registry-packages"}},"2.10.1-preview.a1e61f1":{"name":"@microsoft/mgt-teams-provider","version":"2.10.1-preview.a1e61f1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.1-preview.a1e61f1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ff3c65960c88383067775bea251fafa59ef80b2f","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.1-preview.a1e61f1.tgz","fileCount":18,"integrity":"sha512-brhnSSosJBpyH77oqKMeG/6wjffM8Cy/AvRb1/2zVcXStsDCCm+aDI9da1XX5Bm+HcErJtRG8pEThRGmSDuUwA==","signatures":[{"sig":"MEUCIQCDRqd7DSYPdHpPEaocjBOmRI+928oi6Bgg+XRINVIdYwIgWyj5MP9ok4/7Xk0mdp0RlFVuvy93RLyXLBJW9rUlBEE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLwc/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotPg//WActtqotd5Pr9Jt3VU9/ttxb7/V4wmKb2+0x4pL3IBIwZenO\r\n6YFsSvBGIafz1c34Atjy/g+pG3TU2IvXZSz8WsNaKPwaeqQ2pS8LTTYvRfBi\r\n7oQ9s8rshZ48A2OuhY7H6xVXiErstQ2feg9pB1Zuuu6ujngw3UIk4Wn8EuyU\r\nsmSp4i5AuRd6EIOjw0uTyOZPlBRekQ8Zd7C/FL6p7bQRlUhJi2s9O8zyR9ZY\r\n26bkWFbItFLr3DLeKgXWJOUVdq2N4cbaHcfI2Wz6C+2W0eJ0wn/GDCXayh1S\r\n8nxhmpSmIURQ5OPAhpdSXw1+WnwvtCPBi3VSnItO+gVQmLGuN20CV3Lydz3V\r\nQ+aaLqDInJByaZ/PAnQF3PTqiOThQicARentTNmF2GCP3y6b2LhmB/KHXHNY\r\nBL8bMo8bgKiTuU9j65lV5EZaLoY8b+N/JUnVWLfN6h2xhTzG3NHnrpYn9ZCw\r\nb09m1QfyFqyPLqW2ajMc55CYNBRkGrXMRCHuDPLK8DReko00U6sK60GsRH98\r\nN8ud2wSFQSnlq9jpoZ6vQPXv1BOUB/er22w0DQdKt+89FwTVEOCPhIeSadrf\r\nXDLG/G0Om1Z881wyECcPz3bq6a5IN0eLfoSdq7BwQ0B0/oqNqyVBA5WtMm7E\r\npgFn0i0ZH/sjixslZvjZYownEZgxats/7iA=\r\n=ud3p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.1-preview.a1e61f1","@microsoft/mgt-msal-provider":"2.10.1-preview.a1e61f1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.1-preview.a1e61f1_1680803647245_0.7250783339432378","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.2970a44":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.2970a44","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.2970a44","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4cd5b24d8fcefb13f85a756511dc9eb7e1eb807d","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.2970a44.tgz","fileCount":17,"integrity":"sha512-taQlNMb0XLWgo2ZhUQ6ELalgbkjc0iEiJHLOetvpVzK87luBo0f7Rqhl3+yhKq4h2lQivo23PY2hRZOHAQNsNw==","signatures":[{"sig":"MEQCIBVuhyopWZQVgHPlif1wnETq4o2/jYRmB5EruCT0zdNGAiBE4mS7tvQnfofqU8oMUk+mPtMLvux8ugvk4pEgktOwLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOZtgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpanQ//Q5tM6iLFIdyhBpk6+Q6zZ3dHYRXfLD4UF/ppbXvB9tPQYYus\r\nVf/+KxMG4j8O5m0UB7BeEKZ9XSyuqSc8hFct6CsiAlRDICPNzhCdmSYzi25O\r\na6tDxV5Iy1HPgzbhX/R6L/0J5ur+F7oDImfnF0x3VVjtPUjetK2HHIBp8YRH\r\npIIU/ZkoLb6+AjHhlzVk3ySzIwKrOQ26JFj5QjRJTrP/e8R6AqCCJiRPHBs2\r\nk2m0XVnHADljSH+y43/SUXIoATAiixZQww6sHrGdHSO7SMQRt58d+ujSX1pM\r\nIIDk3Fnskl2ukt7nLlG3MJo0tyOA7XCDzZjtwCPQaLCixLsQSz7nsLee4ppB\r\ngbI329KmiqTFytrNGAWqc15ikcHEtCHFgC5HhhMnF/YYUB06YvoEGO4Ay2d5\r\nJ0yC3an7PqPgkSePQcMYz3bglFfNvRCxw1eaBlGSUBUZ3f7sRo8LK01O9PsP\r\npLDwBRbpwt3ltwCNhBz4jhEH+2fMgV4ZFwX4EX9zoOHPZ7H5h1SyqL5DgHbV\r\nETZ2Y4/CznokttKc4p2fITRgwWXzTXh/NCqITkT6LI0H37r14qhjPLVaa8Ok\r\n+PAik6XZb8iscgEAhhBX8enNIAsH7v3WrCQRoRTQzwYRn9gf9cqXZIO+0g4P\r\nra2MXy3eMxDArcV8I84L5f77DTWRkUUNp6w=\r\n=LMMI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"2970a446109b79f879c53f8f646a9ac304488ec4","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.2970a44","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.2970a44","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.2970a44_1681496928510_0.8516418769364977","host":"s3://npm-registry-packages"}},"2.10.1-preview.aafdc5e":{"name":"@microsoft/mgt-teams-provider","version":"2.10.1-preview.aafdc5e","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.1-preview.aafdc5e","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"8760240ed4fcb7e597f720de9d5848817f853d02","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.1-preview.aafdc5e.tgz","fileCount":18,"integrity":"sha512-2Qt6u30eq0v+ZjJhK23LjgsCAoWwvegVPruN0bTE8TrYlKvGo++dJZsezBILP5nKu1l3kIJq9TzviWLnqkqTRw==","signatures":[{"sig":"MEQCIGXFvjWBIlwyBPSrE8RrUNKb8gSPn0wURYgYRTjIIgRjAiAgNUyV51bmuFxmnNZMK0fyF/nlrZV/g/ODav+sp8XDHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPjaiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmprrg/7BNGfrjcdXv8nfRhuoUjDW8F5CyDaMv3HnCMU1N0lM5FPeRCq\r\n1sIHKE+Bn0UOSyWKiS2LyOdOIQD3lC6ejoZBKUHS+VOOAjIEePhR6pO+V1oY\r\nJx1rrz4gGstDASyji0EtFfvI6Q1ze5IyKW91k2pEwiRhVgkFKKzhWhoJmn4l\r\nkJWmXhCOKLOGNBSPIh2xmCiYl6iDZyURMfvdiaLDHI/OH5uQHWtD192d8pln\r\nJmfe7Lk94xwWaJHJ6UsQppJFRViKQe6ZDjwWyPTl84W45oeYVFxKY+PhkYbi\r\nQ8Q+Z/qpZmZlfbC997wfzsPhmob+0+8QKUcjliGEoKSfFi32dsMj5rDf75rj\r\nL1vMYDX7ggz7fiYJnRYkCfde8qj783qSsjC+u25EAfav93FBugC8sEXq0RVV\r\nbZpt7Oa6ThtoHn+ulU7brpbZ6gdda8CFV49Zt2+FBIqneefIdzYog/nm+ex1\r\nIBQCF07JvxzjJ25NTkeD/TEQ0DLEFMY6by4Xz3Re+ckbXVxquPj2FYvsJqd8\r\n32G1kPxlTjN+r1NkPUcixntcH82E2ctu7XQ5D9YOoqUJIxamp9ZrjgZcqUy1\r\niumcDGVPSEFkYUrmXyuT4XJDoDKvt8e6iUMra72+ooP7kr06KvSUjZ7z7A2N\r\nuOIrfz2vPADlRpkBGi/MswaXSDw7X1kyzos=\r\n=33lK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.1-preview.aafdc5e","@microsoft/mgt-msal-provider":"2.10.1-preview.aafdc5e","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.1-preview.aafdc5e_1681798818466_0.732970656141898","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.ae05e3f":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.ae05e3f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.ae05e3f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cf7cf715897aadfccf7ed56f19e67453497a3118","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.ae05e3f.tgz","fileCount":17,"integrity":"sha512-Lgkm2ioNRTSwc+mh3tGHZ+FuvR8ZS0d2Ng3YW/pRN5JskMfM8OPtb5dGpv7XGdY7c+Dug77agtcBGdUifdiL3g==","signatures":[{"sig":"MEUCIDU6ArGxfVBZnkj/uMIFrN7Vfibmhx2aB5GBZkm5MF7kAiEA4PsClLvjtCcW5POSSWOVQUrAkMU5Me+r0nbsm8ryKOM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPjkWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmom3BAAoQ6yfv8KXCHAzbtFYPlqB7GCLwaHcexxPlLcAv2Gv7+6I3cm\r\n4m6k6hkf53bfJaTUYpsKORAltenzkKRs1ML6EbCRPqZ/9jHdB1T90HurHABG\r\nl37c4bEjRC379AnV2P9MibCjEgIt1IR3MrBOLeoVJ63XB8lGrtXajKuBdpTe\r\nYzD/aAFfwZJs/xm8OMgiigReCt1VpRczT315jonyoVUnvA/HCORYeRH6AAqJ\r\nm0gqs5Lf36elleD3WuF5VWboS3Sz6ghp1bpKcs2DukdPOsxv/+lHPwv2FWnb\r\nPPM0jzO3mLqm48o4D3P6jdHr2Oy8p0SQv+NX+S5c3+ASRd/KabXm1/yvkmxF\r\nJrLen8M4XXzlXm3+kD/xQTpcw44rFquf5IOvibWXTA3hEGFEgMIpqB3TVebn\r\n/R4iXGMNdtRDB8z8MR43chF7t5CWZHZrSSZU80FkfGd35Ics+76MJ3FHGyRw\r\nB911dupPgIxbZqxcClJ8zDAYYQ3ADwX3UFRxyR/hRPSOMQCXLkWqMlTo7fr+\r\nXiEnRNSbza9Efe+ZReB6b28OYQlpa+eMVkDW76Odwmt0J2GIY+/Vzsk8Z/9O\r\n2P7PiE7nlkCaLIUHbbEDC3jn+acu9+YJCs2lM2rzQ3RjqSMCbcu9o1S04kXq\r\nCX7hpglu7C+bnE5jZWufA1vlajBknsMNeic=\r\n=zE7O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"ae05e3f3787de92233da3196c1481e39b585bdef","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.ae05e3f","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.ae05e3f","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.ae05e3f_1681799445923_0.7505304270392041","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.8d2c8ef":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.8d2c8ef","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.8d2c8ef","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ae473d5b7c5e5c0aaf2f13a3dd13acef8bc84c3a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.8d2c8ef.tgz","fileCount":17,"integrity":"sha512-FY7vbns+K/JYBUVcpShxhxm5bGwF+aNpJgXPX5rAvdp12G1yWYpLdzD77ZQPUbpNdQmknpuVUlWodnr0FBkogg==","signatures":[{"sig":"MEUCIQDvoMxfbgF5K5vqkQYmkyGh3p4V+J1rdtuE4C3UYhxMOAIgDezrgBsF4QLtlfiEQMT48MHp2p1V2nNLbLZslPz18eQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkP7O1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeGxAApCAHAAXjvTcE4xr+QYZMLgJ4fIOaGxPQh2lrLd3M+nAMaLkH\r\nTPZoZRel+kqlhOjdG6tmsE2FJZnaTy3EmZi8ke9FNvHLZ0i1hDHcf/Dux5aE\r\nR/qzsjiZ3fHMq2RVmjPFsR/3h0pJb/8i3IOIV63g98Zd9GeQauP8GHXSJbp+\r\nfZ9QwB2rXnGAQ9ObufcHo7SYSwUhyuel5HXW4sAIq75j5WY2DGVQbVqyi7y1\r\nVkoF/BRng1Z+ClYWrDumCaDBJBvUEjv0ScAIwoOzeAbhwmPX6VgF3VAvqjX9\r\nL8dBvRWjKzvqcDy7R0Y8EyHiwu1WtIcSxVeKG2a1Z5MzHkOuPaIcgAEZ1Qgb\r\nwAZlpCxuY0uDoNvRND1Z4kpFxMQcyv5y86qHNXvKO3aS+W5kop1kG2nNlF/I\r\nkYt9Ws8YN8p16ItQ1WEVDoOBaNhJwFmKOTgJJP7yU/9yiAqUkiOdaYq32K+5\r\ntZALdZ/CuNv2QqXqb4FQEzW5gaG/no5KjMMFIa1a6IrEj+QUgyU/bBIbMjH8\r\n24lPbvKwKLUVuPL4ykO3hW1QLCO4nm+D3L+IpwbMB/22d0NeUycchuCNDN/V\r\nV0AxA7oo76Y9FvgHIgbNV5cH/dorH4R73vGiRT/sZnrL3VIuom8swBo/7+Ba\r\n3ys4tCnwJeNYNJfVO4sn23gD8Mu6nC7ichQ=\r\n=bfCq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"8d2c8efb7713ee9491a4a3899e3290e04d598be1","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.8d2c8ef","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.8d2c8ef","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.8d2c8ef_1681896373152_0.4568523212357183","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.40b87f9":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.40b87f9","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.40b87f9","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"49651d4cb8d02009cf3d1097817c59666f605f76","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.40b87f9.tgz","fileCount":17,"integrity":"sha512-FHGSktuXqCGHoqI5RS0RZeTvxaw8a3Ed3vaZb70ZTMVGHbOJYg/qVk52Q/n4Ktt/+ja2TjUZwG2BF1PcXlJS0w==","signatures":[{"sig":"MEUCIQCs+lXDh7rJ//cyYE0VNm9ocKr2AyKEB02DmeWC/04/KgIgNWozf/OmUgXLihDzLwtLH7mGHURsdjd4/OAQW+FajkU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQT/OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJiQ//RVCSjHglN3O5sjKsYKwQRaVUOT3AkwhZWHEfEJzez+5MHTa8\r\nYF2A4fOG/D9jXkCZr7ZopHWQC4C6VSRiQL51vg+RHP+/aM+BEuFTxxTBDkX6\r\nSZm9mfkcyW0XNifGqesT6V0VZ0bTs4klVkBDK2pfF4FHgfziNgIrIgLiIhfQ\r\nKKxMTUN2xQu8g6rHG9p8RQCINAZXbeLpvj0Y2hHTaPahKRh/qxXpMDZ2ik2S\r\n815h9gsv0hPKJ5B0CF7EhzWQKLXU4uSBqBQ9sRwm9fKmm4xn3CCrLaTVSbCW\r\nF/xjDYR4K5cCSix4ORoKvaqlGreGEX0GR0Hf9NhReyKltRLhTGvHN9pno27t\r\novT+rozWywj8oAZ6zhIPugLffF8YYwW1vdgA4uPHrBKrW9aa9C9tC7lVOm76\r\n+thzVSo78Z/H1Q5HwP+5RkMHyYbMs/gchbVhOAsw/Hyquno/qRDHMxLyIhBJ\r\nKDjMK2iJn4OQQJNMCZtt/iGjQrBzZltmNUe/CYqb8BuSUyM1WMo5Mnsy4Lk3\r\nNSi8ZftAs43g4KRsAICKdZ5sITE/Kzm2qHR4eTMdjHBlC9wB+t+wC6aJPGdi\r\nfRDsk8DF4t1tVDoRFUniVySW0dNb5x4s2KbG5aEM2GSK2ylJ8nLiL07xp5FR\r\nLPZD200uNavYCHSkFeb2vLaaFqrpyRc4tag=\r\n=g2Td\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"40b87f93075607e64e0dce5ece8484ada4243f31","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.40b87f9","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.40b87f9","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.40b87f9_1681997774555_0.7569303385973958","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.78d65b7":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.78d65b7","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.78d65b7","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"975d1a5cf4c451d71d8460a1d1337c782d7cadbb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.78d65b7.tgz","fileCount":17,"integrity":"sha512-c//Ljw+ARDc/VAd9jnLl1zwqgSBNRmY9aNY0LdkbmpVQTloRWAKRhY7HShZI1b6YVOfb5nH9B2PC0KjaptDsFA==","signatures":[{"sig":"MEUCIQCoB55r6FyQQNUlW1JXpxXEVrePL/lK6dqmLKWnrj9uOQIgWESg+J8CoP9zrN9Q/fO3oSye6SPS2U9C1fN/LDTzzNE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQYbPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCXA//WG2HmT9NrzzTQMqVQ4t0tKuNAONjmIvU80CZ2JR6mxH7EGoF\r\nB7zAG7kvC+yeNz+UZ+bnQ2O8+406phJ65PQ13rVbQX101Y171PiMy1bIJfJm\r\n0Cb7pZ962CUqsnKr8ERsiFP1H7Orv5V8IKoCM6csErA6//4OE0SN1v2NR/jj\r\n1Gl7NpXWt/cWGZpmJt6ZzZsUTLvPpaGV/4A3EkmrNwEBh+ZtXzuNOuoXCEit\r\nO9CW/OLQfivbYf8XFTqQqhwaT5dw2BLYuTn5lKEbG/ycrWMOOESJCkE/ciI+\r\nYbwLFRbY1eE4JuyUPl0Wzog1wIQ2VPAs2WZ5d4QV9CX/fg6woC15lfaOkkNo\r\ntXhapNGz5SYmKgfxSpPzk8o0q8qsPy4g/irBgD6claKyniYdIkVH07mSsl5K\r\nf1ff3VfDb3SW5l4BsHXsWHffiUxTjNT0ZrW+x/2ICzBBPrsJ6RjvyTz0Fv00\r\nopnnuUFxvTTXZDcyVEUuHwiG/P/QkTeByL6vHw44+mbkOqsBjd+8j+gomyKo\r\nIoqOucCx6rIdlCm786u/g9k7KYF8MHglz3MiSMMCoIJgksQphATCbAg6hecD\r\nXwDzim9e1VYcsyT1kZB65g9zIZFMHmhvvPS6V51RyEJIqNOdWgf2CIkn89am\r\nhD0cWCTOUExuGeaUyc2jFbtd1RhD7z4D7YA=\r\n=se5a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"78d65b763866f1d5e94c8d245c6d4d2d17de4203","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.78d65b7","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.78d65b7","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.78d65b7_1682015951431_0.9306802373460707","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.7d785be":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.7d785be","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.7d785be","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"9b4481ad830aea646da6e7e1b934e83cf4cbc8ed","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.7d785be.tgz","fileCount":17,"integrity":"sha512-4SwMiqp5itb2iPHsu9SzBL1L5ZUjqqpZtY7MDTXPNj2LdkvgFWDwr1h4gLrvc8SVXG7/IkeQ0ZdNpwTL15YNRA==","signatures":[{"sig":"MEUCIBq4r7tO7iGHDSGq+bcQCmFwm5SeRNBcFW6DDrQuBRFTAiEA2Q3JCYL1cfEhsq7+ZjqupE+aXPvtJxUcWob5rP7Zk0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQbRpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGXw//cbokBOG0qryjIm3H4hsQdihm2/smZ1Vk2coIYxcuKGzGQzqO\r\n3q3EfYxUDqSC7l3KD3wnhf9UZdG8/U/SDoOn6+3TIY8+BT+Bl8uG4ao/PLgG\r\nY7gdtZnfljo4jtG8FR0JHO9t76llnXB6aAoCQk79Uxnf0k3MjcRuN3wDemcD\r\nDxJdMiUDcDe7EhxM4KUharKFKWEKDmX3egG1O0ulJX8s9VZpO0Z8ipSqKNWk\r\nm/hsAUDsDxll/ouwxtgRDjmmBDANNRRjTyR0gUc78ZW51vu1//MSbcPRDj2R\r\n+3zmdo//uBhRIZ9dL2pxk1PAe+d6A/r30aoPNDfmgup2a6xXlcW0k3K26Znx\r\ntFz7Wi0+KGIQhd62jttfFEGcS2Oe/RFHppqse6hIZ+FpwgOM4ZeATZnIq0i2\r\neGPj2+Ntqmvkh+wB8rNniuWUzI+wZxJd4JezaNdmCpmhV2t4oZbnlByAdR66\r\nTZzSk1HqpoxVIqYgZBXy5dr0Otb6Wo4f1a2n172THcOk8BIcUQKII7gos6VH\r\n0JBAppSkB0Y2IX1WRChJnzS4c4Set9ZQLJ6nTdnPOS7BXAraarYxiMJQTArq\r\nsPYXQcraMzO3ueS+7lsN+OMuybiuibKtNjg4u9bkCftM9gb8mMZe2Yi5naii\r\noEGwgBkmqB5RZV20jkYNYoZl0uecZNOOoa4=\r\n=KH/e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"7d785be1c8482b0a8ad3f9444537c5c76eed5eed","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.7d785be","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.7d785be","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.7d785be_1682027625538_0.6747651702210271","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.45f8631":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.45f8631","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.45f8631","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"e67e46b69024bf6e3a84e05ade1c7dd6013c4a39","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.45f8631.tgz","fileCount":17,"integrity":"sha512-C2d/k+gPcEpAqy+kzUaZxLXFpGVz7WZc7GDHsXRW5kpfU6wxyoRlQUBhC4tQIxnp8tX+m1vPHiHJv5IdzbuNJQ==","signatures":[{"sig":"MEUCIHX7pUjG6sRfOcL81jwUgJ1YiZ9l+ituMtWjHrZ2JAsTAiEAzZCTdIc95RJ3OjBI4/DtuyEa+RoTHN2V/rn3NxgUWn8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQb4sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjWw/8DFw30CAl7Lg7YoHg/etmRwHiEh3dwWHa7MfJz9m71JlQ0RP3\r\n6CmMiUW7i5ePcnGZP9B1BCDykDVimdpAyrPPJhzQtEOExWylN8i90WAL7SP+\r\n+diIjUlVEfs4LviA8x4fXdAqhXVLuiQuHOSeX2m8bW2T7csqC0bRhtoef1jw\r\n63mGisJBpLEaP7AhOvpO3Q8mnGArL/iV7/Fg03MecOX+tMFeDLiH0vexSMBi\r\n+cMwLSaEnp2R1dT9NMmq7e237OyZlW7cqy8A39uSmMP/aHofzBYlYrDMDBlt\r\nPyDacNS90XP9WcVPyf4E8TrItZ1YCXilF5XXaP3ommT67/1kBDiAPP6EnVl3\r\nnWKKwWbzJY9YicedWmzIcbI3KL73puI3AA3zaeNIC+A+PCUOsgaBAdjk4N+e\r\nJX34b7DwRfypvkkZ2fWKilVNPGcEp9a8pSsLMksbrSEDCdCBCDp0hBh3pM9q\r\ndW8W3W/Q2InK7zrFgQqRtKGecflVoRM5RKfEHx5oM0b7oHB1kPe+nvRU9n/I\r\nhu7ngFDez4JdtXz0eJ2/OqVK16IY8pUROGEitgM59j9ZRWZxlhVkhwaluSQz\r\nPuUvzf9KevHl3BtmtOhr4sA6tP9Xg65rYaqq94bnHOhBkU//IfM9n0oYRWxm\r\nHPcXp59scmNrTMHaqSlNLD0a03c0QV11VQI=\r\n=tIRG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"45f86318f86896bfedabcf98da5a7721a24b400a","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.45f8631","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.45f8631","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.45f8631_1682030124373_0.8618609699734106","host":"s3://npm-registry-packages"}},"2.10.1-preview.721dbe4":{"name":"@microsoft/mgt-teams-provider","version":"2.10.1-preview.721dbe4","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.1-preview.721dbe4","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"cdce577253e18adfa606587ce4a9c65749f78404","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.1-preview.721dbe4.tgz","fileCount":18,"integrity":"sha512-cStH4lJv1rsHMM0iAAQpT1zpdlgRu+nxMl/m85ROPE9r9o3ZGwZf/hB4TX8/gEd5RxwexLaXjsZyZuOfyrZU/g==","signatures":[{"sig":"MEYCIQDmxTMwP8C4BDhGa+L6l7u5rb0yRJh+7Ji3r+/ZmWowDQIhAPYR02pUIW0qXr6hjfDtlAXPppkhzcVQNjQu5mZnR1pa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRkxJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrykA/+KrKtfkIGeor62JZkfjB0nn1ciKtSylnzuvt7IyhmkyiYXL6J\r\nhRRJ+/S9lzsewXRGIfSnez09eHS64SbNoSkIIgW/+D+V4TsuvWCKRyF3cOCO\r\n5NmvKmDyroy/X7vUczMslehS7AA10rDCII80I56wvOni0V2PyzuxD9xAkVX2\r\n7YN7LXMZLVGjyEL0u4DCp0Rwg7zXhsHFU+HY/xd5aDVFZGoA5+QpzmeVvJEq\r\nET1u7A1xqR+hhJTnokqKoLpjhZeK9neARsmU/1HzU7Mxynd0ToD/pTCOpOh0\r\niZv5ToYw36T2rJn6Xexf6cQBSlf2sZkJtGEoMiVMI5qrAjuF6p+1ggTVHj9F\r\nzuNxbtbBzAUc+9f4SKhjdOQ1SZW2dBRflsWUWx8S71Z0b2egOQrtEFwo2aBf\r\nhb403nP2nfeW0hlOa3D7wq72wll8KaqFwSjc7Z9P5hTFfAmDKQy9m7oPaxxC\r\n9Y7ViBXCtXvnZKMwtifa36hbgUcFApD1hYPAQKNQOPjlBiL4+/elHV4d0D2P\r\nNDutwUzn55vTR7FSugd2JLDTfZ77F5bg5p8eZR53HOfRY4QKfP05heLGzF6K\r\n8P04KqlQW8z4h4XhbEvWvH2RQ+7GNg2OcDKgrRZ3YfJhiAnfoLqNmHALgpzq\r\nefNMI4+J+TTMRG05OB5YD0gvTM2Hb5YtLwc=\r\n=tvBt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.1-preview.721dbe4","@microsoft/mgt-msal-provider":"2.10.1-preview.721dbe4","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.1-preview.721dbe4_1682328648895_0.6688066222812605","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.1ebb02f":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.1ebb02f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.1ebb02f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7e40ce5eaaa23e8220d024c0cbd71aa2aabdcaae","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.1ebb02f.tgz","fileCount":17,"integrity":"sha512-0hNBIQWDKc0HkoTj6LTG7FDRdOIlE53ek8xr7JnaVIV+oM8ZJPkU7B3Aa3/PQcjNW16zA1B1e9tnrsmlmvrB7Q==","signatures":[{"sig":"MEUCIAc3bbMVgwurNuNGBkYx5rAEIOCc2WH4qKMhS3N+aTtdAiEA+rOL+WeyjKSq/+rF08rbWdxiB7taKsEHrQuAuxeXMxE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRn9lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqarQ//daEDIaqB8IVchhiuLHrPAwJ0LKX8CwtntBYY1BHKH3lx0+ne\r\n9LrbcHXcOUSY/HleJWZsRUs4mqMCvchR/nlD3Kkiod7hk+g24nH5/zi5Its1\r\n+lD/vym8KzfJOZCUCqu9Bw6Ghimyjlnhp+DabPLIAhHavMnQ/4trqjLXoIyR\r\nqY0FkRRcaB51eBwPXuPrEnUBo6EJtG9tO8qF8QEJpJQJf/UeZ4PiZ3OfXbXC\r\nwFmdcLCh6o/EipT0gLWNKVhvcNhUNlT9MsSS5th1uJ/SqdaeIqaf8vqYY+qs\r\nZGyJKhRpeRtWKEdnyDnwc6nU4xGkoqBLw8DFWU+HTZC+MFnJQUvnfNYtzSrI\r\nxHDQLgkg1AecB96rn8eK8RNl9RWYogr+E/q9FafK/UIQiXbX7bJs1NAyESYU\r\n7Bou1mCypIsWEREB7Bkpu2k9aGJM04fIKonPsdSjTw9Our4OjmErHBmu0laZ\r\n7reXVlyFNXzuRX6NvRxPeM3brkPeVTiFnsNvp9sDA8r22H7amclkUlz2X3cl\r\nERIqM/0l4i3m549Cvn4lm0ecDomJTfnmBt5MpIlESFG+r0KRA0jCei0mOrRq\r\ny44AOb6UTSTR15MZUiRNgDVUFR7eEY8gusLlDuTZQpl/53h23HCh3xe9kf4K\r\nJYhraKEovEgjVVYRWfr96ddDI8jLFICW3pI=\r\n=tkqf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"1ebb02f5f90c662316e2b9c457b635257b2c98f8","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.1ebb02f","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.1ebb02f","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.1ebb02f_1682341733686_0.5910540755989084","host":"s3://npm-registry-packages"}},"2.10.1-preview.c60567d":{"name":"@microsoft/mgt-teams-provider","version":"2.10.1-preview.c60567d","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.1-preview.c60567d","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"6d3099c6dc225fb458e6b8879614400d25219663","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.1-preview.c60567d.tgz","fileCount":18,"integrity":"sha512-KOJpsPxfDLdmW4rpT8VedpeaVmHPx7mqG9iELK8/OoznqueURt7xRNKcRVpgbgBbwBtqO/JWi3DTU7fkVAegrA==","signatures":[{"sig":"MEQCIHuw2ZELgjhmtYElq4Z/0qWBwgxQVIXIajqVsvnQ85TXAiBpie4wpHDdpPPtkqaiYBreWPRXBsb7zFrD4prK1KJgpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRtuaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrW1w/+OgF0xmikF5vJIst7kQbSCQ6eBZ8lZJmgV2MgOKYsUabJB/mr\r\nu7q1RHmGGy+bR1LBzLEpp63r0ICYipbHG8hqx+KGn+mW+e6ze3qVdXGfY3wV\r\nfzeN1Ifi16yVY/Rtfk1Z63aAMP6TeLLndP2Dc4uK9BkTdFjAmSS75QBMDpKp\r\nZSCB/7rA9coG1lYxyPGh+T/xejbZRpDmzX7kY3NnJ7vXFQw883lTbwnEy6zw\r\nr5X6T6e+sP0vbSCCZM+LJo2U9eMCrLB+BnN6W2JDkkxswpFnkxye6JPqKbLE\r\nFpcghnUm6xO8HYWFI0rCmUasXtEuOoLHk0CslPCXrH4k4Y0eqBKzmRJaIwdW\r\nILZyjFC9fILBc2bLowiYPmpEflybqbDL1NFgOi3sYigQ+xKBBbxqN5SaewGy\r\nnxPKnQoiGjGAEyGnHOVUdZ8VK6Byg5JpdphfFrunNu1LeH/GW3dER6KbWTF5\r\nevxI4VJt57iDROZQxKMphcqBqByEGhikQ28zpm2/pw1vNkUXoCIgFbj91Wza\r\n1Hg1MZkbGtWEbhSmvrm4ArPSOHhoznxz4XzzH9P+fDQPVzO79os24DRk2k1L\r\nxlaOOmEBkfDfxo/4ST4Psv2QOtit0GZbWlquvVXvar9FCQ2D2jCyGmRlIbFd\r\nnb7pLAq39uvXX+fyJFmPLPitlRr01y2O0oA=\r\n=oDBq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.1-preview.c60567d","@microsoft/mgt-msal-provider":"2.10.1-preview.c60567d","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.1-preview.c60567d_1682365338618_0.3527221019345439","host":"s3://npm-registry-packages"}},"2.10.1-preview.711a233":{"name":"@microsoft/mgt-teams-provider","version":"2.10.1-preview.711a233","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.1-preview.711a233","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2de42d31e5fb92a5c96cd1ef3dee048fcbf9cd9a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.1-preview.711a233.tgz","fileCount":18,"integrity":"sha512-j2rll5U0acJfunXCfSSbNml4E3qkYVh0twABXdNiYte1ts2XObV4x/SVfIpKjUZjxiA7EvKvbIHyazCxqiwdLw==","signatures":[{"sig":"MEQCICp74o8iMnKM0+Sv9+1EwKiwe5EZYNg6K3zdOq90peA4AiAr3P8csWhbHripOX1nMcj9zUbtOM28YJbBVSEO10YIcg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkR6DrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQUQ//QZa1IHfe3BzDY9uSe9lVLsgFMsEUKaiQJm/UiFeJyuoLWICS\r\nrXY/Bjm3K/PilzPRmaio02m134VacAX35lVxYfx+AOCRz74MLoImqGGzz6k0\r\n6rN/D3FuENHJ1SDE4Y3xTEGdKk0qjsBf49zLi47nwbV0RQRUpLPQhjnMa1Vk\r\npp2sazxcE90Li1tEQZE9vvUfmkp9aNKKBVCxb3WCmF2k7WeZB910mmal4asW\r\nA2kmaFOP7/6W69iVBR/6JVllPdNrfMPUdWwQl+sXBRKbxSRotqHGcasC0KRd\r\nKfz082NuBVpNgc1SPn3V19+HFuUrbHX9RbxAJwUJWskzvSJKj2YeELlIZdLV\r\nE1oYpggTrg3sQXS9GkZAfzP19hNRi/2NqKVk9gub9yakeH8sPKMkMxZdFoOl\r\nxpbvTMz+ujxa5+y1I+9etiAcL6l99tsAQ1Nls/NKuQJ5Fgz/+yKomGHtltDR\r\nrA/u3SwIX1lWVwhxmDNbVnjiYad4HFdZf3VJmUv0ZZnyhyx11iTdOuwfqay7\r\neGmq35zbkJ0KOhUPIuxPZUGJdPSxB6TJz2kTFQR6oMMr9YL6/l2AHGigpFIP\r\n6A/j8VIDvVpmv1dsDsoBvsLO5qMeYyfA1KCNtuwT46JfJyvGUPEll1IcpvHP\r\nvTrbJf2sGQZ9HpcwkRVDMjCLGEv4bVTCGYo=\r\n=YTr8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.1-preview.711a233","@microsoft/mgt-msal-provider":"2.10.1-preview.711a233","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.1-preview.711a233_1682415851452_0.9856606299362463","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.fc4f1e0":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.fc4f1e0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.fc4f1e0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d688306899f54488294dbb2564dbafedff6c60dd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.fc4f1e0.tgz","fileCount":17,"integrity":"sha512-NurSL24HUyEsujKr3KNC7i3TlKLnSYIyXRguRPSPZASURXxm+siQPRRSgmH8/XnnEQEkJsguPYce6EFRZtjBlg==","signatures":[{"sig":"MEUCIQDyVa/euZbPnpKhJA+PqEptAIcpjc5hxeqgOG5zf+l19gIgKKRHc6EhJZZV8AWuX5/fet2RkUrSpAVmTaj7v6BTf+Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSBl8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWtBAAlGDpZuNpOnKLz1PMW5voJ+TGUmUBgAS2MUTautcGvNFuJyKI\r\nqkbsgPl0Ik+BumVEWFkOS/0n3cSYL3bmhsaOR1lAjzd0ZhnLziOPfwtzUB5M\r\nldpPBmjslbl2ZSukxc079geV/3pXKPFXF++CmamdpiFDrSdUVa3JsxtCb88V\r\nU2pKS//gslmBYou2yGOSoBuLdyrADW2+R8VwKbzF+dvxPUMsDXeafRn2Ysqb\r\n3Wx4HAdWofb4A/JrJAGi7Z6UMZpqKsn8BQNNmFsZ2Pv0xjAtR+xY5rdqOx+r\r\nXW6xRpFodBTuds0+LSHSNtgNxLpmZlMZ6L7lPnPLu97NUMNP5wHlcScZmO1x\r\nBJHziE5l5kf+RHf3s7v5g0w+ehXUEeboOf7JxayeHZVjq1KBrXXjqwnemgKS\r\naaZW2+fqPdtfSNxzJkGyBPqZeoZDqQwpeU1mZEPBl3GGWVGtjQZ+uUFEXqAP\r\nVYHA6LgqFWllkvhYeEFUhjo2Lf711stgCs2r+BzxGsgRPweU7k0mVNsjso1Q\r\n9XYeB2t4/PD5jnQERzPJJ7swF+mS2g7FmrNmMUnj+MnESwFFtjnV5ZgebFht\r\nTgUGAkGtD06oNand8dL9h29rQeg0pRwT4uhzkhl17P1xqTnBvbGl0bAr+0tW\r\n4Qei2AwHZWWEDcWPiZtCM2khBwjyHzv6X0E=\r\n=nPJ/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"fc4f1e0aafbb9b8ccdd198593190b2b5dc2792f3","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.fc4f1e0","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.fc4f1e0","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.fc4f1e0_1682446716475_0.6535515134339767","host":"s3://npm-registry-packages"}},"2.10.1-preview.274af2c":{"name":"@microsoft/mgt-teams-provider","version":"2.10.1-preview.274af2c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.1-preview.274af2c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ca7c5ca1557feca0b59db841316d05e44e75a98b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.1-preview.274af2c.tgz","fileCount":18,"integrity":"sha512-32c17MH14KNnDIpi5U4Nyq3VrFUjWBzBKPRVEZRMOAxwwb3HHMT+5aDGLOO89rpNlksv/KYuEqYhtWL++a3qsg==","signatures":[{"sig":"MEYCIQDP//++bsU6/Es4tl9cD0Zu9Wl8hyse+DSK0kKXnNXIZwIhAJINmj4tduHrSjtG9BWealcMguZC4RvkQcpJ6N6cGew4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSDdVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJcA/9Evsy659SiTm+b/5U+qJdFUaAZC8TZfPACTi4SmkCDeYFFcZ2\r\nq1/juwHvm0SkfaxrUfF1w/8NU2CfRFYwDanAywTBlCoM47rB+IaIprYwYa4a\r\nV1YkNM2F9cNf0Ukd0x0+A56kEuyBj8y7I/QxXV45P3nUclX3zsXKkamsTriQ\r\nWkPdo4w/PEq7hCMCNUqS/712K7AjeVZlBTJuW2fIer9tWLYkqFKxd89hMpix\r\nWaAQd2KYmorTsCszMijFMsRz7cfdfqVX2dHozNsW7aN2o67Sde8npopZj4rV\r\nAbyiRwhVbTdmo7IOSzynK2/UT8JhfwT9NVrq2ZsxYboh7ucUHkROdYvv/viT\r\nyXxbC2mrC0AXvMwbCvHBHadZPOANbK/qiEE8Zfr2DEYrWdqD4wYnjGZq/Tay\r\nKjsHTiosvbr+2higYCESeGj6MnxIUa+umlXueMW8jpjrc3T7Z2VaKUpsByUs\r\nY47Azjy/qhNUV7wAA2sSxjKaEhUYSfb/TgbQtN1V4LxUU1vqIonklptiE98F\r\nVelcjJBnpXglvY0ZScOloW2D9r4n2oUkUbYesX0uDrIuQ+ZQjtdCxkUIYxk/\r\n2/fc1uVE9wxrE5dUVZvHCXiGau290C9gRQ6stQB3rpRmOG+7wxLVZbHAdNvZ\r\nQNLyrfWAgQEFHCjWYvkz32tZuARtIJmuonk=\r\n=b1yL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.1-preview.274af2c","@microsoft/mgt-msal-provider":"2.10.1-preview.274af2c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.1-preview.274af2c_1682454357526_0.0037966888513469854","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.c7bf047":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.c7bf047","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.c7bf047","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a24bdcdd369defabc89af16e0590b109e32bbd2c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.c7bf047.tgz","fileCount":17,"integrity":"sha512-tHDqZzJ9+ARoH87ZJgYByBxrhPEU+usMti3MHgombvYcgjmC2g7+bqTbPdPmrVDF96uLncXWqXSmI+X5v/VDzw==","signatures":[{"sig":"MEQCIF7rh69pRr0XNqAbv+RPA4SezhI8PdQKMeW/UtyZjUC/AiA41BkOR/ZruxZ7HDzgkfwpWy4gCi3tk0xA1PxRkUi49g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTBT0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4CA//d9I9oWoQC9ZLJ7Au/f970fB+wOA2id1Hdi5GTR+SPnOd0flK\r\nMXd7WYpB6h+vPpl+r2uylFflYeQUsgU07UcQ5ByFXryHjcPUUJEuTYc6y7q1\r\nDsvGjt6Lu/OUEvm1ICQmosyCQ62EaCRuJuhmzPqQakr25YqXvWWDWHZw3VeW\r\nUVT0UHHY7FEexui+bOw2D4WxKjuYmCukNqFezdMc24197wex1OTjCSe4hIKu\r\n6690lkICKCc37oUid/hxWaN8qNG2drVaVMSfPoSKQYGci1Shr2bkvK0Nz1Q8\r\ngz/Yj7BSdR71f/sUdneRxeB/tsHwPsO+CpwNWtGOmTqBKsF8V070drgOGK3J\r\nFsKe18VT6j0fmDsGu/qYnTB8cczaEk2r/M4Fb85VJ/tq0mG6B1ZeFOzOWkxk\r\nrkKyK3ebDWh+1Ul3PJTPJivz6oKW9ULG1UTP67ZbsnwIFtsbQidDncB/Zl5k\r\nDKBl3JccB0PE0YcJ7Zp4RWPld7YdY2it3WIYF79wgjRGCMEDYn+N2j3vjpTM\r\nmOFw6U5PeElBxQc7nGNKwTMHvCSttwXzrFWogJGuOjBTGVUbfqZERt5d14RC\r\n4628fTXzm+ByMPTFKwg56tXcL1J932vE7oPEto6GAqwxuJDWskiMijINagBL\r\nvfMKj/qpcQT+UUV5pRA8Sgmrxp8s9pUGJLM=\r\n=K/xr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"c7bf047e66df6472fe63299fae5c381047466f90","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.c7bf047","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.c7bf047","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.c7bf047_1682707700318_0.8937894334128065","host":"s3://npm-registry-packages"}},"2.10.1-preview.6488705":{"name":"@microsoft/mgt-teams-provider","version":"2.10.1-preview.6488705","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.1-preview.6488705","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"24446131d52f37ada5440339616a2f5780e7fdcc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.1-preview.6488705.tgz","fileCount":18,"integrity":"sha512-LUwQClanC1COKO9It/Ogo1Z2/aOlvvfEktr6yTx2OESWcDV9NINVGOXzn+IVZJIwNXWgAzayg0lcU5CGRSycAg==","signatures":[{"sig":"MEUCIFcTzyEn78D0wzpEMtnVPjgUlovjYcWiA9S5p+PTC8Q6AiEAuEhzhndQ5hOQTt3ZkHR02I+t4LGz5IKmMbzxlLLAQB8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTENVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2Qw//Wcix0+Ga8sdjQzZB7g3VOClBsdnnhWAdgYTc+0cRilF4qLvw\r\nbxeatzgXtJR4rI05CeflMStiVQjvUCFzT3xjhWRwlhb1ugQXj8dRsozMuesx\r\nEfmBWtgOowg5R3neDbI3Msa4UedWAHuNGSDDfsBRz13KYLdz9Cs4lWIJZ4oS\r\nALPDeW6dnEggM9SrAoEKrD5Db+xno52rtsYd2t8aQfsYHKThk2wfBWZIN9I+\r\ndNRuxNY+Un1WiG0eVE5l0s2e++suL1ZxHWJjvQYiZBplYvI2IoGbHmG4SlYZ\r\nsAF//3jUnS/nPIE7V4kHZKQ4qTqyWcll8tkCVQ7sB79dAibun6oALtca9QQm\r\nQQ/4602qBNybyMkOmZMrnwdRYOoNxP9EzLRIbbCGbSE/lqHsIUG0Harp/yZo\r\nzgzvRW+hompiTXEzpjLlWfLmNgf3XoOFeK194gUDcqPAxw/BlxlhS62L7udm\r\n0irMhnCt//yoUZGYS3kE2iixuaOLkLtACmKFcKG47e1z8eY9CkzkWadPaGMu\r\nDfTsC53VyJauOp26sg5RXg1G94XnhI3p0YyrnKuac8+m11njPMKKuSo0jvGD\r\nSZWegO7E2dkWmJ2nMgg+u6X3OSzNPbVBTwt0MKfLINlY1A68GrlNqFYaMPEc\r\nyUlPTJdBZIyD5lz/H5RpL0GnQ/Er5J3i1Io=\r\n=v3xz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.1-preview.6488705","@microsoft/mgt-msal-provider":"2.10.1-preview.6488705","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.1-preview.6488705_1682719573037_0.2909906941719762","host":"s3://npm-registry-packages"}},"2.10.1":{"name":"@microsoft/mgt-teams-provider","version":"2.10.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"678c5ffde376c22809970476835625abb8d9964b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.1.tgz","fileCount":18,"integrity":"sha512-ZO7Mk4E/fGUkEG4Ay0fMVaevvLCXQ7w7qQNO6gCO1qtnANbOm9ESa3T6diqZIR/4LhjQ1nx9mbrLIY2z/abVHQ==","signatures":[{"sig":"MEUCIDRYfmeeDUr3oyl4ibaaIOBSPgI5qsQmIsBbH+Ex+CmhAiEAln2LQ2RsDdtFU3S+hw2oHeItzm/qyHRQz9OkZPLi/Lk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkT8pJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXcA/9Gyua7vbTeP7Rp4/9VyeNFG+yWXBnIbYEj8r+LWhGw6EeK6JJ\r\nynP4d+GiZ11LAXQns+N5lsfvTj6V84ZED4g+SzB1Eu+wg+NxP8Oo5NZZwnO8\r\nwZvjyxEJVJ2lHm8ONP1A5ai1sQCHHn2lBskrwo2zhQfoB9Kuv9c+kM4R4ITW\r\nrUKujEJGhufcLMHyJae429cyhMYJVlBf2eSr8Ei8zkBvA9NZ5SrrfO+MXGt/\r\nKpbMxYetuwAwI2TfMF77ppu3dediCYCsod0RGg5p5h+P/oDs1RyAKdRqZk96\r\nCpTkzH/3+2cK0jdenL61TajxizQupnwJygbWiLJNEprFBdsoTfT2aGudrf34\r\n2XWzKFWGRCCGzMkZMmlvWKsWrJ5saO1b6+/pFSNplc+vzO6rqdCRA5PB+63S\r\n9sY0FQXux02NQyKsgDBPP3Zle3ei1XqAPGDqqHkmpVdZxM8p83v2msZ5reNR\r\n441nNVbf+x2wvgHmd/zscTyeQUGfPnSelFxct+QenoLAiPhm6cWdIzKX4r1J\r\nmvzn9B7BZF3d1M07vZGcD9r86mLr9OpF6tf43hhjIuGojIgKmJnPv73CfCtY\r\ng1HYdCj4Yrp/I72XzHW8WXumwcdvHzVaMzC+kRhTykHlFEsa0PQnNTzFezrj\r\nxivK0KVvWyFTGqlRaD/pxcrXlKHnzf2eB68=\r\n=ieiI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.1","@microsoft/mgt-msal-provider":"2.10.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.1_1682950729513_0.8528208368599104","host":"s3://npm-registry-packages"}},"2.10.2-preview.3c4d620":{"name":"@microsoft/mgt-teams-provider","version":"2.10.2-preview.3c4d620","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.2-preview.3c4d620","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c8146b2ab16f858c4cba5412dab22914c28b3284","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.2-preview.3c4d620.tgz","fileCount":18,"integrity":"sha512-SD6TZo2+4pdkpfZ3oOznafyBVk8TETbeqvPcQMI2zAuJX4flFTyVj26n8wmYXumrGtXx/uLlK3Vs2ODtq5BsVg==","signatures":[{"sig":"MEUCIGJe1xvo9RSgxtnFE/hU2HkKlAsXK8rkbArDrRnqKDD0AiEAo7En9q/aZxWpUm4IoMeNw0fArQJKQhqd19PdeVKizi0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138031},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.2-preview.3c4d620","@microsoft/mgt-msal-provider":"2.10.2-preview.3c4d620","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.2-preview.3c4d620_1683043548017_0.8636761402903754","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.87e6c2f":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.87e6c2f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.87e6c2f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c69057fc8f870f60da84d72b3a7b3a48e493893c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.87e6c2f.tgz","fileCount":17,"integrity":"sha512-L6aTJvMoMZ9hQT3qkzbHSs0jK1Auoc//or+Elj42Rx78e8xjZRNFC3PN1RuYEk1IhCm9OIt1bgXPbV9T6rJgjw==","signatures":[{"sig":"MEUCIA+YsUKGvVFsSQ7PwE1pI8Xr2ErQbdQxIOqoBkM+JZJHAiEAxfujgaXA8TL763NUs/hl1Gyyqdw8THJpwYSeVRf2SzM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUV8JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmry4A/+JyXyWar1fK8f2D2kFJWBecythNNqvyB7fkQe9Bf31OnQnaRC\r\n2vb3qkJgFlw70RsP0f0DTRrSZ7mezz9ZBaMkiJm2bzzyzE4ekvIGnsQkSDVB\r\nZc2+kYRqf9SaKNjI5UFwJ8PzOCFMzNiOsU8lvFZTaEgl5enEn/Kn7DUmoTmC\r\n2ziHGdE8C1lGPS/vOWEMDk2wAu4Jen4nO+4Ja5IIXTD13qkL+hGYHYvwxbHJ\r\nfyVQljXecs+Sth8iwKDvLI8PelpenQoVxCqEuAeK8qlfC4Jcy9CZPiSPRVGF\r\nRzMoUSGmW0ziXWZN+yTMu8SVFU3l0zLVrzrFqIcQATjIOPuTMi+oCrLKLM0S\r\n4AWil+RpvQR6kIBAadpV4vftmZQDCzcN9qz48fLLLSMCFOyA/odbsI67zbOY\r\nEg7fXOZr3TExOeXwr4+CqH1SCXkdP9wuh2/Vu6SqXtBxAfidgV7Epk1DL7rO\r\nu+FouQagKjtIoFEQ8MTAKzdT8EdIGPiycmQ3oWJ4Nb/Vr9QqLlotwcQxps79\r\nOK4uenAuCSRi0lxI3oAxaN9F2hO3Qja6W+VPzv23TOIhzYf1Y8/ILCV9w6V/\r\n2rMyVwYvtXNBC1DY9Q7091b0v32/6OrYKnBc+gaPthppZEXpd9ngb2eRgg9z\r\n3a9HlSQNnckuR6S7lq58CvN1TP8Ru9Vkq6Y=\r\n=b0xW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"87e6c2f35a9916d26803f3772adc9647670c26fb","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.87e6c2f","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.87e6c2f","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.87e6c2f_1683054345013_0.4891688316845906","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.f7f90d6":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.f7f90d6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.f7f90d6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"ca7cf8153d4b16c87138c7b1a8fd58f747f5765e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.f7f90d6.tgz","fileCount":17,"integrity":"sha512-qt2/xaXwbMZJ0jR1mTGRxEfZuCCChl8K/iU2n8MJP3uozQaAeqTgCl9D0uE1VdZ/knDDYnfAuwG+p5pn4UNrig==","signatures":[{"sig":"MEQCIBUZLYTN+w5BqrZSBi94Yhuaoraxbz3XyW5uoq8KPtqHAiBmAgiNVzOvwo9v20MhXGuDFS1CuTQ73yZj/RR9I0N6LA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUhofACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMFg//e1Fh0Uk70YX1ZsKoodjFJPMPLwL9IsfzFJc/w+Th4KOQfs67\r\ni+q7IaB9zGcpbLEXuSZBQJEpTqYgw7Vts0F83wk5JZdycwtWw67LAbLOqucv\r\nVgzbu4pMFuiJImhSCYobN62f3N0mzOozA5SIDvl7YTdb4JbwFyfiKwy+j1tJ\r\npMgqtGEuLnvsxohApXUOAztG3Kuokf2ZW4uruqU+S9kf/J2XIIseRn3i7vHb\r\nb6U+ZfREN1sG4YIn5YU155HStvVgQcLGz1A5oV3iibNVSNVMHw9kP2b7XevA\r\nIciAVHwox35PgjJuSBSpHN6Kz6WA/2UCJkxzj9LhwJiGDi4yT1V7O6QS0pg8\r\n1X+kMq96pAUyPfP00qVpAqI3zR6TSUR+afgX/7//dP7oqR/ZnVrznR0PVKon\r\nQ1rH28znwUMfXe4J8U4gDbXP/iVYIL/l8CSiZyW7LqMjQEPaagrdKeoMIVB0\r\nK3IOUhQSdZpNZjl5l/Lbp42oV+47/5tDg8eim0olNOUWp9ddqCscMpEBD8Bf\r\nTVOHo2xNFv1P9JsnzGgUEvwHJ0UMSQgDLrckHK2v7ULmTwc628dOBBWfveSQ\r\nmwyY/8Q6wLXAbrYzWtIIuyvg4/0ofOl1MYUsUmunSCGUA+px/llK2L4ZWCRU\r\n1ZaXzokohEUepMipYBBQL5C2+B3+8j1ncaY=\r\n=2Oko\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"f7f90d6fc89cdfd92dfc07c8fcbfdf6222c65121","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.f7f90d6","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.f7f90d6","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.f7f90d6_1683102239395_0.39114247502516797","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.4863995":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.4863995","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.4863995","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"72e41b86a8a36d25d5f605baf0a75eca1c9e5016","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.4863995.tgz","fileCount":17,"integrity":"sha512-lexEBgsCgADyP785xo+ouOas2f3zTLL9oRYR2xu1L4s41TY/a8UtAqhPxOFqt9D16dPwB+nHjzeCeaVJeSPESQ==","signatures":[{"sig":"MEQCIG/a3wIk4B4XP/B7pNdh3tiNIEqlOhlW8cONGxZEmkX7AiBHusbL55/LZjfFGXfORL3KN2MvzIu/Ha6oDU7CjYRqfQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUm01ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkVg/9F7emAtq/6Yxd/gyZj12zspyu4FdvYS6tQtDb8sauKCqSnx0/\r\nZJ1v1O/QFlAc/MwPEFJ56KE4ssFOCr0pRlPEtNWgImO170cNjrKja7TVBd6i\r\nmOzyEF+PwCKJ0ewkE6AQttIqxvQNx1y+d3fyCZ8PBfEnjIeRkRe5Hjj0BzjL\r\nr3C5glDNNCE284LaUaF5ZSA4R7VDq3I1AdagoFjjdi3YRKeAKT6bt92dQ+JA\r\n1e4I8TBqbWZPJFS3xD7DW7Hq1+PT6WxyNHEVXy08R1NYo0ZKv5UxyI2DcWIJ\r\njO7xhFMGm1PWF1D4QLN/de3p3C008DIjCbjl9WEMXnJ8kEMDXKjB4YVpiCkf\r\nur9l5x4cqedNLFEF6YQDpYZgD+/DzmBwRvrMCWS5yt+sIlI3JDN7EmNggNcK\r\nDeGRDO/Qo0QgmejvaVhWOrdkTVVjmv+jr9kefytrQiqGSJ0tAtzfzEFtcBAa\r\nDeHjDfUeRJVY5oHWy4vTBrqUIQk0uyeKCKVHOQyQrW10/UF576wqX1FNVgBl\r\nJGc0Dksn+V+rdZxvE0Wy+8j7OuWTRwt6UzSOLUc3Nqp/r4iDRCrBWCq7VraE\r\ndEnvUFDRzOSGe5v5yz0AXFtRbKJrPT7ndARctV0dcFsCDxitKq3RUS7og40g\r\nE64cBIqxKMFkO/E2drdVhZnA14A93NyK0hQ=\r\n=OcuO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"486399521951a9cb27161c94974c694237d5e4ee","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.4863995","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.4863995","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.4863995_1683123509118_0.26162567265065717","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.1c9face":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.1c9face","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.1c9face","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"693a395745bb5126f876e3c7b4cb14132a053b53","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.1c9face.tgz","fileCount":17,"integrity":"sha512-FHDexawrd2Gqls5bwzkHbAlHMhqioC9/jBbEOB2eeaNZN84Ioc60qPw1gLyIgw1nYTe0C202InMe0YwPDOiysA==","signatures":[{"sig":"MEUCIGC8NLvgB141AO7/5BF84zqIxX3SFaYgGfTIhfeV+l8VAiEA+6wUnXpGeUtC55SamudMPQXLkMUvgsNjwdnau+pgQNA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUon/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6mBAAkRslnB25nQMi8adGfHoykkPCkbgloUf9pjcnhUYLNN0DyQTW\r\nEKjcNtq+rmxib1/F+TTtHHDxKZf1dpjDzt7JTbyWlr994d8/lpUZqRClF/zp\r\ni3FZyA6i1xbaCU7mq20shEDY1hdh9KG7WbOriH97M5AyIjEw57QAGP4QZXU5\r\n+AV0R10t+lS2f6zf2Tla9+G166tdwr/g0d8YVZLi+l/PuVga66CpWaJYurnI\r\nO3t1F4WXvOUihQuNHPqfUciOgz0Gfae93VYnruPNlJw1dvBs9YRYnjgNd+g9\r\nbhC+WBXUeZJd9Y8kEeOlySoQ9lWGXaEVWd0pEdL0Kh6F4Tv+0vDQTi0LlW+3\r\nFkcuO0lzwgUpUHaRAnukOTBO2DidLW6yIk7cr3gxmlQ1XjSJfXUATsKZfpxe\r\nG35jNqjHL7SSlvY/YCxEY5Xv23IZjUtGBix2Xq+3/htaEQMGUkyVBMezzAtO\r\nAlr2oIPFJPgX6PLGzdrRELlHBUR3Dhxe/f35OEZH5BoIfPIqyZ/0jZyGPmnw\r\nqUlEl1eRRR8HMpMCPEkQsZYDCCJlZJSkigF1wg+YpiAQTjrNUQ3VNIFWGh4Y\r\nbuJhgknyXzYfRQuQjAUDhj9q3Y2ZJvEhWl3P0ODEAGb8FI6ELLCw3hkkHeya\r\nzLfhsyCXPB4Mv90FmOPt6EmZwJeTbU71BK4=\r\n=4tw0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"1c9facefa15720a3cc73fe2482cd7c9fee9c296e","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.1c9face","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.1c9face","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.1c9face_1683130879081_0.17811218232257708","host":"s3://npm-registry-packages"}},"2.10.2-preview.7b701d0":{"name":"@microsoft/mgt-teams-provider","version":"2.10.2-preview.7b701d0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.2-preview.7b701d0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7f3a5eb6de87deef6a0b862f8dff6f14df313f80","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.2-preview.7b701d0.tgz","fileCount":18,"integrity":"sha512-D7WSIS2D9qXCQMIPllGgjs1baZi4SscRI9v109h/qC4SY0AMhZVQ02e8IyIpgKZNdCTnZvMqTFjQbdMaSKUXNg==","signatures":[{"sig":"MEUCIQC5CD2k5DMEUWeocSxVrih4egYdW+It7lXTA6ZlOCDv5QIgDO6inLRNeAidjDzoX72iEeWjxZJlPswY3GzNdaHRn74=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138391},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.2-preview.7b701d0","@microsoft/mgt-msal-provider":"2.10.2-preview.7b701d0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.2-preview.7b701d0_1683534638367_0.6196541164104561","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.5a03007":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.5a03007","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.5a03007","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"579b3c1b585625b873764c3ebd30213a6423b2cc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.5a03007.tgz","fileCount":17,"integrity":"sha512-DtW5QZ/vpAkwx04Vb0tCnFD5hQTAb+xzXverBeEDxijdYf/1o0irAcrtTYwkP7a27a0VgyOHtyrR+8t0exHuGw==","signatures":[{"sig":"MEYCIQCSp1li3v2f15QugXQWaYncOghAqM2LLDevmY3SyAEUsAIhAJpAulkIjr8kUomEsBumH+oVXf3V1V/oeGNu/p8Gl6az","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66556},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"5a030075382d91ab1da9e8f52fca386554384c2c","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.5a03007","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.5a03007","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.5a03007_1683554717118_0.12157795536417138","host":"s3://npm-registry-packages"}},"2.10.2-preview.d27858c":{"name":"@microsoft/mgt-teams-provider","version":"2.10.2-preview.d27858c","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.2-preview.d27858c","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"31956d7e18a1d1aaa178edea4443d02e763cfa97","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.2-preview.d27858c.tgz","fileCount":18,"integrity":"sha512-T2GAm90jqYZZFf9WJSU4fy2S1/3uZxz2ox0mJXFhMcKjrtSnNXZwtn6U+Wgnra9LX/pPdWM1NfWI03zzhOIFyw==","signatures":[{"sig":"MEQCIEh79HJN7YUANzh24WqDBHU3jD9DDHH89+fQhW9ngWjhAiBhNojDKDRagrL23BLr96VS5F4VL5yafXWErUrAN94CBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138391},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.2-preview.d27858c","@microsoft/mgt-msal-provider":"2.10.2-preview.d27858c","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.2-preview.d27858c_1683643410534_0.5780542913937987","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.3677936":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.3677936","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.3677936","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"08a65a4349622ee039cdf453ffdc09e860428ce7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.3677936.tgz","fileCount":17,"integrity":"sha512-E/6lL82AazkBq2PiHhr7kbbY92ctnTH7ePy19Li6DQVvG9AzahH2ryYFGpg2XXFJfPloc97o1M0Aj/ptH+RHBw==","signatures":[{"sig":"MEQCID0/v6tAncbRl4QRd8hXIkOeKholawsoeLjGN2hVbWowAiBJh3rj4SzEw9N3HvXYIQjs84e90TRcZhlIHpYNxSzlqw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66937},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph. \n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"3677936e82c44cb59b7846fe2902da63b12ddea4","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.3677936","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.3677936","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.3677936_1683651287584_0.3611401219335042","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fluentui.4e3d898":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fluentui.4e3d898","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fluentui.4e3d898","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7ab1412b3b1f9314b1506e6735f0cfe1103c8114","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fluentui.4e3d898.tgz","fileCount":17,"integrity":"sha512-EZx3JGwfvVcVUsv6x9y+wU7S9XVapqlSfwWEPmKOGYNoewjdQscq71mkEmsPieydL/S/tkmWS7Oe8NqyoQoQqg==","signatures":[{"sig":"MEUCIDUTg0kcG4v0+HmJ+HsuMVExCD42rahCXlbLi1/1mSR/AiEAlSU2Yx9uT/3tr1fbiHVpuXRQ//RU90GW4zjgsZ0IIvc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67297},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"4e3d89816c8c93d3bbcb784bc060906b2a3f5517","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fluentui.4e3d898","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fluentui.4e3d898","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fluentui.4e3d898_1683656666613_0.7622226137304544","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.15a0fdb":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.15a0fdb","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.15a0fdb","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"2af48c919ff1b361a6ff94f4d6fa9537bdf4b8f8","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.15a0fdb.tgz","fileCount":17,"integrity":"sha512-EcTFn8Itbu3LTUDMYoihHldw8kwQwQnY7L769EuFWGxOyn9R7YF1O9nQx0QeohpTPxo9JtYsj/cQrYBGJBP78w==","signatures":[{"sig":"MEYCIQCzx5y5ozy5yuaM7WrMoUnhCRdi/NeU3Y5Bo5R+r3w+GwIhANOb765sZpPBNPHJh/yDPFDsC/wvi/ypVyu3sRta2tIJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66916},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"15a0fdb1f2f9f53189c5c2bd0bd2145478b3c17b","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.15a0fdb","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.15a0fdb","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.15a0fdb_1683666238052_0.6373436336285181","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.656f294":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.656f294","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.656f294","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"857face201963fab2fd0eaa338b6c73ed1a07b0e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.656f294.tgz","fileCount":17,"integrity":"sha512-Do+E4pQ30+e6t7cg1n0qGc6JaTIrfaS622EDbQR5/8FASLYtmV8mjH2841jM8ifDuxdrR23KgmUPA/RXpjIqJA==","signatures":[{"sig":"MEYCIQD0X6yqzCkjmB83fYDjaorfSWi0dgKQ6Qx910AzyAXe6gIhAIC+ysK5dw+qee6haCmuRdLZP9nqzzqVVqRAuGBkqzCq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67297},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"656f294f14b6db0cf402c596f703bb64e031df29","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.656f294","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.656f294","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.656f294_1683668334579_0.5467829501150112","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.fix-grid.a34c8fc":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.fix-grid.a34c8fc","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.fix-grid.a34c8fc","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"52f45c3c085498f12b7005215c203ee2541adcf5","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.fix-grid.a34c8fc.tgz","fileCount":17,"integrity":"sha512-NLLjp0BJ1QEQ93mYMi6EXLRG1iWe3katX0j1wgWAFdDy+nlJsZC0fCilEly60P8CODCXuu91uHsWwgZlp6WrXw==","signatures":[{"sig":"MEUCIQDJdmg95E0WKvwp1uqz+I2xX3M3PHbi1n4S6XuC6GhqBQIgPgJxpmrYJh2nr7znV6HNplZ2c/Lfvou3tgqK7xxG6W8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67297},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"a34c8fc03ce094835c99488346e4a71b8556be1f","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.fix-grid.a34c8fc","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.fix-grid.a34c8fc","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.fix-grid.a34c8fc_1683670420477_0.827111648284349","host":"s3://npm-registry-packages"}},"3.0.0-preview.2-next.fluentui.5dd2cad":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.2-next.fluentui.5dd2cad","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.2-next.fluentui.5dd2cad","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"66d650f3f40583cc5380f4575ac0232837cc0263","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.2-next.fluentui.5dd2cad.tgz","fileCount":17,"integrity":"sha512-atI7T7AAIMUXvRQUkyPcRZaNEd3FQhsweMU7NOBiD98XqYt9X7hQUzDqAqUfyCrPj1/kNv/oUUGrU7qVXf1sLA==","signatures":[{"sig":"MEYCIQDPVCo+9YPqivzOBZCx9wwd/guHouMYFdKEGRwzkaJHnAIhAJyKF9r4H3k8/t5vYBTAzvY1/M0zhsmP32VWmMU4+70Q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67296},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"5dd2cadd1d985b1b88d3bfe7fea5596e2636e1e9","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.2-next.fluentui.5dd2cad","@microsoft/mgt-msal-provider":"3.0.0-preview.2-next.fluentui.5dd2cad","@microsoft/microsoft-graph-client":"3.0.2"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.2-next.fluentui.5dd2cad_1683670679289_0.26018503639766455","host":"s3://npm-registry-packages"}},"3.0.0-preview.2":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"d9a74b310b687c0178d680448d76e9600f7078b7","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.2.tgz","fileCount":17,"integrity":"sha512-aSIA9nrHwDFXx7LPgFLMxK2dp5yw/2x2MzSLJhDACSaGI01MwYiEp69gA+kpO92ZberKfoYtnkW34+Q2CEpi1g==","signatures":[{"sig":"MEQCIFr8nNrjkelYCY417UaEWIJ5lvcMJL264czijHyoV7kJAiAgkp+25Vx1RRQiJy4FBkhblIcRaT6gKB+GyIC6UIOBVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67230},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"5dd2cadd1d985b1b88d3bfe7fea5596e2636e1e9","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.2","@microsoft/mgt-msal-provider":"3.0.0-preview.2","@microsoft/microsoft-graph-client":"3.0.2"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.2_1683671327444_0.43376538854486535","host":"s3://npm-registry-packages"}},"3.0.0-preview.1-next.mgt-chat.6a93d6b":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.1-next.mgt-chat.6a93d6b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.1-next.mgt-chat.6a93d6b","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"a2b4b2fbf2e23c19b115fce594e5b9a426987b67","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.1-next.mgt-chat.6a93d6b.tgz","fileCount":17,"integrity":"sha512-GiTg3MyKv/1INLseEl/LdZVpQHsg+w1m4vM+kW5AA/yMkpBPqiLox3RX56e6t7TPATFtAoIBNdewrI9DDftLkQ==","signatures":[{"sig":"MEQCIBKaYo4AhJvGJzOxi75m9PD06z8Tk5p0YGf1F0iAoQ9gAiAu2LTdFz5NOP+c3P0AUqbRKoV9Y4SHUALNZpjiqRrX9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66916},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"6a93d6b4cf8261728a3100917c546c2e86f8b53e","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.1-next.mgt-chat.6a93d6b","@microsoft/mgt-msal-provider":"3.0.0-preview.1-next.mgt-chat.6a93d6b","@microsoft/microsoft-graph-client":"^3.0.0"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.1-next.mgt-chat.6a93d6b_1683734003146_0.8487158686807057","host":"s3://npm-registry-packages"}},"3.0.0-preview.2-next.fluentui.ab2ddda":{"name":"@microsoft/mgt-teams-provider","version":"3.0.0-preview.2-next.fluentui.ab2ddda","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@3.0.0-preview.2-next.fluentui.ab2ddda","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"3d2eba980c61353ac28b13d6f868d8c249d3ab6a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-3.0.0-preview.2-next.fluentui.ab2ddda.tgz","fileCount":17,"integrity":"sha512-ekcGCX5cIyp/3Egmmm0r4QS5OM0+9MnDnDzt+dOKzV/xS0nDFWNSK3GVL0Zt52idwSq5Sd7KReaFJ2QtFWoGig==","signatures":[{"sig":"MEQCICuNLV2SyLEeMdkWHlDwpdDHrcoZQoi6O1tlhQBPE2fKAiB7rKSIMKXSNZOzpitFtCRtVDGEoV1p3WbrOlkANuB1LA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67296},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","gitHead":"ab2dddae2f1dbbf7aff12a80b693b537047f31f1","scripts":{"lint":"eslint -c ../../../.eslintrc.js 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"8.19.4","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"16.20.0","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"3.0.0-preview.2-next.fluentui.ab2ddda","@microsoft/mgt-msal-provider":"3.0.0-preview.2-next.fluentui.ab2ddda","@microsoft/microsoft-graph-client":"3.0.2"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_3.0.0-preview.2-next.fluentui.ab2ddda_1684232957812_0.5168955266317288","host":"s3://npm-registry-packages"}},"2.10.2-preview.071f3d5":{"name":"@microsoft/mgt-teams-provider","version":"2.10.2-preview.071f3d5","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.2-preview.071f3d5","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"0ae2c4916e8fc13e854550be6e420af944a54005","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.2-preview.071f3d5.tgz","fileCount":18,"integrity":"sha512-OzhMTvNm2AOpIq4xAOZvWKM+TDsmFfU/TetCW+f6eIotXGlCJepOunhSNTWSZmmZ0GCVFAsZ6AX8AcRMCFh+dA==","signatures":[{"sig":"MEYCIQCMhr0ilRwXj91z0t3af1A59AeKtJ/B0sE6f/Z2pBtY7QIhANuJgYdbSo4wVM1byrQcezQxH08GYOuFKfXpLC9JHpJ4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139386},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.2-preview.071f3d5","@microsoft/mgt-msal-provider":"2.10.2-preview.071f3d5","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.2-preview.071f3d5_1684752828976_0.5636501751811946","host":"s3://npm-registry-packages"}},"2.10.2-preview.9f8953a":{"name":"@microsoft/mgt-teams-provider","version":"2.10.2-preview.9f8953a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.2-preview.9f8953a","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"7513a47060d910df4e985bdaaaf0ff9c0bd15bed","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.2-preview.9f8953a.tgz","fileCount":18,"integrity":"sha512-gTKMdGcafN44akiN38VQDohO9peJ4k2z6N3H+BpoERcOjwRRRxU7PurRGp/LqM3fce78MGdYCriI7gO55gQKSg==","signatures":[{"sig":"MEUCIH6B1a1tz+QeVhfvaCxER/ghrzl6zHQCHLsjp1kJuKBTAiEApvU/ElSfluIaAwyv3zNvNB0qcy529sXBkvYGMQbQGTg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139386},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.2-preview.9f8953a","@microsoft/mgt-msal-provider":"2.10.2-preview.9f8953a","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.2-preview.9f8953a_1685094058747_0.8020925679575512","host":"s3://npm-registry-packages"}},"2.10.2-preview.b095694":{"name":"@microsoft/mgt-teams-provider","version":"2.10.2-preview.b095694","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.10.2-preview.b095694","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"50a2b76cce1d0487b147a1ed1e6c6c40dd2e93ba","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.10.2-preview.b095694.tgz","fileCount":18,"integrity":"sha512-S3x3hklZiwDGu4RmNVDqQmhJk9JfdRdFXKlpLvGuuMfCoVX0cs8qKaMgYt1hZqthaporLwi9CxX2fiGHS0cn9g==","signatures":[{"sig":"MEYCIQCa038l6jZpn+W8FodfIEALaXtEIev6DfFTWiHMjWnWIwIhAJ8yrvojNa/SeKUVwStVCDq6qUXS/PaVHSQwTg/MIiIJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139386},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.10.2-preview.b095694","@microsoft/mgt-msal-provider":"2.10.2-preview.b095694","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.10.2-preview.b095694_1685635293691_0.7249539321309537","host":"s3://npm-registry-packages"}},"2.11.0-preview.a8902ac":{"name":"@microsoft/mgt-teams-provider","version":"2.11.0-preview.a8902ac","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.11.0-preview.a8902ac","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"1511c8f8b2026bc28d6fc3a48c48e14d130a07ff","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.11.0-preview.a8902ac.tgz","fileCount":18,"integrity":"sha512-PsCDr9yAvmaT6ZxUhvOjfpMp3Bb77v96ooggP9raaMLpEWmdezasf/kywDd6PPBRw91f82/yUNXxVoCXM+etuw==","signatures":[{"sig":"MEUCIAaPUCCnw5T4/9O0Qih5kzKg4NNmz5UaSIdDDwU7fRPwAiEA/4EEfWEXo7k2iPtk1s71BTH1nuQIZ4OpalnU1uJYCgo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139386},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.11.0-preview.a8902ac","@microsoft/mgt-msal-provider":"2.11.0-preview.a8902ac","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.11.0-preview.a8902ac_1685643125798_0.4926035675467111","host":"s3://npm-registry-packages"}},"2.11.0":{"name":"@microsoft/mgt-teams-provider","version":"2.11.0","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.11.0","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"c32960fcd08f4de3c29cc46f46cb5bb8a8ae5c64","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.11.0.tgz","fileCount":18,"integrity":"sha512-OznP+mSK9v4wCitPLBzmgKJoRm+eQK7gYFd3UtmIaY3u52B3manlVEnF8S+wiDzMmqlLzyIQgGVzA3Wokmk6AA==","signatures":[{"sig":"MEQCICn0epHWWbn4D1H6pGzZaGwnvp/2wVCvzmtkk2IQmyw/AiBx2nM3SQvvZ8pdVvHHawNJvD3LId/puUP314Volk9aRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139338},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.11.0","@microsoft/mgt-msal-provider":"2.11.0","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.11.0_1685644412830_0.9581036727538437","host":"s3://npm-registry-packages"}},"2.11.1-preview.4025f6f":{"name":"@microsoft/mgt-teams-provider","version":"2.11.1-preview.4025f6f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.11.1-preview.4025f6f","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"281ca6a8808810b485384ff9a69b410d2cade0c4","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.11.1-preview.4025f6f.tgz","fileCount":18,"integrity":"sha512-ij/08eK0rjHB7EKqCwCPed2vJ7gMFHnJ4E+fXs2sjdBnqG+3cKU/6z/5sS+P+HnqyDPqK+sWgWOgUKpijfNKuw==","signatures":[{"sig":"MEUCIAq7G7UlApia5W/7qrNeIvUgOeL3lUeGEqfV346WCucJAiEAhECrEM+xj8IqmBazmC8F9uj/lJssb2DjdHb6dmpimGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139386},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.11.1-preview.4025f6f","@microsoft/mgt-msal-provider":"2.11.1-preview.4025f6f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.11.1-preview.4025f6f_1685725718524_0.6940329121327518","host":"s3://npm-registry-packages"}},"2.11.1":{"name":"@microsoft/mgt-teams-provider","version":"2.11.1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.11.1","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"4faa45ff8a6dbea2e4f83393c1a7ca5bccc9fb61","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.11.1.tgz","fileCount":18,"integrity":"sha512-NfWTmnjMZDn9H0f6ukZrbTYj8LItICEPuiesBAyaBRXSRuOpG78AddnFq5t9X6Pt+uQLq9/zNy8BAEBbE5PaLQ==","signatures":[{"sig":"MEUCIQD5ayavqQKPwA+/wpSF/433DKjmDBRbXmOenTby2iN9GQIgHhX1LumgXrYroODrkR/jelEedDwJBQwHIx6nfTWnSsg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139338},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.11.1","@microsoft/mgt-msal-provider":"2.11.1","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.11.1_1685726766415_0.914760639747352","host":"s3://npm-registry-packages"}},"2.11.1-preview.00b68e6":{"name":"@microsoft/mgt-teams-provider","version":"2.11.1-preview.00b68e6","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.11.1-preview.00b68e6","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"b0bc71c0867fd71b8de93704fc793aaf47ae136b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.11.1-preview.00b68e6.tgz","fileCount":18,"integrity":"sha512-+7xoleso1KYjBH8fQJcUKjJNPdT30eNwBotykzqixSDuDsufgLFjdp+yUHfWqB3GysM8mp7fARX/qCpRwLglHQ==","signatures":[{"sig":"MEUCIQDESGSSZ1iNNBbUL5BG6HFqItiYNWBpZ2qA7o8L9Y8wdAIgTUWuJ8Hj0tx3Ai/1Ej6WMpCUytsvYFs3sQ3eHXL0zaQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139386},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.11.1-preview.00b68e6","@microsoft/mgt-msal-provider":"2.11.1-preview.00b68e6","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.11.1-preview.00b68e6_1686061682838_0.06113816389558724","host":"s3://npm-registry-packages"}},"2.11.2-preview.4dac3ba":{"name":"@microsoft/mgt-teams-provider","version":"2.11.2-preview.4dac3ba","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.11.2-preview.4dac3ba","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"244c03dc0d81065315ef4881f667b5b7ca0e021e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.11.2-preview.4dac3ba.tgz","fileCount":18,"integrity":"sha512-TAbQ5FZKBBsnkqQJZzPYxf1e2KSZ6b+x0X8XzF65qMzXX1aqx+hWAmYSCjqSybFEIWXad4/JnMZ7UvOZ7Wp4jQ==","signatures":[{"sig":"MEUCIQDhTZUhPjVOdcKtOzkZTR2/2I8S2JYsgWuVogEvoRcjigIgTkJ/U1a+C33BP5Nexul1N9o/6I32t69MP3mCrvn0Z2A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139390},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.11.2-preview.4dac3ba","@microsoft/mgt-msal-provider":"2.11.2-preview.4dac3ba","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.11.2-preview.4dac3ba_1687803754633_0.6502830698415885","host":"s3://npm-registry-packages"}},"2.11.2":{"name":"@microsoft/mgt-teams-provider","version":"2.11.2","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-provider@2.11.2","maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"}],"homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"dist":{"shasum":"11efbd8f0605ce05f7763d6b536cfd1c97dca45c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-provider/-/mgt-teams-provider-2.11.2.tgz","fileCount":18,"integrity":"sha512-a107WqqpVGjBykdM3tDt8/0s5Sb9N4wSoOfB8Gc+5dtpVt64U9cHeqIYti/0yXw80LX4OobgsgLoWwqmjg+Yyg==","signatures":[{"sig":"MEYCIQD2qZ3ogIfJQjY2ovtu4j88fL3wu8fKi1M+4/gmWtlyqwIhAOcxeCXzTexLD8C4KFBV69uZDXPM9RK4Go8rVUc/l0xn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139342},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Please use @microsoft/mgt-teamsfx-provider instead","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.18","description":"The Microsoft Graph Toolkit Teams Provider","directories":{},"_nodeVersion":"14.21.3","dependencies":{"msal":"^1.4.10","@microsoft/mgt-element":"2.11.2","@microsoft/mgt-msal-provider":"2.11.2","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-provider_2.11.2_1687804721160_0.1031695954244718","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-12-02T18:42:31.041Z","modified":"2026-07-16T15:45:46.385Z","2.0.0-preview.7":"2020-12-02T18:42:31.274Z","2.0.0-preview.8":"2020-12-03T01:50:24.101Z","2.0.0-preview.9":"2020-12-03T02:09:36.439Z","2.0.0-rc.1":"2020-12-04T05:03:28.588Z","2.0.0-preview.6594bcb":"2020-12-10T23:01:31.234Z","2.0.0-preview.6959a48":"2020-12-10T23:13:16.045Z","2.0.0-preview.726deb6":"2020-12-11T00:57:04.851Z","2.0.0":"2020-12-11T04:48:52.689Z","2.1.0-preview.44812ca":"2020-12-11T05:02:19.654Z","2.1.0-preview.0ae5594":"2020-12-15T18:16:35.810Z","2.1.0-preview.17ba514":"2020-12-16T19:54:09.124Z","2.0.1":"2020-12-17T05:34:45.427Z","2.1.0-preview.4c9eb38":"2020-12-18T20:17:52.108Z","2.1.0-preview.56c1f66":"2021-01-04T21:38:22.641Z","2.1.0-preview.8e7390a":"2021-01-05T20:37:31.798Z","2.1.0-preview.b2d9eba":"2021-01-05T21:01:15.864Z","2.1.0-preview.5d4f56f":"2021-01-14T17:32:26.291Z","2.1.0-preview.0f17751":"2021-01-20T18:27:01.523Z","2.1.0-preview.4c52fa9":"2021-01-25T16:52:56.514Z","2.1.0-preview.234adee":"2021-01-25T17:38:56.369Z","2.1.0-preview.906c726":"2021-01-26T17:52:38.048Z","2.1.0-preview.3ad97e9":"2021-01-26T21:29:26.145Z","2.1.0-preview.1d6fd02":"2021-01-29T03:50:12.223Z","2.1.0-preview.3e755ca":"2021-01-29T17:15:51.190Z","2.1.0-preview.e61861c":"2021-02-01T16:48:40.199Z","2.1.0-preview.6b153d3":"2021-02-05T19:36:05.544Z","2.1.0-preview.f66db69":"2021-02-06T00:47:48.560Z","2.1.0-preview.63d8467":"2021-02-17T19:07:28.160Z","2.1.0-preview.e85deaf":"2021-02-18T22:10:18.585Z","2.1.0-preview.30e4008":"2021-02-18T23:41:13.014Z","2.1.0-preview.8bfa6f0":"2021-02-23T18:45:22.690Z","2.1.0-preview.8672ba8":"2021-02-23T19:15:22.121Z","2.2.0-preview.6e3772e":"2021-02-25T23:23:03.549Z","2.2.0-preview.db82765":"2021-02-26T19:22:48.536Z","2.2.0-preview.db82765b":"2021-02-27T00:04:28.560Z","2.2.0-preview.3bf867f":"2021-02-27T00:13:18.996Z","2.2.0-preview.3f85553":"2021-02-27T00:45:07.583Z","2.2.0-preview.56b7b6c":"2021-02-27T01:23:55.301Z","2.2.0-preview.19a52a6":"2021-03-01T21:53:07.231Z","2.2.0-preview.61778be":"2021-03-01T23:58:17.009Z","2.2.0-preview.e580c1c":"2021-03-02T03:40:49.340Z","2.2.0-next.file.e40e43b":"2021-03-02T22:41:46.293Z","2.2.0-preview.9dd9cdf":"2021-03-03T00:12:20.169Z","2.2.0-next.domainHint.dccd571":"2021-03-03T18:09:03.186Z","2.2.0-preview.3e7211a":"2021-03-03T19:19:46.955Z","2.2.0-next.file-picker.bcc3b0d":"2021-03-03T22:40:08.465Z","2.1.0":"2021-03-08T15:55:23.168Z","2.2.0-preview.ebac0f4":"2021-03-08T21:36:13.685Z","2.2.0-preview.78568fa":"2021-03-15T22:13:39.528Z","2.2.0-preview.079643a":"2021-03-18T15:42:05.206Z","2.2.0-preview.0245c76":"2021-03-18T21:31:47.340Z","2.2.0-next.domainHint.75503b7":"2021-03-22T20:19:26.984Z","2.2.0-preview.e4ae102":"2021-03-22T20:27:35.229Z","2.2.0-next.domainHint.f523b23":"2021-03-23T00:59:50.049Z","2.2.0-next.file.d750612":"2021-03-24T04:16:47.665Z","2.2.0-preview.2b12299":"2021-03-24T06:47:24.175Z","2.2.0-preview.c7c25c3":"2021-03-24T16:48:39.719Z","2.2.0-next.file.349a93b":"2021-03-25T03:56:02.125Z","2.2.0-next.file.b038499":"2021-03-26T00:22:02.068Z","2.2.0-preview.2ade0ec":"2021-03-26T18:19:15.263Z","2.2.0-preview.3f351ec":"2021-03-30T23:57:17.538Z","2.2.0-preview.94da467":"2021-03-31T03:14:14.228Z","2.2.0-preview.cea8740":"2021-04-01T00:58:48.085Z","2.2.0-preview.8178bb8":"2021-04-01T15:49:09.028Z","2.2.0-preview.15dda67":"2021-04-08T08:07:39.233Z","2.2.0-next.msal2provider.178cdd7":"2021-04-08T23:40:41.128Z","2.2.0-next.msal2provider.a9b1931b":"2021-04-09T00:26:40.437Z","2.2.0-preview.ef9b63b":"2021-04-09T00:43:05.187Z","2.2.0-next.domainHint.399bacd":"2021-04-09T19:09:48.626Z","2.2.0-next.msal2provider.617820d":"2021-04-09T22:41:59.968Z","2.2.0-next.file.0e80deb":"2021-04-13T02:57:23.433Z","2.2.0-next.domainHint.a5edda1":"2021-04-14T03:10:44.065Z","2.2.0-preview.38766c7":"2021-04-16T04:29:10.565Z","2.2.0-preview.fb176f7":"2021-04-16T05:36:44.354Z","2.2.0-next.domainHint.0c13991":"2021-04-16T05:36:54.369Z","2.2.0-next.domainHint.d04c186":"2021-04-16T05:37:45.201Z","2.2.0-preview.95603a4":"2021-04-16T05:45:19.785Z","2.2.0-preview.8efb6de":"2021-04-16T19:19:10.197Z","2.2.0-next.file.a7b302f":"2021-04-16T20:13:36.999Z","2.2.0-preview.335a7f3":"2021-04-16T23:05:27.344Z","2.2.0-next.file.979a41a":"2021-04-19T17:10:09.180Z","2.2.0-preview.3de203b":"2021-04-20T02:35:49.024Z","2.2.0-preview.ec6bdb7":"2021-04-20T03:16:04.674Z","2.2.0-preview.de5fa69":"2021-04-20T21:46:40.220Z","2.2.0-next.file.3fac96f":"2021-04-20T22:35:37.901Z","2.2.0-next.file.e5db5e4":"2021-04-22T20:33:01.470Z","2.2.0-next.msal2provider.d842c5b":"2021-04-23T03:13:23.702Z","2.2.0-preview.05dad46":"2021-04-23T04:10:54.079Z","2.2.0-next.msal2provider.94faf9f":"2021-04-26T18:55:08.998Z","2.2.0-next.msal2provider.26a2753":"2021-04-26T23:44:06.087Z","2.2.0-preview.d9ced84":"2021-04-27T00:01:06.004Z","2.2.0-preview.58c29b0":"2021-04-27T00:09:29.767Z","2.2.0-preview.4cd4f64":"2021-04-27T00:12:26.748Z","2.2.0-preview.6a6e114":"2021-04-27T00:13:17.403Z","2.2.0-next.teamsprovider.9d48fb0":"2021-04-27T00:21:27.230Z","2.2.0-next.file.fa685e8":"2021-04-28T01:18:02.817Z","2.2.0-preview.1078dff":"2021-04-28T01:26:10.490Z","2.2.0-next.multi-accounts.1078dff":"2021-04-28T02:51:54.568Z","2.2.0-next.multi-accounts.5ab75ad":"2021-04-28T04:59:05.091Z","2.2.0-preview.9f2ad63":"2021-04-29T05:27:52.934Z","2.2.0-next.build21.ac47b2b":"2021-04-29T18:01:46.292Z","2.2.0-preview.0f11f03":"2021-05-06T00:07:02.062Z","2.2.0-preview.e2e7e5b":"2021-05-06T03:36:09.765Z","2.2.0-preview.4614c37":"2021-05-06T03:53:21.877Z","2.2.0-next.teamsprovider.16b1f8c":"2021-05-06T04:12:53.216Z","2.2.0-preview.f1e4120":"2021-05-06T04:19:03.113Z","2.2.0-preview.fea9bdc":"2021-05-06T04:20:21.699Z","2.2.0-preview.cffdc6f":"2021-05-06T04:21:01.373Z","2.2.0-preview.9d9833e":"2021-05-06T15:55:16.829Z","2.2.0-preview.0a84ed7":"2021-05-06T16:30:27.559Z","2.2.0-preview.b795a38":"2021-05-07T16:03:12.974Z","2.2.0-preview.59932a5":"2021-05-07T16:35:22.497Z","2.2.0-preview.4924a05":"2021-05-11T15:47:10.209Z","2.2.0-preview.9ab296f":"2021-05-11T17:45:36.813Z","2.2.0-preview.9a98dfd":"2021-05-12T15:45:34.245Z","2.2.0-preview.c78e58d":"2021-05-12T15:57:31.110Z","2.2.0-preview.05ee2b6":"2021-05-12T16:49:02.463Z","2.2.0-preview.cfd7620":"2021-05-14T02:41:57.869Z","2.2.0-preview.11d7c4e":"2021-05-17T16:34:30.510Z","2.2.0-preview.fd2ea1f":"2021-05-18T18:42:03.111Z","2.2.0-preview.8bc691b":"2021-05-18T21:36:22.570Z","2.2.0-preview.e2d6d4f":"2021-05-18T21:43:03.797Z","2.2.0-preview.46c0b6a":"2021-05-19T00:15:31.680Z","2.2.0-preview.29756ff":"2021-05-19T05:40:23.940Z","2.2.0-next.mgt-spfx-react.20ff3a3":"2021-05-19T06:09:13.061Z","2.2.0-next.mgt-spfx-react.1b4102f":"2021-05-19T06:46:34.339Z","2.2.0-next.mgt-spfx-react.98e3bf7":"2021-05-19T07:06:33.418Z","2.2.0-next.mgt-spfx-react.4010c23":"2021-05-19T07:59:57.197Z","2.2.0-next.mgt-spfx-react.49c1ef2":"2021-05-19T08:23:01.301Z","2.2.0-next.mgt-spfx-react.a981fcb":"2021-05-19T08:30:59.318Z","2.2.0-next.mgt-spfx-react.eed2c5e":"2021-05-19T08:57:06.016Z","2.2.0-preview.43b849f":"2021-05-19T09:17:19.877Z","2.2.0-preview.9f6e67b":"2021-05-19T17:29:21.277Z","2.2.0":"2021-05-20T04:58:30.610Z","2.3.0-next.build21.b0a0338":"2021-05-20T05:21:20.411Z","2.3.0-next.teamsprovider.525dfc2":"2021-05-20T05:22:37.528Z","2.3.0-next.multi-accounts.f43055d":"2021-05-20T05:23:01.005Z","2.3.0-preview.537508d":"2021-05-20T16:39:30.296Z","2.3.0-preview.12a6937":"2021-05-20T16:53:22.812Z","2.3.0-preview.ef38de5":"2021-05-21T16:08:21.710Z","2.3.0-preview.7d92278":"2021-05-28T20:49:55.155Z","2.3.0-preview.0bef136":"2021-06-01T17:17:08.112Z","2.3.0-preview.87be56d":"2021-06-01T21:32:17.748Z","2.3.0-preview.0f0dd86":"2021-06-08T16:39:26.381Z","2.3.0-preview.5b5332e":"2021-06-09T17:06:29.961Z","2.3.0-preview.6cd510e":"2021-06-10T16:41:50.118Z","2.3.0-preview.6ed8919":"2021-06-15T16:36:32.178Z","2.3.0-preview.66a5bbb":"2021-06-17T19:06:20.059Z","2.3.0-next.teamsprovider.b00c20b":"2021-06-18T00:05:13.138Z","2.3.0-next.teamsprovider.6ffd83f":"2021-06-18T05:03:11.718Z","2.3.0-preview.666f9d1":"2021-06-29T16:58:30.055Z","2.3.0-preview.7fa7999":"2021-06-29T21:12:33.060Z","2.3.0-preview.e487fab":"2021-06-29T21:33:10.466Z","2.3.0-preview.4acb698":"2021-06-30T21:56:11.595Z","2.3.0-preview.928dfe2":"2021-07-02T04:46:07.609Z","2.3.0-preview.07b40fa":"2021-07-07T22:59:11.868Z","2.3.0-preview.a36676d":"2021-07-12T21:27:07.391Z","2.3.0-preview.6a59054":"2021-07-13T15:51:30.688Z","2.3.0-preview.a0098fe":"2021-07-13T16:50:56.432Z","2.3.0-preview.43eafb1":"2021-07-13T16:51:45.494Z","2.3.0-preview.a927a2c":"2021-07-13T17:00:02.524Z","2.2.1":"2021-07-16T00:08:16.652Z","2.2.1-preview.10e98e4":"2021-07-19T18:45:41.125Z","2.2.1-preview.174f472":"2021-07-19T20:18:07.871Z","2.2.1-preview.5e1e8e2":"2021-07-19T21:42:09.208Z","2.2.1-next.teamsprovider.e6d920a":"2021-07-19T21:53:45.805Z","2.2.1-preview.187ccb8":"2021-07-22T16:33:08.447Z","2.2.1-preview.b2c06db":"2021-07-27T16:34:52.070Z","2.2.1-next.fluentui.b2c06db":"2021-07-27T21:12:29.139Z","2.2.1-preview.e4e242a":"2021-08-03T16:35:59.474Z","2.2.1-next.multi-accounts.c6af111":"2021-08-04T19:20:02.831Z","2.2.1-preview.4ff1c72":"2021-08-05T21:12:57.813Z","2.2.1-preview.e848cf8":"2021-08-09T22:42:39.190Z","2.2.1-next.fluentui.e848cf8":"2021-08-10T17:59:02.598Z","2.2.1-preview.896ffcf":"2021-08-10T18:04:12.710Z","2.2.1-next.fluentui.896ffcf":"2021-08-10T18:04:26.599Z","2.2.1-preview.e8e3e98":"2021-08-16T21:09:29.805Z","2.2.1-preview.3ec9072":"2021-08-17T02:46:31.295Z","2.2.1-preview.c447888":"2021-08-17T15:19:40.430Z","2.2.1-preview.b98ff32":"2021-08-17T16:01:07.821Z","2.2.1-preview.2940a69":"2021-08-17T16:33:40.029Z","2.2.1-preview.d4e6c24":"2021-08-17T18:40:24.194Z","2.2.1-next.fluentui.d4e6c24":"2021-08-17T19:23:04.459Z","2.2.1-preview.f4dbf0b":"2021-08-18T21:07:05.566Z","2.2.1-next.fluentui.f4dbf0b":"2021-08-19T01:20:45.740Z","3.0.0-next.fluentui.f3262aa":"2021-08-19T01:49:56.171Z","2.3.0-preview.5b9fd62":"2021-08-24T20:05:49.771Z","3.0.0-next.fluentui.cef0a0b":"2021-08-25T00:59:26.786Z","3.0.0-next.fluentui.985eaf1":"2021-08-25T01:17:25.961Z","2.3.0-preview.695479b":"2021-08-26T19:10:43.324Z","2.3.0-preview.16b6ac0":"2021-08-27T00:59:55.678Z","2.3.0-preview.be732c6":"2021-08-27T16:57:55.405Z","2.3.0-preview.2385e24":"2021-08-30T21:07:44.901Z","3.0.0-next.fluentui.03a2336":"2021-09-01T00:42:10.390Z","2.3.0-preview.aaf6d02":"2021-09-01T19:23:38.535Z","2.3.0-preview.3877d84":"2021-09-01T21:23:06.674Z","3.0.0-next.fluentui.ea07a06":"2021-09-01T21:51:53.349Z","2.3.0":"2021-09-08T19:22:28.080Z","2.3.1-preview.8579fb6":"2021-09-08T19:44:25.390Z","2.3.1-preview.80de89a":"2021-09-14T16:44:12.048Z","3.0.0-next.fluentui.321e6fd":"2021-09-15T19:49:31.282Z","2.3.1-next.teamsfx.80de89a":"2021-09-15T20:07:39.900Z","2.3.1-preview.cc042b3":"2021-09-15T20:20:08.139Z","2.3.1-preview.4cea86c":"2021-09-15T21:32:28.812Z","2.3.1-preview.e68a1e6":"2021-09-21T17:03:28.212Z","2.3.1-preview.ebaf278":"2021-09-22T19:55:49.763Z","3.0.0-next.fluentui.51aa656":"2021-09-23T18:40:28.330Z","3.0.0-next.fluentui.e5e86bd":"2021-09-29T19:51:39.963Z","2.3.1-preview.c46de5d":"2021-10-07T00:28:36.321Z","2.3.1-preview.2193f2a":"2021-10-12T20:36:28.195Z","2.3.1-preview.d17a8f2":"2021-10-19T17:05:29.400Z","2.3.1-preview.1cd7291":"2021-10-21T16:17:56.798Z","2.3.1-next.groupTypeTest.5d84b38":"2021-10-21T17:42:26.972Z","3.0.0-next.fluentui.77e1b20":"2021-10-21T23:41:47.726Z","2.3.1-preview.ca31949":"2021-10-21T23:44:26.539Z","2.3.1-next.groupTypeTest.07d923a":"2021-10-21T23:44:57.460Z","2.3.1-preview.a25353a":"2021-10-28T16:39:23.177Z","3.0.0-next.fluentui.80494f5":"2021-11-02T16:56:55.665Z","2.3.1-preview.83d39ad":"2021-11-03T19:24:43.544Z","2.3.1-preview.d30ed97":"2021-11-04T15:15:33.323Z","2.3.1-preview.c34f024":"2021-11-04T15:17:22.188Z","2.3.1-preview.d92acdc":"2021-11-04T15:18:57.272Z","2.3.1-preview.7255a8e":"2021-11-04T15:31:13.009Z","2.3.1-preview.8f6b77e":"2021-11-04T15:32:26.775Z","2.3.1-preview.448db9a":"2021-11-04T15:34:25.741Z","2.3.1-preview.4e37983":"2021-11-04T15:56:30.882Z","2.3.1-next.groupTypeTest.e879764":"2021-11-04T15:59:41.769Z","2.3.1-preview.39c451e":"2021-11-04T16:09:16.643Z","3.0.0-next.fluentui.dc3193d":"2021-11-04T16:43:02.094Z","2.3.1-preview.ad6b37a":"2021-11-09T17:57:00.439Z","2.3.1-next.teamsfx.ad6b37a":"2021-11-15T22:01:07.643Z","2.3.1-next.teamsfx.a197188":"2021-11-15T22:29:13.386Z","2.3.1-preview.d7be81c":"2021-11-15T23:22:14.042Z","2.3.1-preview.9a3d2c5":"2021-11-18T23:39:26.726Z","2.3.1-preview.4c06fbb":"2021-11-19T19:57:58.693Z","2.3.1":"2021-11-19T20:01:40.070Z","2.3.2-preview.5526841":"2021-11-19T21:11:20.783Z","2.3.2-preview.4d255b9":"2021-11-23T17:46:17.128Z","2.3.2-next.teamsfx.7e81e81":"2021-11-26T16:12:41.576Z","2.3.2-next.teamsfx.58b042d":"2021-11-30T06:45:17.585Z","2.3.2-preview.fe9b274":"2021-12-01T16:11:40.152Z","2.3.2-preview.c3a8640":"2021-12-02T09:15:58.318Z","2.3.2-preview.021cf76":"2021-12-03T12:40:21.852Z","2.3.2-preview.28d74c8":"2021-12-07T14:39:04.393Z","2.3.2-preview.d9fd80d":"2021-12-07T17:37:02.299Z","2.3.2-preview.9601f9b":"2021-12-10T19:13:32.111Z","2.3.2-preview.43e9fcc":"2021-12-14T18:03:31.220Z","2.3.2-preview.4985b46":"2021-12-17T17:53:26.688Z","2.3.2-preview.644b051":"2021-12-17T18:08:13.597Z","2.3.2-next.teamsfx.54e0d43":"2021-12-30T15:17:53.714Z","2.3.2-next.teamsfx.4e8eb35":"2022-01-13T21:05:23.131Z","2.3.2-next.teamsfx.6f1c31e":"2022-01-17T16:31:54.999Z","2.3.2-preview.4568219":"2022-01-20T14:53:04.098Z","2.3.2-preview.d4facaf":"2022-01-20T16:03:55.901Z","2.3.2-preview.ec1a5bf":"2022-01-27T17:51:02.198Z","2.3.2-preview.95c8403":"2022-02-02T19:13:21.844Z","2.3.2-preview.0a4638a":"2022-02-02T21:17:05.414Z","2.3.2":"2022-02-04T16:29:17.655Z","2.3.2-next.teamsfx.f5fc7d2":"2022-02-09T22:51:56.044Z","2.3.3-preview.077f967":"2022-02-16T12:57:03.241Z","2.3.3-preview.65d69e8":"2022-02-16T16:56:16.564Z","2.3.3-preview.b8ef724":"2022-02-17T12:27:10.320Z","2.3.3-preview.d80c70d":"2022-02-21T11:23:30.407Z","2.3.3-preview.2476946":"2022-02-24T17:13:52.426Z","2.3.3-preview.e9be8b8":"2022-02-28T16:40:37.948Z","2.3.3-preview.ec0c375":"2022-02-28T16:58:03.966Z","2.3.3-preview.922affc":"2022-02-28T17:13:23.131Z","2.3.3-preview.74be0a1":"2022-03-01T18:45:21.500Z","2.3.3-preview.8cf1b74":"2022-03-03T17:55:48.839Z","2.3.3-preview.e9920ef":"2022-03-04T14:14:36.726Z","2.3.3-preview.ae546e2":"2022-03-04T16:16:03.607Z","2.3.3-preview.8217c1a":"2022-03-04T16:24:21.600Z","2.4.0":"2022-03-07T16:38:11.428Z","2.4.1-next.teamsfx.a559bcd":"2022-03-07T22:54:55.142Z","2.4.1-next.teamsfx.3511fba":"2022-03-08T16:53:34.811Z","2.4.1-preview.cad3584":"2022-03-14T17:02:14.778Z","2.4.1-next.teamsfx.053a600":"2022-03-16T11:45:08.336Z","2.4.1-preview.bb3ec27":"2022-04-25T08:38:17.571Z","2.4.1-next.teamsfx.c5a7f44":"2022-05-09T18:05:16.087Z","2.4.1-preview.6d73855":"2022-05-11T07:33:31.406Z","2.4.1-next.teamsfx.1552a26":"2022-05-11T17:05:08.414Z","2.4.1-preview.5709ebd":"2022-05-16T08:16:01.950Z","2.4.1-preview.3f6085a":"2022-05-16T11:35:56.563Z","2.4.1-preview.c1cd1af":"2022-05-16T12:25:42.092Z","2.4.1-preview.148aa7d":"2022-05-17T13:14:11.478Z","2.4.1-next.teamsfx.15637c7":"2022-05-17T19:58:10.405Z","2.4.1-preview.f78c398":"2022-05-19T07:19:09.135Z","2.4.1-preview.ef729c8":"2022-05-19T11:35:56.811Z","2.4.1-next.teamsfx.7b93d57":"2022-05-19T16:55:30.629Z","2.4.1-preview.30ec91b":"2022-05-19T18:00:16.309Z","2.4.1-preview.6c124f0":"2022-05-19T19:02:03.065Z","2.4.1-preview.26f8d31":"2022-05-19T19:25:00.491Z","2.4.1-preview.4936d97":"2022-05-19T20:10:42.294Z","2.4.1-next.teamsfx.7125261":"2022-05-19T20:13:03.588Z","2.4.1-preview.f33e416":"2022-05-20T13:25:45.863Z","2.4.1-next.teamsfx.5936a19":"2022-05-20T16:12:31.040Z","2.4.1-preview.6b037dc":"2022-05-20T16:22:57.809Z","2.5.0":"2022-05-20T16:52:10.834Z","2.5.1-preview.cf6141c":"2022-05-20T16:58:26.079Z","2.5.1-preview.dffa85d":"2022-05-23T11:29:41.413Z","2.4.1-next.teamsfx.8d56785":"2022-05-23T13:18:40.213Z","2.5.1":"2022-05-23T13:58:24.692Z","2.5.2-preview.d8554fb":"2022-05-24T09:42:51.378Z","2.5.2-preview.3b75893":"2022-05-24T11:19:58.003Z","2.5.2":"2022-05-24T13:58:04.399Z","2.5.3-preview.7e34648":"2022-05-26T07:17:46.188Z","2.5.3-preview.774b7f2":"2022-06-09T14:49:30.114Z","2.5.3-preview.600eaa6":"2022-06-13T17:01:05.666Z","2.5.3-preview.b339cab":"2022-06-20T13:59:00.691Z","2.5.3-preview.cd03a35":"2022-06-23T17:46:11.206Z","2.5.3-next.fluentui.fe24fe9":"2022-06-28T14:10:15.116Z","2.5.3-preview.c1307fe":"2022-06-30T18:24:33.161Z","2.5.3-preview.6b8ff09":"2022-07-04T16:05:40.678Z","2.5.3-preview.d26f83f":"2022-07-04T16:17:12.606Z","2.5.3-preview.40fc41e":"2022-07-13T10:21:06.049Z","2.5.3-preview.9a2fe66":"2022-07-14T10:41:06.662Z","2.5.3-preview.4877f5d":"2022-07-19T16:49:17.107Z","2.5.3-preview.884992a":"2022-07-20T13:15:14.955Z","2.6.0-preview.e984aed":"2022-07-20T16:14:30.060Z","2.6.0":"2022-07-20T16:16:56.408Z","2.6.1-preview.c46e418":"2022-07-20T22:55:46.853Z","2.6.1-next.fluent-deps.5690b07":"2022-07-29T16:27:15.727Z","2.6.1-preview.03eddcf":"2022-07-29T16:30:13.308Z","3.0.0-next.fluent-deps.4bc5741":"2022-07-29T19:15:33.707Z","3.0.0-next.fluentui.5063d12":"2022-08-01T21:21:02.884Z","2.6.1-preview.964204d":"2022-08-02T11:11:01.407Z","2.6.1-preview.32a71d6":"2022-08-04T18:41:39.042Z","3.0.0-next.fluentui.f570cf7":"2022-08-05T07:23:40.518Z","2.6.1-preview.be9c83e":"2022-08-05T17:31:30.840Z","3.0.0-next.login-design.005c735":"2022-08-16T18:33:35.002Z","3.0.0-next.login-design.7e06837":"2022-08-16T21:08:29.248Z","3.0.0-next.fluentui.4ad569b":"2022-08-16T21:15:35.327Z","3.0.0-next.login-design.8a19bd7":"2022-08-22T23:23:57.741Z","3.0.0-next.login-design.c873cc8":"2022-08-23T00:34:51.043Z","3.0.0-next.login-design.06300ed":"2022-08-23T17:14:16.917Z","3.0.0-next.login-design.f35bb03":"2022-08-23T17:55:48.239Z","2.6.1-preview.5606784":"2022-08-23T21:21:54.089Z","3.0.0-next.lit-element-update.c752368":"2022-08-25T15:38:40.629Z","3.0.0-next.fluentui.f074652":"2022-08-25T16:25:36.059Z","2.6.2-preview.fbce175":"2022-08-25T17:36:32.018Z","2.6.1":"2022-08-25T17:37:10.227Z","3.0.0-next.fluentui.069309d":"2022-08-29T13:01:25.705Z","3.0.0-next.login-design.17a198b":"2022-08-29T17:57:14.482Z","3.0.0-next.lit-element-update.b2049e0":"2022-08-29T22:47:44.075Z","3.0.0-next.fluentui.710d6b9":"2022-09-02T10:27:55.468Z","3.0.0-next.lit-element-update.9f5ae34":"2022-09-02T10:35:09.341Z","3.0.0-next.lit-element-update.dbb1f26":"2022-09-02T10:42:49.216Z","3.0.0-next.fluentui.7c782ff":"2022-09-02T10:43:00.279Z","3.0.0-next.fluentui.8c99782":"2022-09-02T10:43:30.391Z","2.6.2-preview.84d32e7":"2022-09-02T11:26:08.410Z","2.6.2-preview.7e6e7b1":"2022-09-02T12:01:46.490Z","3.0.0-next.fluentui.3bf6159":"2022-09-02T17:08:30.444Z","2.6.2-preview.652a6cc":"2022-09-07T12:21:14.796Z","2.6.2-preview.6dca0ba":"2022-09-08T11:01:47.490Z","2.6.2-preview.25175be":"2022-09-08T11:18:27.763Z","3.0.0-next.fluentui.a05b7aa":"2022-09-08T12:16:39.472Z","3.0.0-next.wc-registration.78ad2b0":"2022-09-08T23:27:15.687Z","3.0.0-next.wc-registration.2bfc7a4":"2022-09-09T16:02:11.757Z","3.0.0-next.wc-registration.6de1a26":"2022-09-09T22:21:40.496Z","3.0.0-next.wc-registration.6628282":"2022-09-12T07:43:33.001Z","2.6.2-preview.b8d6891":"2022-09-14T12:02:41.701Z","2.6.2-preview.2b4b09b":"2022-09-15T12:20:59.550Z","3.0.0-next.merge.cdd49dc":"2022-09-15T17:10:00.627Z","2.6.2-preview.240f756":"2022-09-15T20:41:48.795Z","3.0.0-next.fluentui.731bba4":"2022-09-15T20:44:21.510Z","3.0.0-next.wc-registration-samples.bfd19e8":"2022-09-16T00:03:32.518Z","2.6.2-preview.6b44779":"2022-09-21T02:19:43.595Z","3.0.0-next.wc-registration-samples.29dc0f9":"2022-09-22T00:48:51.531Z","3.0.0-next.wc-registration.38d8b01":"2022-09-22T00:54:23.365Z","3.0.0-next.wc-registration-samples.e987922":"2022-09-22T16:28:47.961Z","3.0.0-next.wc-registration-samples.6363b76":"2022-09-22T16:40:35.540Z","3.0.0-next.wc-registration.244b27c":"2022-09-22T17:02:47.461Z","2.6.2-preview.37b4cf2":"2022-09-27T08:39:19.442Z","3.0.0-next.fluentui.21549f8":"2022-10-05T11:33:54.219Z","2.6.2-preview.3ebaa98":"2022-10-11T10:23:48.043Z","2.6.2-preview.4164940":"2022-10-11T10:36:33.267Z","2.6.2-preview.73dc57e":"2022-10-13T14:16:05.893Z","2.6.3-preview.592c5fe":"2022-10-14T19:32:01.349Z","2.6.2":"2022-10-14T21:19:56.995Z","2.6.3-preview.20bd6cf":"2022-10-17T15:56:18.241Z","2.6.3-preview.cd06fe2":"2022-10-18T15:08:36.286Z","3.0.0-next.wc-registration.412c250":"2022-10-18T23:14:01.420Z","3.0.0-next.wc-registration.71a05b0":"2022-10-20T15:15:59.906Z","2.6.3-preview.41de8c4":"2022-10-21T15:36:58.514Z","2.6.3-preview.7bd958e":"2022-10-21T15:55:30.720Z","3.0.0-next.node16-support.f415340":"2022-10-21T21:49:05.847Z","3.0.0-next.wc-registration-utils.8b6e9e0":"2022-10-25T18:27:52.390Z","3.0.0-next.wc-registration.43194e0":"2022-10-25T21:51:39.074Z","2.6.3-preview.d93bde7":"2022-10-25T22:16:40.881Z","2.6.3-preview.9a98e07":"2022-10-25T22:28:59.379Z","2.6.3-preview.adcc63c":"2022-10-26T23:26:52.395Z","3.0.0-next.fluentui.a573bdf":"2022-10-26T23:27:39.641Z","3.0.0-next.wc-registration-utils.89e938e":"2022-10-27T22:28:46.550Z","2.7.1-preview.1b0bf78":"2022-10-27T22:49:54.492Z","2.7.0":"2022-10-28T17:56:12.229Z","2.7.1-next.fix-people-picker-flyout-a11y.b72c3c1":"2022-10-31T16:47:23.547Z","2.7.1-preview.3b1dfba":"2022-11-01T14:27:08.099Z","2.7.1-next.fix-people-picker-flyout-a11y.0210f09":"2022-11-01T17:38:36.205Z","2.7.1-preview.37d1add":"2022-11-01T21:53:13.011Z","3.0.0-next.wc-registration-utils.537a9a2":"2022-11-01T22:00:48.291Z","3.0.0-next.wc-registration-utils.0dde7ba":"2022-11-02T16:58:23.742Z","2.7.1":"2022-11-02T18:40:27.453Z","3.0.0-next.fix-msal2-provider.89cb1c3":"2022-11-02T23:59:55.889Z","2.7.1-preview.728e578":"2022-11-03T16:02:55.581Z","3.0.0-next.fluentui.dd41eb1":"2022-11-04T16:39:19.719Z","2.7.1-preview.ce9da92":"2022-11-09T21:32:51.752Z","2.7.1-preview.4e59158":"2022-11-10T22:54:27.885Z","2.7.1-preview.041c71e":"2022-11-14T08:27:31.340Z","2.7.1-preview.a5e3807":"2022-11-14T21:55:55.116Z","3.0.0-next.fluentui.47b4840":"2022-11-16T17:01:45.731Z","2.7.1-preview.4ac80bb":"2022-11-17T16:42:14.285Z","2.7.1-preview.1b67cf6":"2022-11-21T06:42:23.024Z","2.7.1-preview.22b204a":"2022-11-23T16:45:36.142Z","3.0.0-next.wip.b8de53b":"2022-11-28T23:21:38.159Z","2.7.1-preview.39774a0":"2022-11-29T06:57:27.505Z","3.0.0-next.wip.09a2115":"2022-11-29T15:38:05.010Z","2.7.1-preview.ab34e64":"2022-11-29T17:25:24.188Z","2.7.1-preview.ae3c0b1":"2022-11-30T18:01:48.013Z","2.7.1-preview.f9e2145":"2022-12-01T17:26:40.752Z","2.8.1-preview.ab8f39c":"2022-12-02T00:53:45.229Z","2.8.0":"2022-12-02T02:28:53.066Z","3.0.0-next.wip.31dfb9e":"2022-12-06T15:54:45.463Z","3.0.0-next.fluentui.1edf635":"2022-12-06T16:38:10.116Z","2.8.1-preview.b2cbbf2":"2022-12-14T19:00:23.211Z","2.8.1-preview.92206b9":"2022-12-14T23:11:05.632Z","2.8.1-preview.2f03ee5":"2022-12-15T17:36:39.301Z","2.8.1-preview.911c07c":"2022-12-15T18:19:39.149Z","2.9.1-preview.75d11a6":"2022-12-15T23:16:35.012Z","2.9.0":"2022-12-16T17:39:16.915Z","3.0.0-next.enhanced-file-list.02f4ec6":"2023-01-05T23:12:12.523Z","3.0.0-next.fluentui.d919752":"2023-01-24T18:56:49.597Z","3.0.0-next.fluentui.5ac2099":"2023-01-24T20:07:51.427Z","3.0.0-next.wc-registration-utils.fd01cf2":"2023-01-24T22:23:04.777Z","2.9.1-preview.5b32c5f":"2023-01-24T22:59:42.165Z","3.0.0-next.wc-registration-utils.5e5069a":"2023-01-25T22:19:00.062Z","3.0.0-next.enhanced-file-list.49c3edd":"2023-01-25T23:25:51.856Z","3.0.0-next.fluentui.9e00738":"2023-01-26T18:43:31.942Z","3.0.0-next.wc-registration-utils.050527a":"2023-01-30T23:43:39.672Z","3.0.0-next.wc-registration-utils.0509e40":"2023-01-31T22:27:09.406Z","3.0.0-next.wc-registration-utils.6ca9b59":"2023-02-02T20:53:42.370Z","3.0.0-next.fluentui.6317ccf":"2023-02-02T21:00:32.275Z","3.0.0-next.fluentui.42c7be8":"2023-02-06T16:15:41.592Z","3.0.0-next.fluentui.bbd5da4":"2023-02-06T16:43:55.568Z","3.0.0-next.fluentui.d7247a0":"2023-02-08T16:32:06.649Z","3.0.0-next.fluentui.21e4246":"2023-02-09T18:17:17.615Z","3.0.0-next.dark-toggle.badd280":"2023-02-09T21:36:39.938Z","3.0.0-next.dark-toggle.1d08034":"2023-02-09T21:48:16.562Z","2.9.1-preview.b38f17f":"2023-02-10T10:47:48.122Z","3.0.0-next.dark-toggle.a302768":"2023-02-10T10:49:44.448Z","3.0.0-next.fluentui.11e6807":"2023-02-14T15:39:00.819Z","3.0.0-next.dark-toggle.5e7a689":"2023-02-15T08:09:23.815Z","3.0.0-next.fluentui.9961926":"2023-02-15T08:22:50.637Z","3.0.0-next.fluentui.e105885":"2023-02-15T19:58:38.594Z","3.0.0-next.disambiguation-util-fixes.4e42078":"2023-02-23T04:57:08.084Z","3.0.0-next.fluentui.66c2e6c":"2023-02-23T15:41:27.356Z","3.0.0-next.disambiguation-util-fixes.1d8e4c2":"2023-02-23T15:53:19.527Z","3.0.0-next.fluentui.b2e5d8b":"2023-02-23T18:16:29.524Z","3.0.0-next.disambiguation-util-fixes.aecf062":"2023-02-23T18:17:30.913Z","3.0.0-next.fluentui.e8531bd":"2023-02-23T18:33:31.683Z","3.0.0-next.fluentui.2771544":"2023-02-24T08:55:47.820Z","3.0.0-next.fix-grid.b9de2aa":"2023-02-27T18:49:29.169Z","3.0.0-next.fix-grid.0fb1ed9":"2023-02-27T20:00:01.114Z","3.0.0-preview.1-next.preview-pipeline.98f942f":"2023-03-01T04:30:48.457Z","3.0.0-preview.1-next.preview-pipeline.2fbf258":"2023-03-01T20:38:03.586Z","3.0.0-preview.1-next.preview-pipeline.8bf3848":"2023-03-01T21:06:12.234Z","2.9.1":"2023-03-02T02:06:20.701Z","3.0.0-preview.1-next.fluentui.840b6b6":"2023-03-02T15:23:43.646Z","3.0.0-preview.1-next.fluentui.96740ab":"2023-03-02T15:44:13.451Z","2.9.2-preview.7a233db":"2023-03-02T18:40:19.101Z","3.0.0-preview.1-next.fluentui.94e390b":"2023-03-02T19:01:17.683Z","3.0.0-preview.1":"2023-03-02T19:25:02.183Z","2.9.2":"2023-03-02T19:58:19.216Z","3.0.0-preview.1-next.mgt-chat.187d652":"2023-03-09T15:42:20.831Z","3.0.0-preview.1-next.fix-grid.2de2c03":"2023-03-10T17:31:51.750Z","2.9.2-preview.0f68f60":"2023-03-13T16:58:27.119Z","3.0.0-preview.1-next.fluentui.89b79e9":"2023-03-14T15:47:54.770Z","3.0.0-preview.1-next.mgt-chat.aff9384":"2023-03-15T04:36:46.012Z","3.0.0-preview.1-next.mgt-chat.8fc20a0":"2023-03-17T10:47:10.026Z","3.0.0-preview.1-next.mgt-chat.97255fa":"2023-03-21T20:08:35.782Z","3.0.0-preview.1-next.fix-grid.e6fdc87":"2023-03-22T23:11:19.857Z","3.0.0-preview.1-next.fix-grid.c4830fa":"2023-03-27T23:26:32.440Z","3.0.0-preview.1-next.fix-grid.48046d0":"2023-03-28T19:50:12.044Z","3.0.0-preview.1-next.fix-grid.3757af9":"2023-03-28T21:58:06.183Z","2.9.2-preview.59301ab":"2023-03-29T19:31:08.363Z","2.9.2-preview.8f7eac6":"2023-03-31T18:11:11.241Z","2.9.2-preview.9b600de":"2023-04-03T15:03:49.948Z","2.10.0":"2023-04-06T17:31:28.300Z","2.10.0-preview.4ffcb44":"2023-04-06T17:39:36.496Z","2.10.1-preview.a1e61f1":"2023-04-06T17:54:07.469Z","3.0.0-preview.1-next.fluentui.2970a44":"2023-04-14T18:28:48.697Z","2.10.1-preview.aafdc5e":"2023-04-18T06:20:18.646Z","3.0.0-preview.1-next.fluentui.ae05e3f":"2023-04-18T06:30:46.077Z","3.0.0-preview.1-next.mgt-chat.8d2c8ef":"2023-04-19T09:26:13.340Z","3.0.0-preview.1-next.fluentui.40b87f9":"2023-04-20T13:36:14.756Z","3.0.0-preview.1-next.fix-grid.78d65b7":"2023-04-20T18:39:11.663Z","3.0.0-preview.1-next.fix-grid.7d785be":"2023-04-20T21:53:45.699Z","3.0.0-preview.1-next.fix-grid.45f8631":"2023-04-20T22:35:24.558Z","2.10.1-preview.721dbe4":"2023-04-24T09:30:49.138Z","3.0.0-preview.1-next.fluentui.1ebb02f":"2023-04-24T13:08:53.871Z","2.10.1-preview.c60567d":"2023-04-24T19:42:18.850Z","2.10.1-preview.711a233":"2023-04-25T09:44:11.696Z","3.0.0-preview.1-next.fluentui.fc4f1e0":"2023-04-25T18:18:36.629Z","2.10.1-preview.274af2c":"2023-04-25T20:25:57.728Z","3.0.0-preview.1-next.fluentui.c7bf047":"2023-04-28T18:48:20.480Z","2.10.1-preview.6488705":"2023-04-28T22:06:13.254Z","2.10.1":"2023-05-01T14:18:49.692Z","2.10.2-preview.3c4d620":"2023-05-02T16:05:48.174Z","3.0.0-preview.1-next.fluentui.87e6c2f":"2023-05-02T19:05:45.166Z","3.0.0-preview.1-next.mgt-chat.f7f90d6":"2023-05-03T08:23:59.655Z","3.0.0-preview.1-next.fluentui.4863995":"2023-05-03T14:18:29.338Z","3.0.0-preview.1-next.fluentui.1c9face":"2023-05-03T16:21:19.302Z","2.10.2-preview.7b701d0":"2023-05-08T08:30:38.569Z","3.0.0-preview.1-next.mgt-chat.5a03007":"2023-05-08T14:05:17.276Z","2.10.2-preview.d27858c":"2023-05-09T14:43:30.751Z","3.0.0-preview.1-next.fluentui.3677936":"2023-05-09T16:54:47.774Z","3.0.0-preview.1-next.fluentui.4e3d898":"2023-05-09T18:24:26.800Z","3.0.0-preview.1-next.mgt-chat.15a0fdb":"2023-05-09T21:03:58.266Z","3.0.0-preview.1-next.fix-grid.656f294":"2023-05-09T21:38:54.752Z","3.0.0-preview.1-next.fix-grid.a34c8fc":"2023-05-09T22:13:40.686Z","3.0.0-preview.2-next.fluentui.5dd2cad":"2023-05-09T22:17:59.471Z","3.0.0-preview.2":"2023-05-09T22:28:47.629Z","3.0.0-preview.1-next.mgt-chat.6a93d6b":"2023-05-10T15:53:23.313Z","3.0.0-preview.2-next.fluentui.ab2ddda":"2023-05-16T10:29:18.039Z","2.10.2-preview.071f3d5":"2023-05-22T10:53:49.201Z","2.10.2-preview.9f8953a":"2023-05-26T09:40:58.942Z","2.10.2-preview.b095694":"2023-06-01T16:01:33.899Z","2.11.0-preview.a8902ac":"2023-06-01T18:12:05.987Z","2.11.0":"2023-06-01T18:33:33.002Z","2.11.1-preview.4025f6f":"2023-06-02T17:08:38.674Z","2.11.1":"2023-06-02T17:26:06.641Z","2.11.1-preview.00b68e6":"2023-06-06T14:28:03.051Z","2.11.2-preview.4dac3ba":"2023-06-26T18:22:34.841Z","2.11.2":"2023-06-26T18:38:41.362Z"},"bugs":{"url":"https://github.com/microsoftgraph/microsoft-graph-toolkit/issues"},"author":{"name":"Microsoft"},"license":"MIT","homepage":"https://github.com/microsoftgraph/microsoft-graph-toolkit","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","auth","authentication"],"repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"description":"The Microsoft Graph Toolkit Teams Provider","maintainers":[{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"microsoft-oss-publishing@microsoft.com","name":"microsoft-oss-releases"},{"email":"mgt-npm@microsoft.com","name":"microsoft-graph-toolkit"}],"readme":"# Microsoft Graph Toolkit Microsoft Teams Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-provider)\n\n⚠️⚠️⚠️ This package is no longer receiving new features and will only receive critical bug and security fixes. All new applications should use [`@microsoft/mgt-teamsfx-provider`](https://learn.microsoft.com/graph/toolkit/providers/teamsfx) instead. ⚠️⚠️⚠️\n\nThe `@microsoft/mgt-teams-provider` package exposes the `TeamsProvider` class to be used inside your Microsoft Teams tab applications to authenticate users, to call Microsoft Graph, and to power the mgt components. The provider is built on top of [msal.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-core) and supports interactive authentication on the client via the Implicit Grant flow.\n\nFor Single Sing-On (SSO) support or interactive authentication based on the more secure OAuth 2.0 Authorization Code Flow with PKCE, please use the [`@microsoft/mgt-teams-msal2-provider`](https://learn.microsoft.com/graph/toolkit/providers/teams-msal2) instead.\n\nThe [Microsoft Graph Toolkit (mgt)](https://aka.ms/mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.\n\n[See docs for full documentation of the TeamsProvider](https://learn.microsoft.com/graph/toolkit/providers/teams)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all authentication on your behalf.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page)\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsProvider} from '@microsoft/mgt-teams-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\"\n                        authority=\"\"></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://learn.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","readmeFilename":"README.md"}