{"_id":"passport-microsoft","_rev":"12-51e3eb353017720e391d7146e8ef4904","name":"passport-microsoft","description":"Microsoft [Graph] authentication strategy for Passport.","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.1":{"name":"passport-microsoft","version":"0.0.1","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io/","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"1.2.0"},"engines":{"node":">= 0.4.0"},"gitHead":"7b8c7e5d333fc3a30f557170bb34742e90b1915d","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_id":"passport-microsoft@0.0.1","scripts":{},"_shasum":"381641a7b8bd26e8e48f8e92abf0ca9197e38048","_from":".","_npmVersion":"4.4.4","_nodeVersion":"7.7.4","_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"dist":{"shasum":"381641a7b8bd26e8e48f8e92abf0ca9197e38048","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-0.0.1.tgz","integrity":"sha512-kkPW8RvBKkKPtY6fLt3zpGHfM2ykgpLBVPWRx33xd7eXr6AJTExCrdSmAfR0F5DohJqtEQuF5ZVlK51x5OEF1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcVrURkRZWMySbi1Fcf3i9mhMtOod8N2tbLwj2yZ29ZAIhAN0jv2n7WXLhRt9FG7p/8YY5jdYi5ClHnGcyKK9j81AZ"}]},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/passport-microsoft-0.0.1.tgz_1491973722004_0.34054935863241553"},"directories":{}},"0.0.2":{"name":"passport-microsoft","version":"0.0.2","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io/","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"1.2.0"},"engines":{"node":">= 0.4.0"},"gitHead":"95aba99774b7526100650b9786930a2900ae33ad","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_id":"passport-microsoft@0.0.2","scripts":{},"_shasum":"05f78648a3265709894fcbb6dd5a158e49411e0f","_from":".","_npmVersion":"4.4.4","_nodeVersion":"7.7.4","_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"dist":{"shasum":"05f78648a3265709894fcbb6dd5a158e49411e0f","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-0.0.2.tgz","integrity":"sha512-0MSTBV9MXFDmf7LZAptLm+j5CAO2akcaaxVc6sGm7komOeAOUycBOt0WvblCtdP1nmhdPpdqJmCE+sGT3qbeBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIdagDIy8s/zEEPvhwIh0VdRXtk2iIJx0PPnt8RrKBAAiEAueOPrqZYmGV1shx2LrqD7HhNR8UK6u5lRAVP3MT5wCg="}]},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/passport-microsoft-0.0.2.tgz_1491976805076_0.3456965861842036"},"directories":{}},"0.0.3":{"name":"passport-microsoft","version":"0.0.3","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io/","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"1.2.0"},"engines":{"node":">= 0.4.0"},"gitHead":"946bca517642e0ab2ec4c8aa49f6c762c5d1f9cb","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_id":"passport-microsoft@0.0.3","scripts":{},"_shasum":"78a7398c572556af708cdfca3a9f8749bf6dd0c9","_from":".","_npmVersion":"4.4.4","_nodeVersion":"7.7.4","_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"dist":{"shasum":"78a7398c572556af708cdfca3a9f8749bf6dd0c9","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-0.0.3.tgz","integrity":"sha512-f/fjKEzuL3sRNa/Uf95GoUhtXhPEEFXB8+/qgV+DaJcKRIlfm4oy2f0PHi8x2H5pOUT/+cirZPMO49SSJf2p6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4+bCUYdKdEN0EmosqBCqboy1SrDWgcWroaKfCDTM7hAiEAgUwfMOOS4ilRWVC0QDJP6OqAzXwwKU91qG4eubJ0n3Q="}]},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/passport-microsoft-0.0.3.tgz_1491976898886_0.9214701419696212"},"directories":{}},"0.0.4":{"name":"passport-microsoft","version":"0.0.4","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"1.2.0"},"engines":{"node":">= 0.4.0"},"gitHead":"d59145bd4e58df18fa95a77101cb64d7893ab46d","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_id":"passport-microsoft@0.0.4","scripts":{},"_shasum":"90e83cb43c6a4ccb48b0a66eaed77f68ba040411","_from":".","_npmVersion":"4.4.4","_nodeVersion":"7.7.4","_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"dist":{"shasum":"90e83cb43c6a4ccb48b0a66eaed77f68ba040411","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-0.0.4.tgz","integrity":"sha512-E4bFoLVpcu3Uj5J15IMQP3fbqIo7kAv9f/OTgtrWaz/7TTdEdswkCetokwVgfXbZJfMyh0ScjsuoFtIWIVTsVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7pgrie9FbQ4qaJMhur6QpovljCOnTQ/Vma00CJq5pWAiBHajT5R77y60hQn+T6ANdhLOX8ck3+IgJZtmrx5NRnSQ=="}]},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/passport-microsoft-0.0.4.tgz_1492177289170_0.8546957166399807"},"directories":{}},"0.0.5":{"name":"passport-microsoft","version":"0.0.5","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"1.2.0"},"engines":{"node":">= 0.4.0"},"gitHead":"ab9171a0902d8da070846f9d7495d69ce53db047","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_id":"passport-microsoft@0.0.5","scripts":{},"_shasum":"34e916b4ea42fadbc0132aec05459acbe464ce15","_from":".","_npmVersion":"4.4.4","_nodeVersion":"7.7.4","_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"dist":{"shasum":"34e916b4ea42fadbc0132aec05459acbe464ce15","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-0.0.5.tgz","integrity":"sha512-PDqj7aQAZEbTrG60Zivc6wiXaEGc4sQsPEDFd8EAQNr9zSkJkAA8fS5ph2Hj85UP+qun65SnMsxSnNRCMTv1IA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCj0oyD+YcjwPb4UF9ETYPxSa18VlUVROY3c9pvR3XHAIgCaAk1hRIAsib7rZTxW6FrUaR0kFOu4/ZaL84cR+O5vI="}]},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/passport-microsoft-0.0.5.tgz_1492177388232_0.34921120340004563"},"directories":{}},"0.1.0":{"name":"passport-microsoft","version":"0.1.0","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"pkginfo":"0.2.x","passport-oauth2":"1.2.0"},"engines":{"node":">= 0.4.0"},"gitHead":"d7090d2adf31e493900c1bad0e347b73fac06ba5","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_id":"passport-microsoft@0.1.0","_nodeVersion":"13.8.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-0giBDgE1fnR5X84zJZkQ11hnKVrzEgViwRO6RGsormK9zTxFQmN/UHMTDbIpvhk989VqALewB6Pk1R5vNr3GHw==","shasum":"dc72c1a38b294d74f4dc55fe93f52e25cb9aa5b4","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-0.1.0.tgz","fileCount":12,"unpackedSize":41684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoRbkCRA9TVsSAnZWagAAvKcP/3mHgHbLDC7JkxsnmB3H\nfUn3MI22Y+LroD89U2yoVsofrWQy8Z29JFmFKKS+PucUsqBTiGPdBC3QkcLc\n/NlPA9y4z71rpKmqciOlpzps0BojZwZotbiuLwo3dtPfBWfoQb6NgQpyM20e\n9V0XIuHLLZxZTcyQ6T1InRBrPbSfYA1jaxz5KlmY/3+bJLbJVPEm2/9AdPkp\npJseI4kRYR/lW9uGPAFXHB4ORxOMN8q3/KDcD7EA7o9QejPPA93lN/m7tpV5\nZofJUJXHdOYlXScIEkS/MGqCwrfgtHzy++KWduWqyGLakjiE4eU74YL0RYzT\nWoB103BxnJ4zRLfQWYmGSOtzgmJF7cKFMuygYF1fgaga3D5ZHsGeiDp2CqT3\nnWmyS0eU2ZuGHZGHhCSq0t8NPqzQUoKRFkBVq0RxtYM38qFWWG1GrlrxWH+O\nMk/b+HqscmWLsEFqRbKJ+gNllJqK5eE9iMhTv4+v/3DiUDxqENxkMLGurTBc\nVCTYk8NZdiB8gxGnL9XjV9kvbspI45gNOaP+ZG2EWtNyRbJgktGbrK4ED7rV\nPNMIWanJYAS9WyWhvliJtJr1CameZEdYAIvL9f0k637I+uff94OrcOMt2rW+\nlU0hRyhE2lWBsH8XZJPx0l3HVgg3igtQ4+Wfr9DdXPIQvqD49jYzwR1OYsgx\nPPSl\r\n=uRtc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9QxOxEpvmGXsc5iUgppwr1HAEbZFPGkAy+CAtTILcpAiEApeDLrdCEDQWwC/0vLQqmcvotIdUJdljX0AZ2wsZ/sMI="}]},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-microsoft_0.1.0_1587615459700_0.2768927778779573"},"_hasShrinkwrap":false},"1.0.0":{"name":"passport-microsoft","version":"1.0.0","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"pkginfo":"0.4.x","passport-oauth2":"1.6.1"},"engines":{"node":">= 0.4.0"},"gitHead":"9efe6c7226293ee48f034c2bb3ebc2c73191aab4","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_id":"passport-microsoft@1.0.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-L1JHeCbSObSZZXiG7jU2KoKie6nzZLwGt38HXz1GasKrsCQdOnf5kH8ltV4BWNUfBL2Pt1csWn1iuBSerprrcg==","shasum":"78954cf3201fdce61beeb6587a3b158f8e9db86c","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-1.0.0.tgz","fileCount":14,"unpackedSize":49836,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBgf+bhub93oREEDLpLO1ZZ58UR88M/5Qz8zG1upQV+AiABbNcrkWdpIEN0YizREmxg/QfnfZfX7XCatyR58vhNCg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWHvbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2aQ/+MJ/Ygo4NyMwAo833lEjt40B6Kio24V/LsNFlBMLW/GiLs2N6\r\nklalqDCYR/3q8DcVefsP0P3LaJIm0BTejr6/VgWH5UR3ABmR7XzzieGsGoqa\r\nLVJyTle8LrbB6vRwmlqJLfFSR27O5byipRiI6+Pi1tqH7bMbxPLHsf8SnkLM\r\nP1w1bAUEd468Oxgm2wtSsN6O+3ltpMI26baOQLSlVVuKfJ+ucGzFZHhE5IF1\r\nmfqOBoX0rcQgEAN3XQ0krTUTegZ28Vm7yIHmLJTCXLyTDcaeb715J9AI9ELu\r\nawMkiu4PRFDnJPixZ6Td31+IdMiSyx2LkVZOTODa/Hie+2uNB2bpd5HUq+sO\r\npnAj2Ph7jsOIgiIM/3QUBIldMjLHGua7t2q6uOIOtqLRrtHqrIKglRy5ziGm\r\nB4lGIN67VUtY1Btv6cFOwtAx7HTRlAqkNgRnRkyCe4cSR8YpPoSUF8mq2bIE\r\nMGUvrTdcEdnnkIZjdt8dmYBCsSnM6gE7q4JYc5OZQil69TKwV0QxOvuRZARZ\r\nDlGiXeiVISozk+utLL66nBOE9By0BoICRK6bFGPKvT9CxqgPQzehTZtZyhHW\r\njbhYBHe6yrhGK3bNTBss7mR6sNWnPMjoHvA+BrxBQaWPrCTouyT15o3cIMEM\r\nB09HRL3gxbJRiq/n8ZUV8IrUhfrl/wceI7E=\r\n=5WQz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"directories":{},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-microsoft_1.0.0_1649966043009_0.21151147389239533"},"_hasShrinkwrap":false},"1.1.0":{"name":"passport-microsoft","version":"1.1.0","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"passport-oauth2":"1.8.0"},"engines":{"node":">= 0.4.0"},"devDependencies":{"eslint":"^8.57.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.29.1"},"_id":"passport-microsoft@1.1.0","gitHead":"0fd9a8faa26ec8192b03814249858c53145da16d","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-yJyynEkGakK8SveCqILAvrpMBOKpx6TNyxL1ry+eW4m9/qqqDDOUahLdHj7wPSuDReHQ4jArGheH5v0/pNwR+g==","shasum":"6b0c79ff5fa17f37d716a00a1461cd13fc4712f3","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-1.1.0.tgz","fileCount":17,"unpackedSize":61389,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+9Y5joJUfFpIq93rn18C07wRc9tm0vtoPX+v6byR4BAiEAqSq3oNoZP/sptWwL8TSt2Oc+t1sMUHCuRgE3kyMDfdM="}]},"_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"directories":{},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-microsoft_1.1.0_1711048132659_0.1501622226586985"},"_hasShrinkwrap":false},"2.0.0":{"name":"passport-microsoft","version":"2.0.0","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"passport-oauth2":"1.8.0"},"engines":{"node":">= 0.4.0"},"devDependencies":{"eslint":"^8.57.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.29.1"},"_id":"passport-microsoft@2.0.0","gitHead":"7024dedb3a869af9c62e547dba5b4ebe961a03f4","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-gj87ZWnZbDHhUFb5qCgQHlGjWFG5dYLN+TF0E/cslH2nvFo7E0s4eO/1+ckezrt4WJXIi0kuqXKDgPK6XKIZ+Q==","shasum":"c4f396129e807245ecd58a6e647dfa2cdc8e3629","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-2.0.0.tgz","fileCount":17,"unpackedSize":62619,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbb8LuULP3gaOGDHNZGE/gyWBNr5Y6xCzAdXCGvLoQNAiAJG+iUCF3twG5YEORn6XJMj/CMil3HnC3NCGZfYQRg3Q=="}]},"_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"directories":{},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-microsoft_2.0.0_1711049528265_0.7993904799799474"},"_hasShrinkwrap":false},"2.1.0":{"name":"passport-microsoft","version":"2.1.0","description":"Microsoft [Graph] authentication strategy for Passport.","keywords":["passport","microsoft","graph","graph.microsoft.io","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"main":"./lib/","dependencies":{"passport-oauth2":"1.8.0"},"engines":{"node":">= 0.4.0"},"devDependencies":{"chai":"^4.4.1","chai-passport-strategy":"^3.0.0","eslint":"^8.57.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.29.1","mocha":"^10.3.0"},"scripts":{"test":"mocha --require ./test/bootstrap/node.js"},"_id":"passport-microsoft@2.1.0","gitHead":"ec389f44e017a6fba30d2f7bd2faf254a8a63040","bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-7bOcjEmZCHg5qD55iHaMD/mgBxPtXLbqAwmKox5IsqOSEU50WJk5nQKK4lxKdBHLZ0hf+gzrFgDsTybJP18/JA==","shasum":"7ff80219fd9fd3f572f0900d7dd3f477e37d66cb","tarball":"https://registry.npmjs.org/passport-microsoft/-/passport-microsoft-2.1.0.tgz","fileCount":20,"unpackedSize":69183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOm6bd9rnRTPe943j3ApMko81vdP97J5KRHio1nmDNtQIhAMqx6car3xT9mG0fjc15whffYa8cS0tLl9KciP+GvBuj"}]},"_npmUser":{"name":"seanfisher","email":"me@seafish.io"},"directories":{},"maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-microsoft_2.1.0_1714012520091_0.18425396099516256"},"_hasShrinkwrap":false}},"readme":"# Passport-microsoft\n\n[Passport](https://github.com/jaredhanson/passport) strategy for authenticating\nwith [Microsoft Graph](https://graph.microsoft.io/) using the OAuth 2.0 API.\n\nThis module lets you authenticate using Microsoft, in your Node.js applications.  \nBy plugging into Passport, Microsoft authentication can be easily and unobtrusively\nintegrated into any application or framework that supports [Connect](http://www.senchalabs.org/connect/)-style\nmiddleware, including [Express](http://expressjs.com/).\n\n## Install\n\nInstall via [npm](https://www.npmjs.com/package/passport-microsoft)\n\n    $ npm install passport-microsoft\n\n## Usage\n\n#### Configure Strategy\n\nThe Microsoft authentication strategy authenticates users using a Microsoft account and OAuth 2.0 tokens.  The strategy requires a `verify` callback, which\naccepts these credentials and calls `done` providing a user, as well as\n`options` specifying a client ID, client secret, and callback URL.\n\nThe consumer key and secret are obtained by [creating an application](https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade) at\nMicrosoft's developer site.\n\n```js\n    var MicrosoftStrategy = require('passport-microsoft').Strategy;\n    passport.use(new MicrosoftStrategy({\n        // Standard OAuth2 options\n        clientID: 'applicationidfrommicrosoft',\n        clientSecret: 'applicationsecretfrommicrosoft',\n        callbackURL: \"http://localhost:3000/auth/microsoft/callback\",\n        scope: ['user.read'],\n\n        // Microsoft specific options\n\n        // [Optional] The tenant ID for the application. Defaults to 'common'. \n        // Used to construct the authorizationURL and tokenURL\n        tenant: 'common',\n\n        // [Optional] The authorization URL. Defaults to `https://login.microsoftonline.com/${tenant}/oauth2/v2.0/authorize`\n        authorizationURL: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',\n\n        // [Optional] The token URL. Defaults to `https://login.microsoftonline.com/${tenant}/oauth2/v2.0/token`\n        tokenURL: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',\n\n        // [Optional] The Microsoft Graph API version (e.g., 'v1.0', 'beta'). Defaults to 'v1.0'.\n        graphApiVersion: 'v1.0',\n\n        // [Optional] If true, will push the User Principal Name into the `emails` array in the Passport.js profile. Defaults to false.\n        addUPNAsEmail: false,\n        \n        // [Optional] The Microsoft Graph API Entry Point, defaults to https://graph.microsoft.com. Configure this if you are using Azure China or other regional version.\n        apiEntryPoint: 'https://graph.microsoft.com',\n      },\n      function(accessToken, refreshToken, profile, done) {\n        User.findOrCreate({ userId: profile.id }, function (err, user) {\n          return done(err, user);\n        });\n      }\n    ));\n```\n\n#### Authenticate Requests\n\nUse `passport.authenticate()`, specifying the `'microsoft'` strategy, to\nauthenticate requests.\n\nFor example, as route middleware in an [Express](http://expressjs.com/)\napplication:\n\n```js\n    app.get('/auth/microsoft',\n      passport.authenticate('microsoft', {\n        // Optionally define any authentication parameters here\n        // For example, the ones in https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow\n        \n        prompt: 'select_account',\n      }));\n\n    app.get('/auth/microsoft/callback', \n      passport.authenticate('microsoft', { failureRedirect: '/login' }),\n      function(req, res) {\n        // Successful authentication, redirect home.\n        res.redirect('/');\n      });\n```\n\n## Examples\n\nFor a complete, working example, refer to the [login example](https://github.com/seanfisher/passport-microsoft/tree/master/example/login).\n\n## Credits\n\n  - [Sean Fisher](https://www.seafish.io) - [passport-microsoft on Github](https://github.com/seanfisher/passport-microsoft)\n  - [Sluggy Bear](http://github.com/slugbay) - Original [Microsoft OneDrive](https://github.com/slugbay/passport-onedrive) strategy, upon which this is based\n\n  Copyright (c) 2022 Sean Fisher <[seafish.io](https://www.seafish.io)>\n\n## Thanks\n\n  - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n  - [The MIT License](http://opensource.org/licenses/MIT)\n","maintainers":[{"name":"seanfisher","email":"me@seafish.io"}],"time":{"modified":"2024-04-25T02:35:20.469Z","created":"2017-04-12T05:08:42.659Z","0.0.1":"2017-04-12T05:08:42.659Z","0.0.2":"2017-04-12T06:00:05.629Z","0.0.3":"2017-04-12T06:01:40.925Z","0.0.4":"2017-04-14T13:41:31.109Z","0.0.5":"2017-04-14T13:43:08.933Z","0.1.0":"2020-04-23T04:17:39.874Z","1.0.0":"2022-04-14T19:54:03.142Z","1.1.0":"2024-03-21T19:08:52.930Z","2.0.0":"2024-03-21T19:32:08.432Z","2.1.0":"2024-04-25T02:35:20.284Z"},"homepage":"https://github.com/seanfisher/passport-microsoft#readme","keywords":["passport","microsoft","graph","graph.microsoft.io","oauth","oauth 2.0","auth","api","authentication","sean fisher","seafish.io"],"repository":{"type":"git","url":"git://github.com/seanfisher/passport-microsoft.git"},"author":{"name":"Sean Fisher","email":"opensource@seafish.io","url":"https://seafish.io"},"bugs":{"url":"https://github.com/seanfisher/passport-microsoft/issues"},"readmeFilename":"README.md"}