{"_id":"@microsoft/mgt-teams-sso-provider","_rev":"38-c0c759168ce10281224149124da203cf","name":"@microsoft/mgt-teams-sso-provider","dist-tags":{"latest":"2.3.0-next.teamsprovider.6ffd83f","next":"2.3.0-preview.695479b","next.fluentui":"3.0.0-next.fluentui.03a2336"},"versions":{"2.3.0-next.teamsprovider.6ffd83f":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.3.0-next.teamsprovider.6ffd83f","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-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":"ac44408d6eece118aad613756b503f2f8a3a3f41","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.3.0-next.teamsprovider.6ffd83f.tgz","fileCount":18,"integrity":"sha512-CtNtCyZL9n6iAZaSaL4T6F2wcg7aNKfMnpLQl5SYVOIoz2+XmWtwJHCoeNh9zAb/JB82y7q/VdgWXXUz/FfYDA==","signatures":[{"sig":"MEYCIQDzP9oKGLWC9W1JPa8IR+87syPPkP+Qy9qfPtXOTWRcbAIhAJivmvgZn1iXoWoafjssPQr85ey4HyfJ5S3dauzJ5elM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":933526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzCkTCRA9TVsSAnZWagAA2VQP/i4/UakfqlnlgKUjEHvd\n1yQksBMxxNp1jU0WhKuOt1xR+umPs6T/BHvgAIOPxNEgwg+YLY8wmBsTW9SS\nVt7CY5cp8jGOA8f4OwYp4ePy5L0gd4rCskHtH/Z1VSHxgujmNkCBbNhf2tkD\nWIOuzrY6kKHYAnEfohadMTqysqdU+Tn6IXbn87w2MwzBLBxUDAdpazUXAzqQ\nYgbvDTUQRf9oaC8ctc9TncMJqpXKENP/LXV/+sKg/frGcuC4c2xc2NZKccrw\nkqtdiPXyv5ONyCPtAyHMsTwCNjusFtykvjlInkFHa3SA6KnT1qFlXj/5XAQY\n33VbN+GOGTiSVVhq6CPtuI7OeExkq0tWdqE5BEHk9+x1Y1Rod/j0If4ABI5V\n8+UoZnBYzWkU8H+2f0he9/me8LIsh6dGoHbZ2rIrfexfHQDm97mentZyc5Og\nuIRTj6grAeyRZCgOX9ibThwiJi4IaqOWnHj0RUGCZzdaARw7YVkIwiNN543E\nR3y1HxLIo7nn145yUUGOL7uZ4k03HmDe1v9LpVPv6nXyLq25hzEs5xZqIps8\nm+Y2k1FQYWn6nGkB+s8149MtCIIqf00NQKAsbHcwk2+lLU1cW2z66Q5EkwNt\nocJfHYVHP5hfGAgFy1EI5tf8B2RRDVHv/WDwjuvi8sagXrD1pU4ZRMHa3dAd\nVTUi\r\n=kv/e\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":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.12","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.3.0-next.teamsprovider.6ffd83f","@microsoft/mgt-msal2-provider":"2.3.0-next.teamsprovider.6ffd83f","@microsoft/microsoft-graph-client":"^2.2.1"},"publishConfig":{"directory":"dist"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mgt-teams-sso-provider_2.3.0-next.teamsprovider.6ffd83f_1623992594789_0.9692757717740543","host":"s3://npm-registry-packages"}},"2.2.1-next.teamsprovider.e6d920a":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-next.teamsprovider.e6d920a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-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":"6f62610d1883a1f021985b01e8c60b783e4ec446","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-next.teamsprovider.e6d920a.tgz","fileCount":18,"integrity":"sha512-34KgXDttLLV0nav3+HzTm0S8RbfU68t3+zA/C5HMlYUmd98BuAHHn/KNTC+B9ie9Pztp1cnm5cpgaU0BtdxsXA==","signatures":[{"sig":"MEQCIDIfvImYiQjj56RRFhaR5hfE67EDIRj4N04VTqE1K6UoAiBY0Sw1ShAG421eRMILt7O+MGywTZM6Xhx0uO/taM1NCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":937740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9fRwCRA9TVsSAnZWagAAAR0P/i4rsr2AO4Q2c8p4Abdv\n9N4ONq1AgYqxeI7luMJPKOpLddBJtYghQ6LHUBTt5oKJJPoeUFgFkrz/bqs8\niFXe5bYRQsJbvWGQoioxf1BwLzG9PBEZDFTKzR/Bq2pauc/k7GUzTg7nKjAT\nc2CdX1IwBTTRQ2GRaLYmQDO/Bvt9gU5411p22w/0WKS2CQY/z+394O8jO17S\nkoWm137/W2BNsL81QLkEaWSNla1ge/WcZMcIMb2e3UXsoE7p1IcEsyhgCBTL\nPOE/8brVyoIHBohnVQvbIMlm/eLih16zuZKtMgcwtPmJUBYSHDLN7RKiQypP\nJPKZ/S7IHjubwjrccvgKFA+xZ++c2xvAGiM7jSRyOwOS8+Tj2cN8pna98DTV\njEfYutsp5lUL44MXSSfp4WiTNW5DHfTiwhLR5wOjcoM8b9Q12s3jXwAtduYo\n5vwKOiGCTRcyU2YoJtHNOBnY5g7fNY/DtjyxtJ+vsybboFhZQmpDKfdm1LGL\ne+WzuNi8DFaHMHCYLEs5tlrz4hlk7QwsYnW7iry+DhivMjePxjHZjmkafrK0\nwJbFWtupYxWGMEwxySv4bvjPC4HrVA51Gxu5lTedt7G6b3feLpG29qTnUPaK\n3xvSVmmA86S3Kn0FM0GK1efrfSBCwfseXKEU+ThN9lN7vmCei0feSK1xGPFu\nAskr\r\n=+StS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-next.teamsprovider.e6d920a","@microsoft/mgt-msal2-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-sso-provider_2.2.1-next.teamsprovider.e6d920a_1626731632176_0.9729184516541751","host":"s3://npm-registry-packages"}},"2.2.1-preview.187ccb8":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.187ccb8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.187ccb8","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"5ba2ee6c2b8d0463d0771ff9ae73188bb62860cd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.187ccb8.tgz","fileCount":18,"integrity":"sha512-CQYSJfPeoUGLY5DBb3dtPXtXzi3ijCgNXJHFYgYyHNAZ015HTY9DZwx4oHMA2qGltJ80JIbZe70UTRImF9weYw==","signatures":[{"sig":"MEQCIBXU6QI9N0n5kFRzA3oTEYqxzoft+g4ixWXKDRugij5yAiAN+VWOxCjTXlsq2ap/ujJEPVED9EXIHNfYcLMNrmy6nQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":937707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+Z3ICRA9TVsSAnZWagAAXMUQAKJgCHCUtgGps1222nAj\ncmA41LtV7BpotrVhFGEOPxiQF5N1nTyxo429UYjb5f5pGSzL3uQhWZo+GgBh\n3FHxNZNeWu4t/5q2tfgz9E6djR9hWiD4zlmQyBCE/j4dxrcan74s7sRAxuRX\nEmUYiLzajVHK1uX6Q/ngrSSGrof6QxgMpMVSCEOHjlAV6z+np7YnDpGQni+k\njox4foKInxPB5D+i6Zpx8OuGBqR+nmR7lkaCHAsZ1IAd31X+sUe4UHHPdU8T\nEhqcSkd90/PgzKnZ2M8fjcP2oLkZrCLCcyE12nZpjoaGvIoeYK5UGT6VdSyv\nJmlUoHo6yMWN2b7e/sEaNBKn+zXmOleAKWxYkklZdGY5BrM+qETpB4ORj0it\n0xG+002ZoypRuTW6nNx2ZqZnTQP5BqCrTx3fzEVVIruIJP39ZNH7GzzgKaOF\nvDhOQiI7Z7TDQI/0PSo34/vvheP1T14ikfcj1HeodJhegt3E+EqCVXwhP32Y\nqUQkQBzsLK061lPDWnxhEBSh6cx9h7ny8Wt+LQ70hl3yusPlLF2ezHXM04A8\nDheqE/Fg0emT87gcqCrR8I2XI1RE85wRNoJH/8FkhoGH15j8s/Rq5dlGpyqp\n9hHS61juDQzETDKjh9tIdq1t2udzODi62eYGIHbdfSceYVuNP8Q5ddhKNE6l\nxsCa\r\n=xPmc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.187ccb8","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.187ccb8_1626971591937_0.9691460356241608","host":"s3://npm-registry-packages"}},"2.2.1-preview.b2c06db":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.b2c06db","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.b2c06db","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"8f242cdcf88ed23b4461af571b2c591e26f5574e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.b2c06db.tgz","fileCount":18,"integrity":"sha512-Jl3eiklKFN+trmBRo3l+xlJfGRy+GvPCbxq/sqWDxq6sZUgc9gQhWq82Dj/VQr07YjXerzNot9poEmJ0BoN4FA==","signatures":[{"sig":"MEQCIHpnjxMe7G31s+rqssx02D2PaRKwhEs2ylPxZrRiNu3XAiAyIuMPZoBq81O0kyZPHr6g/RadYMlH7aHzEDfib/mmXg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":939786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhADWwCRA9TVsSAnZWagAAc2oP/281oty36DlOBssaONUj\nPjuvnoD5DTaQy6QjQsh3pZYc5LfxCDGDIhNPD9ov6xFF0UdtbS5UuOWKmzaF\nIQnVqolnVF26fodS5niuGf/8gdoWpbhwjMDrTjT5HatUQKS2H9/0KfvEemSp\nPTJAYx9eoByiuJ9IVuxEos02WzaNmKjjHlN6MzHU06PaiDX7NWuAgcqxnCQ+\nEAiKWJNyOJksYYoqvIg0dlpjhGiVl02hnePEviLD9nvL6kJ9O+vbpy0dvJ+a\nrD3ateihU/iE+3h1zh469hfLYn7yHhkkTUZ4fhJhbjSVVug/tgo9tWxJXE70\nH7+us6pKz286O0owarndAA/0DEtOvWzOU15qTytolQfrFg/i9UE5E+yobTgO\nO5MadCHrJ7wGlzf4RXuTNjJtNhJgec7ncYLe4kmuluLW8/R3K8HAqgYLeIGL\nq3tR4d+R5Bvw9wfM3U2yJlM4ADLFEzRcHAAgBTEpyCVLI095tIPcu2mTewJK\n/eEFzxZiYV4Rks6e8zJTZTQi+KT/npaKPkbO1Fty5RvqBVESVX+z9Vx4rs77\nSu3kQDgXWZLkYuaUm58pPQbh5YAS4JhM/4jIiBlgeNsOilJXjxMEWG2On0Fb\nrSFR88WrEeDQ0o3bgkLDRvKsPRSSswmah3Swtyfenbi/IkK9/cQt2dpbtHVu\nix1x\r\n=C8fw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.b2c06db","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.b2c06db_1627403695906_0.4636553715278662","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.b2c06db":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-next.fluentui.b2c06db","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-next.fluentui.b2c06db","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"4a811ddae58d676e082a6fd5b817dc66c91cb975","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-next.fluentui.b2c06db.tgz","fileCount":18,"integrity":"sha512-CQgvqHfTAbDKT8iI88cIbccUA7KSlcZBb6sy67Uw5Zhj1bqD4ZJY5pzarxelBExJmqrVhnnpUP9ezTIQeFIlcw==","signatures":[{"sig":"MEUCIQD8g+MWHnWY5yo2608d5uErPVA1VTfBv1aZdkS6+wxn/gIgB3Hj7Q/AdCbLgPUf7K5FuBu+0xa//ZF10QIQ6VPCHBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":939804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAHbACRA9TVsSAnZWagAA60MQAKMj4Oqv1eJq9oGq+ZPQ\ndV6KPB9MVC73MHxJX90Esa1Hj4cfmBErtjlzqGQvT28Ft0cPEYp0DA+xgRfU\njJdC3T5umJtA6lxnwq7tHLMwWuu22GUjU077xxIVj7WCeWCzTFvlfTtzzMsE\neN79DTUpKkzbtTlGb+HeQOK4TUIHyMoi6N0V/HVZ7yye+ccrrD8HHxcskWyr\ngiaGm9uIN6JFfs/daSoqUDdZgsemDldqRwJWRpe7OOmmh0JoM4orj5MEuSYp\noDBhGhPymEgP2prv0QimXxMTGCeyicbuJU5cYd+PGpmpewYiiH7CzvtgS83i\nISXArI8suCSK9Efk89ZpyVR9v90O1MQayXQAW9XiUTWTkZh41HfiXIJlPZDP\nkFea8+eUlTiU9gZjGCDgS27mYdfakb7a3RZi6E4mjvBKiWZLsTNdA9RInZTo\n0V1aNzwUO5opD4bImt8VkRR5EUUt2hZS40iYvCdHxj2RakT87BfMLPCw4mwd\n1emTD+mYvYW/fNRKbiqDXg/rN+jQTWJRmGSmWXczdgXLiviUK8fIhzQNc1Q8\nuthDAdCKJeO3+Pe7G+eiZ7dQKty+LuZxGjGqFTk3tPRWj+d2Sy0VpaRb0vYo\nlwsqZ6FR295cDkdEnE8BtIZf/Tdun4t6qhQq5vaStF4L3i0qPWHM1zKcnZri\nQ34e\r\n=rtvT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-next.fluentui.b2c06db","@microsoft/mgt-msal2-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-sso-provider_2.2.1-next.fluentui.b2c06db_1627420352089_0.5770835014957827","host":"s3://npm-registry-packages"}},"2.2.1-preview.e4e242a":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.e4e242a","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.e4e242a","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"5f9d86245dc25751a6db91737a0806ef70c7af74","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.e4e242a.tgz","fileCount":18,"integrity":"sha512-Ml7i+V06n7QOvvFOyAOnO+5a4Pd1K9pXVvJyzaNO7uGuA0x92wSHpnNQ7+dDz6fX8P8Waqy3sUaT4TYFtT+rEg==","signatures":[{"sig":"MEYCIQDF05DNSv4LGWuE0N3vSVkZ+ea1iomymJaAkAG6SGILswIhALo2++6mD1GIyfsC+pFPBlehjimwvcPgnYm8U6745L+1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCXBzCRA9TVsSAnZWagAA3t8P/0ko8IIdz+AxqxvTu7PI\nWhIbywelHl2rzSKrekzVH/Upzq3XnWhwp2yMTeYtQR53sv2OjQvPyzVjC2c2\nGDERxwjoIcgtd7AejRSwaA8G2tm7OkJu2QxljwTm3Fiwqk4mCY2sKATAGAXv\nDcv34L67Ud2i74EzEiWEedfRGI4dzctoPAjy0KYjhbgVr6SmejlsORKwjxOC\n9u16GMeBYly3fU0r+YHyZoqyY3dzo+ztx7/QmWmnyci2xBfNqhhHqp5b11C9\nduIxK0cQZ5mx/E4y9VxDGSAM4PaLSDpwPBYIYH/zc/xwSy7isLKiDEYcv+gD\ntxIvKVLAs3W/wSjP4gYDW0c+D86roYjTLp+qKnDBP51kKcbN5gI2BQ6V0qP7\nWRwfqkfxIAl8eUHRubbH5PZz7Eqf+cjDQwzoiIevigJmJxG3wRaTuH24I0Ar\nlMHFAy5l2WojJSu+w5GtLobybkGp6DGIK77JgIhXwI+h320MnunmFM9t04d2\nCjnUe6qKUc6aBGjBi5vpdJwBHc+uE09cqI1Au+fBFhxAfjgJuwVpu9lediUg\no3CQGttWV0JSQSOGZN2WDm/UyNCOMrk8aCMqRi/SUpmxWjr+/JoTOmSr1hbE\nH8yoMDo27RKlQe+vdhSCbjyN71c7BorlSVKVf5EoKzzVo1DGC5hW6d8m5u6U\nPlG8\r\n=xaaU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.13","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.e4e242a","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.e4e242a_1628008563020_0.35073899917577367","host":"s3://npm-registry-packages"}},"2.2.1-next.multi-accounts.c6af111":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-next.multi-accounts.c6af111","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-next.multi-accounts.c6af111","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"c53c0c69ea3a25ed2c3c8b09f397d9cc363ffc15","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-next.multi-accounts.c6af111.tgz","fileCount":18,"integrity":"sha512-TuF74HvWs3jrwqyODJgGt+NS+vpG5oySHRqAMd9Iub/NI1BTlH9V/XhM7dIyc3EW0VOK8N6Po0X0T7QcMtH3SQ==","signatures":[{"sig":"MEUCICncU9K65yvXz1I4XhPogv3ymI7l9XLtBkj2YzkuRMF9AiEAzMW4tOCGAKOBJSkJuiPcFDfWte7/nJBUVo0P8+sMQsU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCuhiCRA9TVsSAnZWagAAaF4QAJ0ltkx2qJlaTPxk+OPJ\nmQf7axDX+yNNkToCttns8IiG7jnMhVv2jRm4d4LT+kLruEiJw2YleAmVbyba\niIPnRNArG9jSG2ZZxLUfnSl2GMG4iB7skxwHgcshtujtg1NdT8t3LHkmN0f0\n83bbxzwpaBJ+Zv9b3idsmdxDbRm50aQERwz+8sek1SlL//zcn0/5r5ekgUEu\njClBMzJEhOJitcyW/U+HXeW19ohybhHqV4nR2tXpmaPcLK2MGedQrHaY6ji+\nc/KswPhoPVN9Ve4LX+ZspPhx0b/vDy3ZskhuOoJRUzZ5EOcVsZkH6A9gfSDg\nykRmcOgRBD+TPMzh0W4JJAzsBgnOLWeHJro3gc5sWHcoLPrkDDETYsxQeC56\noDAsfHJQ5ub5eyXvG79rCP24KZbLbPmrBHR/Ej7dFCyBiklfRKfMLeMmsSJ+\nJvRItosqioswTwOR8oiw9bMVKQdl9AQnoRgGFKEgpB4HvlpOQbzU8f95LznW\nm0wxueSPdp98rWeKsKB5aDX9d2U7fHPxZesO65W833hSaJ9a55tnysriB0cF\n+gYSWyNhJxqpDCVqfOV9LmOqXwYkcHIqZNYc+JW4s0RjFSrkAf5EHNbYjSK7\nrvSZlUq5pxZBZU7cQ6PkdCuSRujWry1TorrpnmULOydqjOQ0iqxMFqDCVp5M\n0eF/\r\n=rmJ3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-next.multi-accounts.c6af111","@microsoft/mgt-msal2-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-sso-provider_2.2.1-next.multi-accounts.c6af111_1628104802356_0.5107318592728889","host":"s3://npm-registry-packages"}},"2.2.1-preview.4ff1c72":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.4ff1c72","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.4ff1c72","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"ce11c2442d27d7f81b7e51d79730f589746c5cfb","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.4ff1c72.tgz","fileCount":18,"integrity":"sha512-JtA2s0CJhZ+WxysxNBAsm/KlJ8CwHOjton348mQQ6zAt9djqCyd26sGLlDdBoFq4OQDlBgh5btDwgDRI/d6X4Q==","signatures":[{"sig":"MEUCIQDzB/yI/sdQiOLj+cRnpI36p51P4D3uPxZ8mujxybgtFwIgEGI/xDGqS/+ZP5H0aea+e+nyFcVgFbiAYnwSHJGTyhY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDFRdCRA9TVsSAnZWagAAGPEP/jhMJmPJPdyZ2lyY6BZo\nbKGll2UHVfCtCIJ+ZKX+1HSWQdZGPh37J2TYZHaDGfsgkrKAtC+K8AfHv/CH\nJIblCyPkHd+eu6ZN0aSmF8/motZN8NQVs5UsCfqL6w1UkZwnwTPebtJTgY4B\n0DCfWHzQ4Y5qOvZ73xbv31L3L0dMO5O8HgS1R/6KJGnIM8yraKwnM3yV1Usj\n/V/0wp8oa92RvuMrMR28o4lZkm2GyEho3uvm5JHZ4O4joiv3SVhDyinDZeny\nRy6nCrh+GOcHAv3HqSK+f7s/IYdWfqk/CZAKXfFvQf7uxEGb5qteVx9xLH3a\nemvfooXq8B1lDaHEuTrwtBj+JoqKFEtxnJoQGiW+sPmZv1nRnDbCr3JpcR8S\nm/qpd9eSKWs5LypcHk2pFyNHqt8KCHeGjX+3OH6xjL6j22wQoaGMm61nTZ39\nqFyiFscUTKPDOj636sAjK055XejiExUOa6gW61aZk/1jB7zQxMIbXDQYvD2E\nFnPV5a4vQonmqO3gyPkiVzM0vlIf5ghJi4T4hewgBHY2kxy+YYNzbGl0J3pG\nvpDd5Hvzi03Yg/OlYafd33PLd2L+L7tgV+4CqVKe7rmxNXpVXmXo0/9n8nex\nj3HPmzlxNXXiMjXtw9TAbP6YRFkt3iVe9jL15HPcZD7Ww5O0FUMgqnvyS8i8\nRFrD\r\n=yn5U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.4ff1c72","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.4ff1c72_1628197981280_0.2855160814770541","host":"s3://npm-registry-packages"}},"2.2.1-preview.e848cf8":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.e848cf8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.e848cf8","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"08a5d4335f87b4eb08b9df8badc3bb6d00369e99","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.e848cf8.tgz","fileCount":18,"integrity":"sha512-fg7LXzX5fYvqdjQGv438eqBo1hf1Hwl/kzENtAIUbO9dL9Cf2iypnE6x8kniM3koWLcUaVapp6+Z5Fo0pGuJkA==","signatures":[{"sig":"MEYCIQDSrEYm9Llrqfqh8/inBZNdaXCQy+mEyyt22F7dMTxf1gIhALUXQOoY7m81vNn0AtULhDUAG7jSOO4VMT/nsNQH3A+u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEa9iCRA9TVsSAnZWagAA8yEP+wcYtrlcu2xe0imPtq+G\nUSLLixhsHYOyLNRwceeXRUof8zTGUCPtiLvksPcNVHvcwty3FJkUY8hPCIav\n/M7/cLXH9+57gD97LvStyKm0mdUtHgz5fHzqyxJyDxPIQMLL+/M7iFajvK0y\n0x51/uc2d/ulXvfOfRhfOoChbLvU9KB0e8vvORS5D8E4L9kE1nR3pi5v0e0w\nSdjZVEBoMTAB1ar2OXxajoY8t6HwV7Xj3zDFWfcIOH4RsmSw9GFtBPdRvdzb\nMelA2NXoQTEOhTdk+huZs+fH6zmfIl35bJpl6lSqJd0BFBvo6nl/Ho6XKKk5\nAMu8H7VBYzy9ohx6ScIcTLM7rC4G7ymb6Wkg/poLq5gU3Hs/M30fBk4tSq9d\nMDeciAKuz2/ONq+f1HK8n0jgXPtXRzxD3kRCHzjBuokGhK4qAESqA1w++qXu\nqa/rSQKKc1/CNJ/Vam6vmt1d7gIaNYGXkgM749SD//kDeJ9TrOROAWYc+/xY\noNDHyPSHRs9reral4niV1NaDi0cbvI0oBp8kuW1hdz9yjjd2to5l4vlMvYig\n5rTBlDgAkkF7iQW0b9KKKJK8+pI2L6KgoXDAnU0anL9/6fX5NoZE7SWR67cR\nLTnyVMUOCQINiqDHMMkboz9Qc1LNR1yK1aJOcu4yJJa+IXn1qDVaWpIDK+2o\nqFAp\r\n=2kS+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.e848cf8","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.e848cf8_1628548962120_0.848106945267757","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.e848cf8":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-next.fluentui.e848cf8","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-next.fluentui.e848cf8","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"33bc0bdd7a75eeb14c30b5f5dd395a026425d417","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-next.fluentui.e848cf8.tgz","fileCount":18,"integrity":"sha512-vuCY2+QPcpH9EHDi0+RwD9//crYMsTiC/dUHLb3CGxCnW7Tikqxu2u+ODprmwzHD9jng6cg24L/ggaxGbp556g==","signatures":[{"sig":"MEUCIEXMtcam158dbYehmBfFWUQhoT7E8xwS+hx5QOE2iPERAiEAokw17z3miTdxn7fSByyR/bZn3AjMNquWBW7Gfk3jB+0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEr5iCRA9TVsSAnZWagAAYSkQAJcipDOb6QCOeyKAABH6\nWGcP3qDueuId9MSJT6nWz4QYn7otI4TYD6RHfzXWXDf+RX0Z6rdaTbf7uYiW\n26GPmvCNZ/KJWBnWxuev5ZYz8B09hmJ5W/Y1mcHFm7BFvPBU1Dvy4dxEGRCV\nI7SrvMjKcjE4rwB8ZdVL6aB/kXBM02S3b0mHcDjsXktR5pGu3m7JSB2wvUUG\nryTK4/ibKf9IfCuH5g1FVnomzgm7LCwHvdhbhcqgsAS02HmMilzbGa4cJodW\n+cOe+WnAFUqyCahSurSGVn77U+XX9hcQxKY1GQ+DmXez1ai65zBs98ksTIaW\nAKS2hGp1wvO15OrU2bz3/1+ZuhGKwmbiFksfvcGwsx3HyNaEeIHTE2rB4fWO\nJsQQMGhY2SyP+Gd364Cp1xBMma0aPBSukcUsZRvhgf1MZiTMzmIVTezcduRf\nAq+/A4lu+4X7oBqHguU+t9Dlffeb45XgZicccOPlxb4VY7sw20PGfmvyUIZr\nv9W/pv+DZK5uh8M7pF52i0UzlfH9C7iafXtRv5FWvvpwpM70ASEOMGmBTeeQ\nUlPa5b4l3ZmqYX4CfFn/G4aKN3f4+oymstU4rhfruAjvKWI7JcBV+IpNVcPo\nVOxFvUTZz6OXw0yfZI3ConJhAcHWCH4QTuR2r1bmNqEgR0QnYK2wj5eQvgz8\nEYhv\r\n=ejIe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-next.fluentui.e848cf8","@microsoft/mgt-msal2-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-sso-provider_2.2.1-next.fluentui.e848cf8_1628618338674_0.23385935935576252","host":"s3://npm-registry-packages"}},"2.2.1-preview.896ffcf":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.896ffcf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.896ffcf","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"623bc40b20b29d964784eeb49985c9b9e9d3483b","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.896ffcf.tgz","fileCount":18,"integrity":"sha512-1GMn4iRXqjjOYtDYVSPfePMvOqM8YTmIKn85/Y22Qenz8jlZt23VDVR1tcKxFtEL0zQ0KPxf+1TLuRX8CeziOA==","signatures":[{"sig":"MEQCIDHSChPpv6PPU0LhWPDRJUTBFekaG8NKQFMzgQfAuHC0AiBIlIm4zx+MMUpBFJoI3Fr2ZOZFSmZRuEOMQ12xljsWtg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEr+gCRA9TVsSAnZWagAAIwwP/1ELRSj8yjf3xqw4l4uA\nzbmOoEm7XSHHxXXTjmv7EUnv3RtoyW08VHXZLq1vbmp3/mbsqmg9hQxizOCT\nxWL9ri5R2P2ys5BzYMrhAPDyRxqY56+gXFm78Yxx1spaeONV7e+GYC0eIXB0\ncWce9fJLRF6AspfvG4JefJUq2gxb6XpI8mLw4gX+QdQ++bxOF+Jvia88Ujek\nfsZ09S/afV29RZDPiQaDueLBS5YcKRzKHIvkhewek/cZmWU0sT9FQuBOKyRi\nkUdxG7AdphFOqAizC5UGjexCEDM62h1ZdwS3bNHa+lEPpA/ELsig0QaSldGc\nKRNr91BPQApnyoM95/R8UZoy3IbGYuUi+6BR37xKStJB4aFQrpKdpzX6fUXq\nbXh2GueLGd9fYDd8zFmWHx3IEdXFpPUfZ6N48+hzCJL629S6s9ngMWJTb4tY\nZjlYPKRB+xDo7xP9lAGSGAyQzK36PmJ3Iz0waj6xhxF0MiRPEw27y23Ho78d\niEKT+GR9/VZwgZBpIoB33uXHZG+57PkjXlTqGDim1En1Whm/yjwluJakjfri\nP7nMAaQ0eCbNS6rX41dWtcPYoUOqpX1LOVBosbJVo9OEEpGoMWBR23mp+cy8\nItXc2PX/dulnoUcJngUU2QTUjXCHw5lzW9jVUMRK7h6E158Jp/8gWoewbH37\nEle9\r\n=ynF0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.896ffcf","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.896ffcf_1628618655883_0.9572132716834583","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.896ffcf":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-next.fluentui.896ffcf","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-next.fluentui.896ffcf","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"05a972e31201426f92ff616a32758b467d301d70","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-next.fluentui.896ffcf.tgz","fileCount":18,"integrity":"sha512-BoIRRDf2Wm4b7W904BkWpP5J8invjCybxSTbHrZJGGQuQs7zK8+LIZ7rQ1UQ2xsGUOvnJXEl/oYlTyxXW3wfRw==","signatures":[{"sig":"MEUCIF+hW7ny8kjUoyvyepXgSz1XuPfcG3ZSIkENvMkly/7JAiEAu9JXSr+F8+GkFyGhSreV60a5grOghe8w3dRRlbm/9Es=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEr+qCRA9TVsSAnZWagAA44IQAKPHip8ikiRxnNtzNXVq\ns4XRSFUK9YadkzaWiey9mbn/jxAQEd8fz7k7rsojz9Fz/TW2v8cYcIFc75iZ\nCA06xzqPR412fSaauTGDioTQpLYDpl6NIZ8bPOrakoEsYKeP0upEEvS1tetR\nU36rKnPNYL5rh+0Q+aS44XGjLiWs9HLdrEGTsnFJ9zB+rlh0GM3Hm4DzhRaX\nkBODIeZ4AlXI+6LcvuvceCvoxOPcHda46pXMjlP+iqoekEmwxj+r8XGDbLQb\nUEXq6GrayDQozhmxGM8XaPWBREWAfmYeonWdtZ3Rur+BzcLRhZYJ0vs/oWgK\nxAP+UDyBPHBnygT22x2CCEyLKtoBkk6+4qgPBoq9evUlLBYH/YKX60KjTkkX\n4FeInbsFIErRJ9a3VYSR64CDZLMdmkM+lVOdgY+8lDyHvy+PNxA9bGPOiurW\nA0mAlCsWkFASd5qzDHpSq96IiLIhFF1eeSLFljtjK2lCw3Tr9w/f5QBg4Q+v\nAat8Za5EmDYAsp3lgqtqHGzK9diQ7kzlSIWYDrNHUujhfsPZTfxxHzCWgvxQ\n5MuV+UUogeeovz5jW1gRD6ihZBDHdKG/YWeMOgy9jFLcgGkAo4A4njRt1GLq\nUBT9fV7bJwQ9ro6KkhXBlo8e0zccIwsq6X3xQthkvW/2CEaNVDDakngXvfWj\nJLIC\r\n=rLoe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-next.fluentui.896ffcf","@microsoft/mgt-msal2-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-sso-provider_2.2.1-next.fluentui.896ffcf_1628618665866_0.12141102781244495","host":"s3://npm-registry-packages"}},"2.2.1-preview.e8e3e98":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.e8e3e98","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.e8e3e98","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"bb2b7518acb65d19af36d31db5af555017fd2954","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.e8e3e98.tgz","fileCount":18,"integrity":"sha512-rzzh/cuhSSPyOCLcjCUc8TNLwziTmtQ1spg8T8dtLSi36MuMJMta3IQf3XrkI2uwVZYvYt2PhgXl6DN9nJa0lg==","signatures":[{"sig":"MEUCIQCUkhbY/1C9DLy4WxkaRy+r2zXy1U+/5EJTGeZZzEQuEAIgLvXfUVb9vgnKOwjcyC0MPwomrdk7+IAUcqA8lrOHv3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGtQOCRA9TVsSAnZWagAAMXwQAJ9gb2BIsmlUmLc8Iw52\nwWlywupGiP+4gMoOxK0G30iS/q1TQLWlXnMQ3NwE/yXHasZ2v1/Y294oa4TI\n3Qje8Kw23JkGqwWezBvKd1wwRYfAsZ3OUV/FFr6Y/Dd1hIcD0WobI4k8uoi7\ncZ43bzwvLv549IKblHNknICMEy5jss+7N86+2cm+dpRDgUEqoat/4jDGrwho\nGMtGhnF7hTs3zcOWFVJZib1ziXyThBfFS1cCyIj6717iqDTK0weFhKVOwdeL\nLPt3AyXH4rNursbpFJv7yf2xZWVrv0SKNHmm8hmbelSgoN5PTxQdjBXxqFHA\n1eVl9uOYNAKUzwh4P1ADFsUyJHKW1F8xCpCH3LFLoIhoyGvYO1aJCVChsmax\nIY+OcjT8ix2XLJKwIKG1XefYGzuxQaGAxydaNl3qpbaDv/oVodHsyqQWjBVU\n4voUlQHuPEG5HjtOHhEhM5EETkzGe/gmXRGh9PCX6vF9uwVaxmDk19UkseB9\nRFc2o3rjcR5EytkapCDVsjemZakZcWrD36YIrth+5jZmN6edfZ3tH/WVKAxr\nElDrr8+jfhCBYy75xT7OhG8hUe/NnRsZTKlsUcGBPJ58eoA3maNDbtg53XPN\nchfnNyeXfSz/dU5loB540aL4X4GApkgvsEBO2O6htacwjap1bWXjH1x634el\niV/P\r\n=rZO2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.e8e3e98","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.e8e3e98_1629148173856_0.12585454796473217","host":"s3://npm-registry-packages"}},"2.2.1-preview.3ec9072":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.3ec9072","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.3ec9072","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"34a9fa556dcd31f4f41b0f12b2fbdea060a6536e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.3ec9072.tgz","fileCount":18,"integrity":"sha512-JH50DWQuJlE1Pro6tVNHLsqT9WrhxTdx32eTva+8xPRZ6RFPYzlSGujqDvi7hrBLDFlIIuOcDyr1G838pOk1/g==","signatures":[{"sig":"MEUCIQCYrise/BzUDYsnsJU2bn9yLb3mohxFpfOGFlx0ZmGT6QIgcTgynHkyLSaYsfGlzfui1OWx9bOF8AGO5Wom74Sf4TY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGyMJCRA9TVsSAnZWagAA2DEP+wZwoA/R7iYxTjl34Hsc\nBBi8AB5iEZ461J0g+dLy8aW9K+T22vF/yAffxDneKAGfw4NOb7qvnqLodrn+\nbcmf0kMRVvbuD6p95+c0XKXVNdVTJgO4iU77Wazcl5z8KZ4sTAsgX9jOdaSX\n9gKBasVylCYpZrDtAVuQYpRPnRmo7LZPltWjg7WC7OXZEURpzxtPDBIAIoVf\nwQyhI1kk2Fpg8nObvZrzY5ACjRZMS9hX0I6cN1gDeAfjoZ8dyZWUtq4TWUbF\nQw+YSIBOk4IAJtZ+pei8lpfGOErEiX/StZtH3/s9qfDvnDWJlfs0gC4XBoG2\nXk+V1P/medxZQAd6hjQPUFncqgqSHVA8IRF/CIbnOhxwwZbo9+wTgtAmXIP/\nnd2jOdB18uo8bFfW1CqxeEUjWxk+ajF+MO/acu+yZDKJs8pDoQQ+yL5Er9cH\nmmtDZPgG7otI4lIaLpy6bcyfBPAjkRWXMte0Vbe98Xv3hm3+2G0VgJzCDoO1\nozZ/a/S8A6AAGIJsvEx7c57FmVRNnzS/tJfC8OpuYBPaiT0nranAIS+P6fnT\nR8XaSminFZQTOdGwWXTqqKwHwmlGvgkg9cfvOhOq/+UFSW9nJ2j2to8ypMPu\nAKefGE6iMbtLi/ArByq1rCwxeeG+OMBciZQTAZIWC9kfrmpILdrO446X5iHG\nnaxa\r\n=mR6b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.3ec9072","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.3ec9072_1629168393744_0.39380985376424293","host":"s3://npm-registry-packages"}},"2.2.1-preview.c447888":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.c447888","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.c447888","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"4f754f4f11cd736c0cb5dd85c866427c87ec1805","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.c447888.tgz","fileCount":18,"integrity":"sha512-cxF74HtV+5g4GTvu+fqUn0TkE/Zdd/yNMx8IToUNbSpBFczLvZzTJZH128q+ywnivEw0q3ZBNjjK/EXVwKmzsg==","signatures":[{"sig":"MEQCIDTxzwrKrJ6hCkgYG9a8eKM4kZL6qI/x77EJ9pSSPzTHAiBZ1IXktbnnvWf1s2BrsdVoq24AhTv5iW/iix886d+lag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG9OQCRA9TVsSAnZWagAAX6oP/RyuCsWgJl0Y8skL3EiX\nHiEvgKZ6Vh+49qUbtelELUQ1+Ue9j7MegSyUK78t05VUz77TLhzbAsksz37L\nD7khlnOGaILe65RjhPMOtyO/ymWYu0KNE3YHQ9hcGiahQs8hHFpfCd652VdR\n+E47VMsQMytwgCN/8SywxjbpKLmnFTXWWbyqy+9Uidlkp0MDTVsL2dg2ilmI\nNormp371+KVsmfQ6ycmNv5HjyYjNtJ1KNlFddFz/nn9fPYUaWC4/ZkvCCMnx\nBnUb79OKxvQDtJEr8BgVJqGbIwSi6oiohfGlgty/kdVWVNP3kNVDCrALmJyh\nogdkJ8qIeHt4PXXGjg4CrCSvxMAnV6/gMnvhKuphI4iWYSCgI68Fswsy55rS\nTtiAtdYbOIhMZ1eoqWb86uQw75XQNs9OTNHLp8Kyoc5CjCKbTeTxsF1NICEs\nIs1QYrObkZMixwkVZXWP0LdHhR+BForvQqGjLCzvs7xsqkhvwuZkLQcoNqls\nsezIsAn831b2+qAUyDJajL2GoJ6Qit3WdcxpX/yt1DQyJs8Dc2xQeJPharBi\nXAixaoPCCP6JJ9IFpPYtwhs4Xv1YjMEkrDYOSxSKrVif+W1u2o1/5cDiwjbm\nQs8h7z+t9VRI7eKTev5xdistU3SbQfAqC11PRo7jKAiF7oeix1zFzGfNXlrs\n4QLT\r\n=U/AS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.c447888","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.c447888_1629213584348_0.13525514685636053","host":"s3://npm-registry-packages"}},"2.2.1-preview.b98ff32":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.b98ff32","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.b98ff32","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"4580ac95b5bc51795d856052a7f3810c0ed3c704","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.b98ff32.tgz","fileCount":18,"integrity":"sha512-LlSCawACkcDykuu/m1mTrpelPu8QutqqGiKEin7GKJHAz+uAWASrZRgbWd4O1WzeBkn2yImnjvzR3NH7C/WYag==","signatures":[{"sig":"MEUCIFVubGGjZuNO7wsZlfV1HCt8JH+egPChbaPn5SuCuHDmAiEA5hYgr2HeY3B74x4ygimpAMAAsR+yYNeHZ5tkmLaYgvQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG91ICRA9TVsSAnZWagAA4pMQAKUFuKMRRbVY8oKTzcda\nzukAKXmfe7iWjDMG2p7cIT+ItTFwNPlPAxfdWyUPgvpqp5GrnHwJhT1ICY0N\nN93EkRPEWSzhR1NY8SEHOI2Dy3jufdxqFA9fLCJQmXYM/H33X+6jHb3MCvKY\nMnQCnrGbM+KPsDv1X8VNxTzCAOQmZUrEQdQv8Svf3ocXKLivOclTTqfMxqe3\n7nQbyudNBaI+xw+iZbgZSFr7bF95ZSrnh91bYvu37OzzYdQcAs/CPO2tofID\nqDJGQs9VVKgCMP9wEcLjA5quaoWm5Ahdks+kb5IA/AfY/iPHFXXaBU8mj88t\nzbZJ55+pjFWbX3P3/maDiRlBcx0KBwc+H8OuFfHr9ErqFqwWYKRPNjzvA5cA\nGuB72WA7oD0qmFaEmQmxUUItPEEvecjG+w+uKv9g9GfpiEdF6UIFSaH4pV3z\nqgOKoBlh14BGU1Lagp5rHXewJs9wvjb+HTLnu4mGk8loopSM8S1enLlFsKvv\nCAaXXBqdOW/JItlfcOkQ7FxeA/VdRVQZa+w+Cl3j5yG6NJzKtZCeTL+0BOFD\nTCsIQWnCZA9r6zKfPWaqbbpd6In1vOc+uJJCLzz0NP8y+sSWtUaa0/X2+Hag\nionHqyQdHa1ya04zb9yWJe7U82tYLzgcTfYcWXYAAoTab1xpeeJzSbfUVCdK\nLobw\r\n=p0Nb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.b98ff32","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.b98ff32_1629216071893_0.7127064290434424","host":"s3://npm-registry-packages"}},"2.2.1-preview.2940a69":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.2940a69","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.2940a69","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"9c33e587ffdd9c367f8e999a50924ddf7e577dfd","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.2940a69.tgz","fileCount":18,"integrity":"sha512-VTuBG0KGK6zI2NpBAuj0hBHDJGZmOhzBdEIDRj7KYg5ekEizcXWokRfFNunKxwZSkrvOWhS5PAb/EEi3sYM5vw==","signatures":[{"sig":"MEUCIDKoX1kebWbXg+3hET3s8GwXJ6JU4kBVKl5FEONDg5Y7AiEAg+H1Qy0VxSAL/G3O40H56QpfLhBsAh3D4cNCEVoErNo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG+TlCRA9TVsSAnZWagAAr2QQAJWe1xkrr3dqZs5ZTQMI\nKS02fAIy50qmhEVWzn6tBPFvO1fEetgKxXxkmm2cXEFmtIqKqrmyRN9SJWFD\noGcN52YgahkmvOjZUuofpZJmG0RtUFYEzSQjt012gTgzqyEa5+DaEZkwjkNQ\nPQnTFuhmRVKvZ1x4bG8ytXCsVSrwnOQXeXmNEYfqg4uhOWeTxHMn0T58t3DN\nuAZMvi1D/r/vXvk1VOV8YCwXjfpeCN+ncE/lqlIGrwzoDL86Zc0yQSKWohyl\nceuWJP0VuVDhUJfncb9VLw3kKjdzMLAaPoubRa0NK4WpT6moEQCmY5Xj8EbC\nk58dbzsmnOIjwoaGcJHftKcoe7JLt/1nsYRA2B8OMg1BKKTZSlu1rzkbd/GZ\nFVLOUuDLE+gm4Cptl8P3VJ83iv/8NH7DkOOH+FW8f7il7bMKhSXTwhtRjF2x\nsE2bn0Y/fy7gpHhlT+zcWFMA05iDzX+Miook1BRpcmj2s3rqk9Cu82RK6bts\nuXmIbLJP55jsB0Vcrh04/hqxuZYVaYYg5SKnjQZcsR3fzAXhW2EtNBRFnK90\nIC01LEYA0qTw7gf6RR0BQVaKtkV65ATQ7BNe7QJl+oRxiD0ESfnbJb6930s/\nvvSi6X4oThA4C3MTqmK1fQE/FY7BDWg35ixiMjKSocQ0iybmZXEAkdHMmTzQ\nAItt\r\n=+0sU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.2940a69","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.2940a69_1629218021254_0.9001461609737691","host":"s3://npm-registry-packages"}},"2.2.1-preview.d4e6c24":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.d4e6c24","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.d4e6c24","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"136d8f20bc1294c9e556acf6cfb5f9ea6eae81fc","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.d4e6c24.tgz","fileCount":18,"integrity":"sha512-AcO8tMCu2GgCe1Ri7VAd8Jw5Z7a8X1ElLXxJgN/gBUzjGLpzCf8+4+yvTbPINn94vTIn0QLn2slh7toQtdVudQ==","signatures":[{"sig":"MEUCIQDYa+ibrLmVqrqtyyKNokl7hSl1hc1FUeZ+84p8ynGclQIgfGcOz/n8vnTHAm9iWxZZ5iO6UupENZ5lzdm6TsrUPbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHAKbCRA9TVsSAnZWagAA4LYQAJJSeIJoAgPRKi86PElV\nvjnjOAs6x33axyA4vOF0z3PUaAApV07tkIy71DV2iQe4ruh58uICPCf1PG4t\nxy3cjAhuOHwinXDU2yPw23LpKtXXa0ybi6RTCyJWVBruJDKjP2Cq2mPqHKxB\nWkRtHvYlLImgrCQlc3gpnbQmm+AugP9ToiOops363dvMm0/8fWBpkIoWDzjY\nr7SbP3Mo6hJxQhPBs8nxFbAwZR4FEuF4QvkDYgpvOcHLCLhz4dGuV09PaGRb\nvlTOf+YKwezmPbgaC3n2xBqzDQ4FbCTWIcitw8Ovgu8pfr8A6/BSpc2iCwud\nW92SA29Z1EucUkcHVcozJYWAY5a91OIDdJPJH8pN3h5d7zSYNPGAJlTFRdSt\nNOaC6afyfyuEF4D/qLHYHXqZFNmROPDOpZmba7ECrWOwNlDVZjlEMEtN9U2p\nopQX52EqWsH9njzAMiBpK8PdziqTteN47JGUKh+GTi6zPehTNLdJVDAk8pJS\nCjuMBhpaHHpmSR+PDleuIXmlMEQjLwLyQxV9gt9Z90EHhmy39E6Lq6CWNOvA\nhDjF/G6B4cPDsxtQ9EFbxm2aCj8+PbJPDcsnWaIUqj+Oc+KUNCW0rFugCANl\nFgCKso5jw/Y4oaekUlzpVmuZF2KaxpnTXM9t37Pf5anWO5qi7CVaXFP971qu\njyMo\r\n=0WQS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.d4e6c24","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.d4e6c24_1629225626582_0.9752627875244753","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.d4e6c24":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-next.fluentui.d4e6c24","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-next.fluentui.d4e6c24","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"4b55727e5dc2e600c47ecd63715021ba40523dc9","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-next.fluentui.d4e6c24.tgz","fileCount":18,"integrity":"sha512-q9S8xUAsM8b4rqc1odKJzKR52KLsADXk/G+XMpBGfUorLMLaWcqgMM1IrYNaxthmQAnEW8zN7gX31/YGOwPIbg==","signatures":[{"sig":"MEQCIAooaVeAYMLoRJ7g4xYFJI9fmV+9Nbb1UpqTtDHQfVIxAiBXrRGz+fPno1i7ArJgWEgZOUNg1dRMYfqNtuPIaN1BNg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHAyaCRA9TVsSAnZWagAAZKsP/iznxNF2b2+iQ2Vw+Rwz\nTIBl4vEj8vn9tW1BxlL8UUIDJV5v1K5ZsGsM1HWlD4m60ZbhWbSPMkJFgtzV\noUYipL877MxMd9sEpPkFHbELcN84Yt/DDNKnAngewtOWuIY9ARNQiXzXRLhI\nPSze++JPq1yFwLmGCMGmLCPZO5D3QN0bipnKqF53TYzpvtDKIvNR/04GmlLc\nUXsVg9t++u9H474cfbAt2s8KNa0hfHj5yOLbLiRJbHBkpnzEOVA4EeHRyJZE\n87qcWGpPFezkLdDsWHu9bOnXyZBDQZGDBJ4pAFygUmNbPtHnu2tKjq/PvjDc\nqOlsYCCd5Qd7mORkWCcJWUTyeamWi31+bw5Mb9sB/JjC29ik8h3bpNvkNb9W\nsRYVfRvaf/A1fZZmVv8BSGz3vRwxeW1tuvM9Q1OX4XKvfY188dirEPs9ECS+\nPPOM7+DE2OM+VQDhmono+E0M6J9v95bhTr3bpjNl3UMz7LVUNpugVOUNIena\nplH2yM5VQYAxyuGVcMlM7Vx0iVVEkKi1H34OwpPIl/K1BoJMInjyCAtJ/azq\nRQIQ77diN9QXKW4A0mcV0yB610N8qrrfP3xpo1uwvtIqjPiwyATRkmgSjAa1\nQgpISU0/K1QLgvPqwmJXocAmPxx5ORwRgw+AA1wFBB7hQM2KQs1zc43zk6te\nyuXB\r\n=XfRu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-next.fluentui.d4e6c24","@microsoft/mgt-msal2-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-sso-provider_2.2.1-next.fluentui.d4e6c24_1629228185926_0.24525779166553474","host":"s3://npm-registry-packages"}},"2.2.1-preview.f4dbf0b":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-preview.f4dbf0b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-preview.f4dbf0b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"aee66447a557c44cecf6d7dd96d1fe22da096fae","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-preview.f4dbf0b.tgz","fileCount":18,"integrity":"sha512-XzuaSglNAUtiJ9WoExyilN++xyUpkQFJv/fs2D038I6Wvd8e+SQ3hmgnxye00SPcBVv8//r+yhjxvLgXuEhjgw==","signatures":[{"sig":"MEQCICw5DvgKdEOwcK6rxoJ/Bjzp9VODrvPQ05NqRcjSKFl2AiAQHtawuFDuI+gZX9KYo/Cdpx33eZQEWCN8ykvqCKyL5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHXZ8CRA9TVsSAnZWagAA3WkP/RXUFWbPBHntj+5JSGvW\nyrX6t4pDH7sYo21kWzKH17/hRhdEOE8ejB0zdxsszh6WJrppjVcq24g7VkMU\nG2uye7MVT7E0tllXVjEtYoU/nUr/FqgJ7AUkrwwycRXVeRkvumaqVNeUFwMe\nTXnF8olB/9giQ7QI2sZoVzLSi7Wl17H6zDyYe4Qm7vgKkFbsBKceCogoGGq+\nZGhx8CD94qxULTkl1EFzgJN7C+f7EABWIn2cQT8yRqLH/zZobjymGkpKg4Z+\n/q+ZDul3Kn+jUjjla5Y+lCBtSJZplVTKBspo00eYjrW5SaEi+TMTA2ttyJJC\nJwWt1fpsRO67nz+mrahN0QNPO/CZlttb1gaHxnJhaKUo6pUMUIqr0NqbfUPF\nNXmUGl0RKqda4mpHwZQM0Rayh62P3vYurXtMbeAfsj5GEe+8jnBiA8J0jpnP\nvAZB8h8QVcd3KOg0ZZ92qv2cJTCi7t9F6Z0vj0bX3NPHwOyZAPggg+bMxa2l\nWrJav/hOLHPwnDIEt2fcH3P+UkZlcSG9JSTIs9n6+ysgGbEzyvcdtXLzyb6+\nybPLvvvmaz8IgB0n25oRldeN1Ryy+/10wEJuX+OKh3ME9BpaaXaeaKxUUS05\na8QbapalAtGJQwMiF4WGYsxZYisZxLFOJhWU9OLRxIrnrmbzpAUAr9x9iWkM\nI4BX\r\n=XVe2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-preview.f4dbf0b","@microsoft/mgt-msal2-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-sso-provider_2.2.1-preview.f4dbf0b_1629320828209_0.9417357668746251","host":"s3://npm-registry-packages"}},"2.2.1-next.fluentui.f4dbf0b":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.2.1-next.fluentui.f4dbf0b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.2.1-next.fluentui.f4dbf0b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"99702af1b09366fb1f44eb32f87d102218208dda","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.2.1-next.fluentui.f4dbf0b.tgz","fileCount":18,"integrity":"sha512-vrSaop7+LnwicuR8IvUm28trVAyg+D78Quq6ZQ/yhecjODU6dDv+HVujUu73CNzkxqbSZwCi159uYIS4XmwJRw==","signatures":[{"sig":"MEUCIAcU+g3sEd7tWxjB8wHGm/IS0mpawx4hkStgFuRunlluAiEA4c3bL+xNUDRh5R+blVHD1TIqC2a+GQSGQLsIduwt3zY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHbHvCRA9TVsSAnZWagAAUx0P/2zL0bHuWCcTycRwQOUr\nUdhgfrgNBK5d8EeXnDnbf5M5JiPIfr78g+SHWw3E/AEwz4p8Zh39ri6LEIUB\nDTyyyr2hnIIsEv1dPCV3yvN+/mh4rEbf481mreYWkZEI7xsxLXiYXkRUK04K\nTs8Cz4d6NSHaMsBjdxIl71DLA/xsdIfImEbkDZlLlWcebMaIAxCnSLVytQNm\nSXXbsSqS33vVXHGZAlIKfdmJyDsycYJUTPHQNZ/OyhLm8M9z/kqOaI7y+R+T\nYVHgPuWE131GwU3Y0c1/chGoYp0OgZvX3T3RzF/kjhVoZsD3OhPICCRHFXU6\nLHmQUv3p/a0x3scWBfFPgbvWOaTD96jeSsROqALX3tYS8OO89xiTMaiYe6Sy\ntgkTO9cLXR8WQNRSoOhF6NU8qigLFBz34YEDRRXwDgtsXmlctwGNyXuphEvE\n4enkvTuHyMRZRNiNkpAPc9B0GBcsvQuk8IZKc2DEltTbfuSSzQCzXRfWr3FJ\nrsTwkgXZ3cAt6zbtAyYrxFqhE0mu0oy4DYX8OaJotZSGkz5gUd4KYQ856RRx\nyS20wBCCbdSWDTeCNW01tNBoVKYfvMy0hK/UrX+LvzT4I3zbOrydOeRiHioV\n2RcPqsL7vNDFDAhKiU6VYaKU0pqwZMyUufHH97KvyUe0LNfgfPJXIVp3qjzB\ngP4r\r\n=EmXh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.2.1-next.fluentui.f4dbf0b","@microsoft/mgt-msal2-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-sso-provider_2.2.1-next.fluentui.f4dbf0b_1629336047470_0.27407668253739725","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.f3262aa":{"name":"@microsoft/mgt-teams-sso-provider","version":"3.0.0-next.fluentui.f3262aa","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@3.0.0-next.fluentui.f3262aa","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"8adb2235151fc5a43c83e4f719c6d157d1e81ec4","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-3.0.0-next.fluentui.f3262aa.tgz","fileCount":18,"integrity":"sha512-APUbDesKckNIn6IQMOKnB3eA0uKXffPKINWi+w1ibk6gdbQhXkzJ8gkFNCygN9yLf3LPK9pXmEV3rEakgVRNxg==","signatures":[{"sig":"MEYCIQDMpYqAisd3dYCfQIm7o2jJicZCUzbGghW7shD60Jf5BAIhAMTNZkAlW0adxEdLMJFlz8gRxz25bIwouzzjHsvKP6Lp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHbjHCRA9TVsSAnZWagAA018P/3ij4n/l1Dr7Ptn8aSB1\ns+lFooRjCahgd49PPclHnkv+qLFw5BRtxKRLXL/7SKKAF69feEbfcsyTWQ+G\nTL4SnAUkxibh4zWjcv+qZCE47EJDqQl2LJx58f1vBZufGgxq3pjqkT+e8N/t\nTK+guV52bp7kyZLmd4oQtFR79P6z5t5yluhiV4RdmasMY34VHWMj18fl61DT\njico90WUUb/86rzTSy/WEyZynF7kK7IFcQV/+7ELO304KnRZ1m7Kqr7GvWIO\ncZ7MGilTpdo+j9HtTU1b4Xtmzm5u5c/4mZ+9H58PNo6dR0+klh3Vta8EPwsv\nfNOnLKm1Xqt3rKQK5gWrE0Zvs6QKacfRiqk2jlpUYOppnt9S1i7iLkKL4m4O\nCLBMvc8HZvx1qtR3EMovJIdcsKiIrZBepy4GO6BcYKts4wU6fc5Y5gKe/69B\nALwzGZ97dusyl/kqhe9cyKXeeP2NR5tvkjMVf26KYHrlx68XogXZQPXsCPlu\nbAIKeaZXG5des2dTU95KAplN2wNDoHkRYyBWK7ra0CULgkZ3+j6vBnMYkB0C\n6HdyGRBM/9x//XkzwPi/1DsCC0/FZ8S4USgYLbz3dGis9zxZ2MuBqN3+20XR\nJE0P6XDbUc9repdV0nvaPZe4scLqKD7885nyNNztM0KPSGPQSLf0QVbd/OLi\nor95\r\n=k2JC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"3.0.0-next.fluentui.f3262aa","@microsoft/mgt-msal2-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-sso-provider_3.0.0-next.fluentui.f3262aa_1629337799275_0.23163967209293768","host":"s3://npm-registry-packages"}},"2.3.0-preview.5b9fd62":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.3.0-preview.5b9fd62","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.3.0-preview.5b9fd62","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"f47c630da001bd2f37d35869521f521de816fb7a","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.3.0-preview.5b9fd62.tgz","fileCount":18,"integrity":"sha512-OzHqH5j/46Ezt2Gta6obcXBHjZDm7RbsWNYUq6+zX+sCpQMpESXIsts1iGlgyxdAP3Ms/EDCZxkXmzQqga1Z9A==","signatures":[{"sig":"MEYCIQD8XbA+CBPqgkoly24Fg/Yl+AHYVJIukgK8KcHwSPPc6gIhANx5yVQwAE9BpiHBq76R4TJRUhpOSVThyhxhAqkllv/c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJVEgCRA9TVsSAnZWagAA+McQAKTa/fyhHUlSwbDbBRKF\n+F6hwVlqupj2f9ZRkLxSQX57/yvKjNVt3qsarM1CZ//1aXkEEpM51KWPwOgH\nbRaqhlEw6vKCKpua/rRKdGMMQiykDpybhoTddmtv6QSBpjEpKvvMD77CI7+C\n1seCiQQA/Fnw1w1txPv4x0vprKA7QXNkUuN5DzXvBks50PjDmigw6O/uiEPE\njBUAxjqnJO7aAdra+V51mvIQ1zbpdK5pQ/+3kjUnT07MUfXSdUd2lYx1Is60\njsZeto4DZADVduZfXtM3ZGs8J0hgfoAnLuUXV611iehn3dPFMwIKaPEQo83m\nRXIgT+jPkQXDAnR8nU1XCJCZ5zRvrzN5F9Sa5eEMJAfcxwp8SkUPQ2mVDhVe\noWzMhZz8Rfikc8pPDxRpkAsYzhwqpvtEJtfmZ3jAugKXiNB6Toi+ullxYdFg\nsnZmeUeSvlSilCodJRWYe//o2w03BcubkhesfUsT3uOVgdrnYRT7iVQr/Ltg\nHLC6YiFkQYtYvOh31oNUhh1uJmvtXv4JxXWi1VvvrEg4M1NhuOchM/Cz3r1e\nG/kDHkRwKZQt+60GL+W9TiN74TC9HpSzAU6Q54BLZRJFVATTtQLke7xvXFyi\nLRDDjqUbbG17wDoaxvT+5gXLUlBo0xRxUAuifsU/HFQ8/rnIeEXk1ZXdETyQ\nM76U\r\n=zapr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.3.0-preview.5b9fd62","@microsoft/mgt-msal2-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-sso-provider_2.3.0-preview.5b9fd62_1629835552058_0.9009360474000121","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.cef0a0b":{"name":"@microsoft/mgt-teams-sso-provider","version":"3.0.0-next.fluentui.cef0a0b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@3.0.0-next.fluentui.cef0a0b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"f5ee9e9d2329cf5f68c805c34b776cd7896f794c","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-3.0.0-next.fluentui.cef0a0b.tgz","fileCount":18,"integrity":"sha512-iGpqZaUd6AMIhgwmsIMDc43bAcxC8ak0ygUiUQbZ4GmhVYeeINjn9RfmdhDWfW3hsJFjzFoBwUZCpoffEV4oYg==","signatures":[{"sig":"MEQCIHOaT9eCfayIhfeWHuKBHvPEg+lRJjHbaki9Uw0n7FgtAiB4t8A8an3ChA0eZgWN2kP51X4cguPZH883BweF+lefuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJZXyCRA9TVsSAnZWagAAgdIP/0MF8Te/V2M+md0H6vJZ\nIEanBRHRiH+APtTgiDTYZn+QX1cNwQtu/x9AV1QfnsUA5uBaXYXZ6QI4NniM\nCLuYs+gtg7Q4au6XSJs3CVUvW1/1mkPtP9VwK6XDVnM/osPpdjU6pImbi7M+\nIHOdV3a9Bx2b7c9QSJRbR5Q6yqiAQsYxHqIXRtxsP6uSFLU5+aOSNKL8ulJr\nX2aj+YjN182sdNLLnKr3M3BoOHkvdlpx9tF3OhSSCvhKz/bARAHACE9TnNIE\n7CiKl0spDEBfeeoLEFTCNCnERLsyZokzyQUiUaFS7RltkpyKRixu7Jc50eKZ\ntRlkAS1+8ginwfa3NNne4r23dUu/bDie33TS3PQU9CynDUrn4jFzHvpCWTDq\nh3J9w9M6AMv9mZUsvOQPVOAqeaQyynn28P2pVtR6MTgw+xozWdFEKzy/BTw7\naaUJJBeODAWliJAvB301GcGQIHb9QiKRGAE7nV8YWSMQNnmBYbMRfP14Pc9D\nXxCBMokuyJVOzNUrCpsCI3hJmzcpeib/gqLt6AImzWUbrQMGzMqAVfZfrzGZ\nQVUjFo07Vubyz8U0to2jWMZ7gbsJWMfTnmW6KE6mHz9XDL+h2gcbtd9KRGAT\nCw7QS4AXuMF9QD6rX9rRCcOws7GqTvjyh9O3ZLaAFHbUeVGSBI4E3ftJU40l\nsahF\r\n=Fj1r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"3.0.0-next.fluentui.cef0a0b","@microsoft/mgt-msal2-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-sso-provider_3.0.0-next.fluentui.cef0a0b_1629853169908_0.511668568149632","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.985eaf1":{"name":"@microsoft/mgt-teams-sso-provider","version":"3.0.0-next.fluentui.985eaf1","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@3.0.0-next.fluentui.985eaf1","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"4651a681295e2f6cbc376845f7685887c9989bac","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-3.0.0-next.fluentui.985eaf1.tgz","fileCount":18,"integrity":"sha512-YKRmeF16evwMNY2m8iFJuahr1n97eo388cIqMNgXIu6aCVSN25fcLdQcJMEM032oZOkjSkBPhcDIfd/dd6yYIg==","signatures":[{"sig":"MEUCICGMBNh0/S9zk691Ixsa4vsBhQroEFdE+uOEP7jA+6WyAiEA8RsfleFznaonStXHAdQaC54QXgLYf0zI3Eb5cvri1x4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJZoiCRA9TVsSAnZWagAAF/oP/3zC4nCUFKSfbNrt1pZN\n9kBHk91T21y3QtqxNZbbQkvZ9Lyxol9E43QG+vbAKWRkHXK4hFx5dTDPtrFm\nGFsPyHnDMXo87GLjo5sJEQxn+aGwjiJbzBBMLevsRepeqBAPhfy4IfucpQQf\n/tqCiHi3IbJMc+DBbxzvKyyAap4ZhaIK7s3iLwZg8t1XJHLDeYOx5GWUkpgl\nD62toQ0YsCc3ZoPJ3+byPzCXReDF5ZBu8VTBZNQPEL/N4QpRVpQtHNDEmO04\nwf2KRSB6BII90XPLB4b0d9otV6QE+LiRtahTfxkbVoALjGlqo/VqtLxEnVVb\nf4nXUImGF4YUFC51eO1qNkJUpBWYwJIzI00Lz/DYQ5I6hZo9TS4T4PuTJrFE\nCLF4QftsQ/QDdX/CdmVJQDByDXsfgBQa/26Ky9SY4IyXxybelZM2FGo+8r+O\nQRvsU/IZoPlKTIduhchJfMjJ8ZUsidda8MKvvp7kXi4i1LRb/RSBWc7x+7ZU\nhx8rfDVb/trOL8EA4Gksby3bmqlbM7s96ft16OFUpjQ/q2Cmxf7SIUX+hCqh\ns4E4ck2mv7U4kLm2yY2Y8Pzr17doXGUA+5bhwrAEW87vOdWaPeBzkAmoFoqi\nV04KfHwDZUFO2It87FPDazV+uxV8d6GPI6/jStR9/q+Wp2tAEmswQ/hZVJsW\ndw2w\r\n=J0Rz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"3.0.0-next.fluentui.985eaf1","@microsoft/mgt-msal2-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-sso-provider_3.0.0-next.fluentui.985eaf1_1629854242178_0.8305565980761753","host":"s3://npm-registry-packages"}},"2.3.0-preview.695479b":{"name":"@microsoft/mgt-teams-sso-provider","version":"2.3.0-preview.695479b","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@2.3.0-preview.695479b","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"e55ff9965ce59b7a991ff4ff18ef629655156f27","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-2.3.0-preview.695479b.tgz","fileCount":18,"integrity":"sha512-zx67H7y5tbB2k7l1xDZQqgIJ5Bh8TN2tNXt0Oup1uGtMzdlx/EQiDSfA8Ek2o2MHyT0drbEQ/WvECRSdzqoQsQ==","signatures":[{"sig":"MEYCIQCxfTLlMTKNR04vfclQuaxlm87maj00+TXjmMba6CgGpQIhALqOpKVaj/hrYCJNXpEjF3EKu0xqEqxshH8YkcWd07W2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJ+c4CRA9TVsSAnZWagAATbEP/RBuRz1QBnq8nl0rg7gE\nnZT5skjde94xe8aQrxksOgZ2pTcG1XVLNbFch00phSEZmb3BzhtLRr0+R7k2\nf1TPDPIGpRrHxwhJLckOlj6bYBn1agdji+ssfvNj1fMbHgwJzDLSV3RbUAK/\nGYVv3GeFIYDdPXxeP8IoLjdM1WYgigDD/2YwHXEFBPEShOs6lqwnoIF9QGIe\nQwjgRoZFyjkw2A3Z1XcQefY751Sal3+pY/EPFC2kVo0CL3BGL0ygExrarXAK\n3df41OFy59w9vZIVZ6dYyOJvIFpVwESg2VYQEpiVtcc/45vbV/NEXi4K3hkQ\n+VZa3Zm7UgTLuMWUl6WW1Zof7dPLL7sPdbukzXXZRVr5/v+LSv+KaLmvhYy+\n374CpegGakLbPcHxZtpaL7zK1vc/WW5hlHrtEI8QMoqkRg+V9fB9D0l360IP\nxhvFZJ6HPTJxmv0dmsv8RdLvy5duC0zQ104i9suQFOWo2qdWm8nv3JT/dKvO\njmV/xlNx/PbhYwCV/2H/xMImCEc0N6PLOy8m0YiGn+RYRDnjRX2adYo03D0G\njjqFavYTVnEh0CmszzJH+Ui5lxJNmxaCdO2ItHRvu4KRCfKbB+gkD7Qlo4Vx\nP5BDQbN4dCbNMrSk+WVQ5JdntWEZuPsy8b/nWgsIPnQmIg0PcSoclPYtYM+q\nQ6P6\r\n=eZW1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"2.3.0-preview.695479b","@microsoft/mgt-msal2-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-sso-provider_2.3.0-preview.695479b_1630005047916_0.8551689071267934","host":"s3://npm-registry-packages"}},"3.0.0-next.fluentui.03a2336":{"name":"@microsoft/mgt-teams-sso-provider","version":"3.0.0-next.fluentui.03a2336","keywords":["microsoft graph","microsoft graph toolkit","microsoft teams","teams","mgt","msal","msal 2.0","auth","authentication","sso"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/mgt-teams-sso-provider@3.0.0-next.fluentui.03a2336","maintainers":[{"name":"microsoft-graph-toolkit","email":"mgt-npm@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":"ca68637a69d55ae61d23f4b6790773a62c71f87e","tarball":"https://registry.npmjs.org/@microsoft/mgt-teams-sso-provider/-/mgt-teams-sso-provider-3.0.0-next.fluentui.03a2336.tgz","fileCount":18,"integrity":"sha512-7GYUkJsAJ8qlsBHPDPbf88MMflyLE7NaACIm400UC23bUulGQD/3WfXNROdimWMnK0J645h8x139sd6WJfJroQ==","signatures":[{"sig":"MEQCIEcHDpWUVbrWNfLtavO+FYNt5XmsgLCOwbW2D/VT47ozAiAifgr7M6OKH/IM6DMm7PNdpsYkx7bTAhn/hFuZhpsa6g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":941388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLsxkCRA9TVsSAnZWagAA2joQAJWpjcLXy6D5c35hH0IS\ngTO80v6QN4QB/iL0M0irOxJtjvRU6VX6DUwbwSjwoer8+2ZRLU3w8nW8x/6P\nQtDMCc+Va+ysSWPF0iqrzdSFUGbEy9kOtH8CUmwqpFJvkJrJ5o1KiMMbY74Y\nOYU+oup4I6OSa+uirTLiCEODGXNI6x6rego5d2RZMTdJl6MllBbKwbpFV6Tm\ni60aeecB/CJgCYEVNXoXrEKYHNCo9oHEWZgR66FcMiTiTsNSemYQ1IcmnUNL\njlkCFL29gSVzWIsYha8XGP/4+jD6r5TBC8KZNQ8RbSYwISGCMRxfMlpYKNqT\nNt7P0IcGhM1bRlY3n2XxDS9a+OeMGUTtVor8wBGM1DyTP5BLmEhQHH6PX+uh\nt2l2K27T0ck9Rx76W57fk8/8rNCEAEOQbl70SGytd5UhcKwsnkPRbg/LNzMo\ntA8eh30PDF4aUDnQX6Pe2jUZSRt0CvFzOwX1JXPdmee2KFExJPxq/qYL7+Rh\nVe2MOydNcK61mZ2VbjM6JIvItYE2jzhZgfQ1xiSe692H+WS+Ulbv9ObxCd+y\ncfQQz7Z4txBJL/S+fUP/3CmK+8XCZxG0dkIqecsYNJrjkqw4vLzoclsqExrZ\n/5PFXwBYl3OHElAROcFS/yddABrQMWI7V3P6belXylNFd20SJ7kVD7jpyGVB\nXKj4\r\n=lrpH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/es6/index.js","types":"./dist/es6/index.d.ts","module":"./dist/es6/index.js","readme":"# Microsoft Graph Toolkit Microsoft Teams SSO Provider\n\n[![npm](https://img.shields.io/npm/v/@microsoft/mgt-teams-sso-provider?style=for-the-badge)](https://www.npmjs.com/package/@microsoft/mgt-teams-sso-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-sso-provider` package exposes the `TeamsSSOProvider` 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 TeamsSSOProvider](https://docs.microsoft.com/graph/toolkit/providers/teamssso)\n\n## Usage\n\nThe TeamsSSOProvider requires the usage of the Microsoft Teams SDK which is not automatically installed.\n\n1. Install the packages\n\n    ```bash\n    npm install @microsoft/teams-js @microsoft/mgt-element @microsoft/mgt-teams-sso-provider\n    ```\n\n1. Before initializing the provider, create a new page in your application (ex: https://mydomain.com/auth) that will handle the auth redirect. Call the `handleAuth` function to handle all client side auth or permission consent.\n\n    ```ts\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n    TeamsSSOProvider.handleAuth();\n    ```\n\n3. Initialize the provider in your main code (not on your auth page). The provider can be used in \"client side auth\" mode or SSO mode. SSO mode is enabled by setting `ssoUrl` \\ `sso-url` and requires a backend service to handle the on-behalf-of flow.\n\n    ```ts\n    import {Providers} from '@microsoft/mgt-element';\n    import {TeamsSSOProvider} from '@microsoft/mgt-teams-sso-provider';\n    import * as MicrosoftTeams from \"@microsoft/teams-js/dist/MicrosoftTeams\";\n\n    TeamsSSOProvider.microsoftTeamsLib = MicrosoftTeams;\n\n    Providers.globalProvider = new TeamsSSOProvider({\n      clientId: string;\n      authPopupUrl: string; // ex: \"https://mydomain.com/auth\" or \"/auth\"\n      scopes?: string[];\n      msalOptions?: Configuration;\n      ssoUrl?: string; // ex: '/api/token',\n      autoConsent?: boolean,\n      httpMethod: HttpMethod; //ex HttpMethod.POST\n    })\n    ```\n\n3. Alternatively, initialize the provider in html (only `client-id` and `auth-popup-url` is required):\n\n    ```html\n    <script type=\"module\" src=\"../node_modules/@microsoft/mgt-teams-provider/dist/es6/index.js\" />\n\n    <mgt-teams-sso-provider client-id=\"<YOUR_CLIENT_ID>\"\n                        auth-popup-url=\"/AUTH-PATH\"\n                        scopes=\"user.read,people.read...\" \n                        authority=\"\"\n                        sso-url=\"/api/token\" \n                        http-method=\"POST\">\n                        ></mgt-teams-provider>\n    ```\n\nSee [provider usage documentation](https://docs.microsoft.com/graph/toolkit/providers) to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.\n\n## Sea also\n* [Microsoft Graph Toolkit docs](https://aka.ms/mgt-docs)\n* [Microsoft Graph Toolkit repository](https://aka.ms/mgt)\n* [Microsoft Graph Toolkit playground](https://mgt.dev)\n","scripts":{"lint":"tslint -c ../../../tslint.json 'src/**/*.ts'","build":"npm run clean && npm run build:compile","clean":"shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo","compile":"tsc -b","postpack":"cpx *.tgz ../../../artifacts","build:watch":"npm run compile:watch","build:compile":"npm run compile","compile:watch":"tsc -w"},"_npmUser":{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"_npmVersion":"6.14.14","description":"The Microsoft Graph Toolkit Teams Single Sign-On Provider","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@azure/msal-browser":"^2.14.2","@microsoft/mgt-element":"3.0.0-next.fluentui.03a2336","@microsoft/mgt-msal2-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-sso-provider_3.0.0-next.fluentui.03a2336_1630456932644_0.944013288515049","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-06-18T05:03:14.409Z","modified":"2026-07-16T15:45:47.660Z","2.3.0-next.teamsprovider.6ffd83f":"2021-06-18T05:03:14.899Z","2.2.1-next.teamsprovider.e6d920a":"2021-07-19T21:53:52.301Z","2.2.1-preview.187ccb8":"2021-07-22T16:33:12.086Z","2.2.1-preview.b2c06db":"2021-07-27T16:34:56.081Z","2.2.1-next.fluentui.b2c06db":"2021-07-27T21:12:32.386Z","2.2.1-preview.e4e242a":"2021-08-03T16:36:03.349Z","2.2.1-next.multi-accounts.c6af111":"2021-08-04T19:20:02.828Z","2.2.1-preview.4ff1c72":"2021-08-05T21:13:01.424Z","2.2.1-preview.e848cf8":"2021-08-09T22:42:42.339Z","2.2.1-next.fluentui.e848cf8":"2021-08-10T17:58:58.806Z","2.2.1-preview.896ffcf":"2021-08-10T18:04:16.041Z","2.2.1-next.fluentui.896ffcf":"2021-08-10T18:04:26.098Z","2.2.1-preview.e8e3e98":"2021-08-16T21:09:34.022Z","2.2.1-preview.3ec9072":"2021-08-17T02:46:33.991Z","2.2.1-preview.c447888":"2021-08-17T15:19:44.484Z","2.2.1-preview.b98ff32":"2021-08-17T16:01:12.044Z","2.2.1-preview.2940a69":"2021-08-17T16:33:41.380Z","2.2.1-preview.d4e6c24":"2021-08-17T18:40:27.221Z","2.2.1-next.fluentui.d4e6c24":"2021-08-17T19:23:06.262Z","2.2.1-preview.f4dbf0b":"2021-08-18T21:07:08.360Z","2.2.1-next.fluentui.f4dbf0b":"2021-08-19T01:20:47.626Z","3.0.0-next.fluentui.f3262aa":"2021-08-19T01:49:59.426Z","2.3.0-preview.5b9fd62":"2021-08-24T20:05:52.241Z","3.0.0-next.fluentui.cef0a0b":"2021-08-25T00:59:30.073Z","3.0.0-next.fluentui.985eaf1":"2021-08-25T01:17:22.407Z","2.3.0-preview.695479b":"2021-08-26T19:10:48.123Z","3.0.0-next.fluentui.03a2336":"2021-09-01T00:42:12.869Z"},"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","msal 2.0","auth","authentication","sso"],"repository":{"url":"git+https://github.com/microsoftgraph/microsoft-graph-toolkit.git","type":"git"},"description":"The Microsoft Graph Toolkit Teams Single Sign-On 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":"","readmeFilename":""}