{"_id":"vue3-msal-plugin","_rev":"10-88ec76a282eb58930427b47d3975ce48","name":"vue3-msal-plugin","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"vue3-msal-plugin","version":"1.0.0","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Hewage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.0.0","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanHewage/vue3-msal#readme","dist":{"shasum":"f301a028fcef35b3d3b93c2005ba61d5f0daf467","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.0.0.tgz","fileCount":10,"integrity":"sha512-WJUjQ1yPDBa/uEo+5Qb1x5Ysr7K6rVoqWW/4SCM/lMDUNJbMuq8EUoVIiPEBADRBlD1+qGrqftlWlEI1KIeHjg==","signatures":[{"sig":"MEUCIQD9jy48L2Zs3Vl0CUsMxKUk3M7bvhXM6fGukh4axxNrswIgXM+E+LvrzcPqQv54HOEp4YNw4IgvL+ZHIAAjtMkOlvQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30990},"main":"lib/index.js","type":"module","types":"lib/types.d.ts","module":"lib/index.js","gitHead":"f9702c4ffde1a4a7c8e03358cc098e6c3b89c6e1","scripts":{"lint":"eslint '*/**/*.{js,ts}' --quiet --fix","build":"node build/build.js && npm run generate:types","prettier":"prettier --write .","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"10.2.4","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"_nodeVersion":"21.6.1","dependencies":{"vue":"^3.4.21","@azure/msal-browser":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","esbuild":"^0.20.2","prettier":"^3.2.5","typescript":"^5.4.4","@types/node":"^20.12.5","@babel/types":"^7.24.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.5.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.0.0_1713371410260_0.2315124203395853","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"vue3-msal-plugin","version":"1.0.1","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Hewage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.0.1","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanHewage/vue3-msal#readme","dist":{"shasum":"535fa95cca7c8d9db4fbeb67c77274bc138ac310","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.0.1.tgz","fileCount":10,"integrity":"sha512-g1/c8DiLOlRzwad583jovpjMwJhxiPs5lQLgPUfWhp8hGBFZBi5N6FqSuvF6Vr71lK8MVdyfBbV/Tg4DoUcMsA==","signatures":[{"sig":"MEYCIQCl7qGTVZRUm+BTbRtLX8g9dMKhgEVPewEo/OOaibW9UwIhAKOXbnZ1V+AxPimjCmP4NoTsrnfagXnmBSVeoN4irhoV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30991},"main":"lib/index.js","type":"module","types":"lib/types.d.ts","module":"lib/index.js","gitHead":"b1168fd533b78618da9f6ae23cccbcf0b0f11bd4","scripts":{"lint":"eslint '*/**/*.{js,ts}' --quiet --fix","build":"node build/build.js && npm run generate:types","prettier":"prettier --write .","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"10.2.4","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"_nodeVersion":"21.6.1","dependencies":{"vue":"^3.4.21","@azure/msal-browser":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","esbuild":"^0.20.2","prettier":"^3.2.5","typescript":"^5.4.4","@types/node":"^20.12.5","@babel/types":"^7.24.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.5.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.0.1_1713371725133_0.2716543822490456","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"vue3-msal-plugin","version":"1.0.2","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Hewage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.0.2","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanHewage/vue3-msal#readme","dist":{"shasum":"40a91a9f9d691d51f9a334c0ac1dc478becf3dae","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.0.2.tgz","fileCount":10,"integrity":"sha512-dZXn8QX7ks68Zgf8unxlfb74jqGCANLae5CK/E7oPpxv6CIfjPO8zSxy0aDdPgt0gCIr+dVOzYLzIEIJlcOyvA==","signatures":[{"sig":"MEQCIAjXv8vcek6Eu4LXkPe5y++Q6/g4pWbt6gaH/WQ/LAlrAiBj4EzlKsorA8I3wdCoiSd0iUo5s/QqGv/M8HHxr4HvEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31033},"main":"lib/index.js","type":"module","types":"lib/types.d.ts","module":"lib/index.js","gitHead":"3dc95ee2085f5420fd1ef969991c4b268bed42c3","scripts":{"lint":"eslint '*/**/*.{js,ts}' --quiet --fix","build":"node build/build.js && npm run generate:types","prettier":"prettier --write .","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"10.2.4","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"_nodeVersion":"21.6.1","dependencies":{"vue":"^3.4.21","@azure/msal-browser":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","esbuild":"^0.20.2","prettier":"^3.2.5","typescript":"^5.4.4","@types/node":"^20.12.5","@babel/types":"^7.24.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.5.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.0.2_1713372159967_0.0498853303737532","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"vue3-msal-plugin","version":"1.0.3","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Hewage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.0.3","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanHewage/vue3-msal#readme","dist":{"shasum":"0f1fb446ddc09a6ebcda10f617fa7d2b0c98e234","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.0.3.tgz","fileCount":10,"integrity":"sha512-QWb3Hmt68fe0tIdABqqyOMyT+Ax/nFbcKgEhhlf8I3m/h4hcm+gnxY6ZSru58EFGbhWf7uOlwtZYAvKIQ7qZtg==","signatures":[{"sig":"MEYCIQCO7+RRhxKQXzzfouSTZJ5dtclhZeVqbp122AX4TlQHYQIhAIa4WAvk23c2KuaQPyYg8sgkispGTAFyiOwoiBWvUp1o","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31251},"main":"lib/index.js","type":"module","types":"lib/types.d.ts","module":"lib/index.js","gitHead":"940f84af42a7a36e355b9fde349578b589b84e5e","scripts":{"lint":"eslint '*/**/*.{js,ts}' --quiet --fix","build":"node build/build.js && npm run generate:types","prettier":"prettier --write .","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"10.2.4","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"_nodeVersion":"21.6.1","dependencies":{"vue":"^3.4.21","@azure/msal-browser":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","esbuild":"^0.20.2","prettier":"^3.2.5","typescript":"^5.4.4","@types/node":"^20.12.5","@babel/types":"^7.24.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.5.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.0.3_1713373059439_0.04402375271622261","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"vue3-msal-plugin","version":"1.0.4","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Hewage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.0.4","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanHewage/vue3-msal#readme","dist":{"shasum":"4cdabba6b728caf0e19d3d4f3954c0bd442d557c","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.0.4.tgz","fileCount":10,"integrity":"sha512-FsAU4vTwsKjaYidCHAW1fw9IO7xxz0Nt3eJ7dRPCfVScaCwJGXuf4xXLRHGGgubRM0BaamIhHd1cP+AyKia1mQ==","signatures":[{"sig":"MEUCIQD4d165wSIFeFAyS98ylEbqWpGYtL52ijR21oTNM0FanwIgMQW57b0dQnWh21uG4Q6ZHHfKF1dqVxkxE7wnYd8iqsE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31366},"main":"lib/index.js","type":"module","types":"lib/types.d.ts","module":"lib/index.js","gitHead":"f772bc0da6a2e0860b2bcf94f0f3a7bc4414e5b1","scripts":{"lint":"eslint '*/**/*.{js,ts}' --quiet --fix","build":"node build/build.js && npm run generate:types","prettier":"prettier --write .","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"10.2.4","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"_nodeVersion":"21.6.1","dependencies":{"vue":"^3.4.21","@azure/msal-browser":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","esbuild":"^0.20.2","prettier":"^3.2.5","typescript":"^5.4.4","@types/node":"^20.12.5","@babel/types":"^7.24.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.5.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.0.4_1715368258654_0.40563254269777804","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"vue3-msal-plugin","version":"1.0.5","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Hewage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.0.5","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanHewage/vue3-msal#readme","dist":{"shasum":"31038185f6585aeab8cafaad8407e70e1cc0fc20","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.0.5.tgz","fileCount":10,"integrity":"sha512-LC/WUb6R3otJtLg2GHz5VQaYASES00e36APMvtPMtk282XtsrauxZycGZ9ywH5NsXA0JSm3pHbbekQ0zaU6YXg==","signatures":[{"sig":"MEUCIDiuQwNOO9Lf46YjwIEWMhWw71YGc3NAT3Jd/v2mZVPmAiEAz2M2LcqFGo14wamWrZWESXdViEJrvWBiADYo7dXxWRA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31366},"main":"lib/index.js","type":"module","types":"lib/types.d.ts","module":"lib/index.js","gitHead":"fe29575eedee11984735ef35e050679720d0b2b5","scripts":{"lint":"eslint '*/**/*.{js,ts}' --quiet --fix","build":"node build/build.js && npm run generate:types","prettier":"prettier --write .","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"10.2.4","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"_nodeVersion":"21.6.1","dependencies":{"vue":"^3.4.21","@azure/msal-browser":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","esbuild":"^0.20.2","prettier":"^3.2.5","typescript":"^5.4.4","@types/node":"^20.12.5","@babel/types":"^7.24.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.5.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.0.5_1715368291958_0.9694311276957293","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"vue3-msal-plugin","version":"1.0.6","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Hewage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.0.6","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanHewage/vue3-msal#readme","dist":{"shasum":"d3a43c0a66a2ed95b4ec3db193e4414127af0869","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.0.6.tgz","fileCount":10,"integrity":"sha512-2xbqpPzigwT8vRdOQWdyXGWd2+yznlOGpqDu0BEB7Xoct7MvMwUeSpCreKc5NVmr1jQfWgq9PFaABk2pLLOxBA==","signatures":[{"sig":"MEUCIHDDW5EBgREI6wq4kFAQTRh8Q3Wm9zIjDjNY+DhKkaVxAiEAjC1QGfteWOt48HJip92hB1VQOCZcztgAr40hJxsWxgc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31581},"main":"lib/index.js","type":"module","types":"lib/types.d.ts","module":"lib/index.js","gitHead":"d310059a6f02bbdd82a6e8a03c46f0533d4a6ea0","scripts":{"lint":"eslint '*/**/*.{js,ts}' --quiet --fix","build":"node build/build.js && npm run generate:types","prettier":"prettier --write .","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"10.8.3","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"_nodeVersion":"22.9.0","_hasShrinkwrap":false,"devDependencies":{"vue":"^3.4.21","eslint":"^8.57.0","esbuild":"^0.20.2","prettier":"^3.2.5","typescript":"^5.4.4","@types/node":"^20.12.5","@babel/types":"^7.24.0","@azure/msal-browser":"^3.11.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.5.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"peerDependencies":{"vue":"^3.0.0","@azure/msal-browser":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.0.6_1764298672503_0.29148855166349796","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"vue3-msal-plugin","version":"1.1.0","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Katukurundage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.1.0","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanDev/vue3-msal#readme","dist":{"shasum":"44a2852bb5a9406e7041da41e8d5d7b708cd62d2","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.1.0.tgz","fileCount":21,"integrity":"sha512-avlO7NYVEaZ52zEiEyThbRpYDoic1jmy5+UU+zqr1YCBsakcSkC25g9/cJkfNKS/IcR6k4YFxouXDH7Z8M3jqg==","signatures":[{"sig":"MEYCIQCZURqF9aadKjnSVUiI8OAOm3x8UR4IX+uxwXu/BeQMIQIhALq/Uvp1r5fSFhQQEpgTrW3b1Yw1xAMSaVL76HR+FHnD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54709},"main":"lib/index.cjs","type":"module","types":"lib/index.d.ts","module":"lib/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./lib/types.d.ts","import":"./lib/index.js","require":"./lib/index.cjs"},"./types":{"types":"./lib/types.d.ts","import":"./lib/index.js","require":"./lib/index.cjs"}},"gitHead":"a6197f8b8cb537966ec8d5f5d74e92d2e13b7b34","scripts":{"lint":"eslint . --fix","test":"vitest run","build":"node build/build.js && npm run generate:types","test:ui":"vitest --ui","prettier":"prettier --write .","test:watch":"vitest","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","test:coverage":"vitest run --coverage","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"11.12.1","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.0","jsdom":"^29.1.1","eslint":"^9.0.0","vitest":"^4.1.10","esbuild":"^0.28.0","prettier":"^3.5.0","@vitest/ui":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.19.0","@babel/types":"^7.24.0","@vue/test-utils":"^2.4.11","typescript-eslint":"^8.0.0","@azure/msal-browser":"^4.30.0","@vitest/coverage-v8":"^4.1.10","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.0.0","@typescript-eslint/eslint-plugin":"^8.0.0"},"peerDependencies":{"vue":"^3.5.0","@azure/msal-browser":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.1.0_1784677033039_0.909050148522009","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"vue3-msal-plugin","version":"1.1.1","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"author":{"url":"https://dulan.me","name":"Dulan Katukurundage","email":"dulanhewage2@hotmail.com"},"license":"MIT","_id":"vue3-msal-plugin@1.1.1","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"homepage":"https://github.com/DulanDev/vue3-msal#readme","dist":{"shasum":"1d484f4c231d9f1a0f7d71ad441be1c1efb9773a","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.1.1.tgz","fileCount":21,"integrity":"sha512-8cgcqqPZ4n3BPEW+59psonxqRRsKiuF3OtwljAmIZAWUvpw09heq00pEvb230+nVjTO+3MXkZMU6WxSvBN4Zog==","signatures":[{"sig":"MEQCICE5l1cGeEPocT5GlnHj9TpwcQFwyS2s8la4jqCNk+OrAiA2Xrsq8tenaa06uYrTK+A+WxnFgWqV/3q1JlmBLlLACA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55034},"main":"lib/index.cjs","type":"module","types":"lib/index.d.ts","module":"lib/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","require":"./lib/index.cjs"},"./types":{"types":"./lib/types.d.ts","import":"./lib/index.js","require":"./lib/index.cjs"}},"gitHead":"a6197f8b8cb537966ec8d5f5d74e92d2e13b7b34","scripts":{"lint":"eslint . --fix","test":"vitest run","build":"node build/build.js && npm run generate:types","test:ui":"vitest --ui","prettier":"prettier --write .","test:watch":"vitest","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","test:coverage":"vitest run --coverage","generate:types":"tsc -p tsconfig.json"},"_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"_npmVersion":"11.12.1","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.0","jsdom":"^29.1.1","eslint":"^9.0.0","vitest":"^4.1.10","esbuild":"^0.28.0","prettier":"^3.5.0","@vitest/ui":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.19.0","@babel/types":"^7.24.0","@vue/test-utils":"^2.4.11","typescript-eslint":"^8.0.0","@azure/msal-browser":"^4.30.0","@vitest/coverage-v8":"^4.1.10","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.0.0","@typescript-eslint/eslint-plugin":"^8.0.0"},"peerDependencies":{"vue":"^3.5.0","@azure/msal-browser":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue3-msal-plugin_1.1.1_1784764867038_0.4119323263288628","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"_id":"vue3-msal-plugin@1.1.2","dist":{"shasum":"c1d3ee681c8ebd58f5c6bb198c5f9e2156c1c658","tarball":"https://registry.npmjs.org/vue3-msal-plugin/-/vue3-msal-plugin-1.1.2.tgz","fileCount":21,"integrity":"sha512-sNauOKRdBXCA+GiBB0SkT1TAVtzMXUUKQ5MdYL6kkPzIjhtczPzdZMNBI8cR1vcxIKu3EniEz1S7bPul3LUC5w==","signatures":[{"sig":"MEQCIFgjTM4eT/P1813Yha4wzhQN+kApL20rDg9qMc5M7UfHAiAgOb++hU4KqTQF5FU3KROBC67UNM/VsP82JPy/eeIepQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID3lIiMx8L1g+ro6iyfg8WaR3FysQRASL2TlBs+oNx9ZAiBRxle0JD2PPrrC37Daq5/eXon0zgoKnNlNG0rnIzfbMg=="}],"unpackedSize":60733},"main":"lib/index.cjs","name":"vue3-msal-plugin","type":"module","types":"lib/index.d.ts","author":{"url":"https://dulan.me","name":"Dulan Katukurundage","email":"dulanhewage2@hotmail.com"},"module":"lib/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","require":"./lib/index.cjs"},"./types":{"types":"./lib/types.d.ts","import":"./lib/index.js","require":"./lib/index.cjs"}},"gitHead":"fc243cfe19fd0d46617a862bea0dd3ffec5884ad","license":"MIT","scripts":{"lint":"eslint . --fix","test":"vitest run","build":"node build/build.js && npm run generate:types","test:ui":"vitest --ui","prettier":"prettier --write .","test:watch":"vitest","release:major":"npm version $(semver $npm_package_version -i major) && npm publish --tag latest","release:minor":"npm version $(semver $npm_package_version -i minor) && npm publish --tag latest","release:patch":"npm version $(semver $npm_package_version -i patch) && npm publish --tag latest","test:coverage":"vitest run --coverage","generate:types":"tsc -p tsconfig.json"},"version":"1.1.2","_npmUser":{"name":"dulanh","email":"dulanhewage2@gmail.com"},"homepage":"https://github.com/DulanDev/vue3-msal#readme","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"_npmVersion":"11.12.1","description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","directories":{},"maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"sideEffects":false,"_nodeVersion":"25.9.0","_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.0","jsdom":"^29.1.1","eslint":"^9.0.0","vitest":"^4.1.10","esbuild":"^0.28.0","prettier":"^3.5.0","@vitest/ui":"^4.1.10","typescript":"^5.5.0","@types/node":"^20.19.0","@babel/types":"^7.24.0","@vue/test-utils":"^2.4.11","typescript-eslint":"^8.0.0","@azure/msal-browser":"^4.30.0","@vitest/coverage-v8":"^4.1.10","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.0.0","@typescript-eslint/eslint-plugin":"^8.0.0"},"peerDependencies":{"vue":"^3.5.0","@azure/msal-browser":"^4.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vue3-msal-plugin_1.1.2_1792979901003_0.8266849264744951"}}},"time":{"created":"2024-04-17T16:30:10.259Z","modified":"2026-10-26T01:58:23.720Z","1.0.0":"2024-04-17T16:30:10.426Z","1.0.1":"2024-04-17T16:35:25.281Z","1.0.2":"2024-04-17T16:42:40.197Z","1.0.3":"2024-04-17T16:57:39.658Z","1.0.4":"2024-05-10T19:10:58.846Z","1.0.5":"2024-05-10T19:11:32.099Z","1.0.6":"2025-11-28T02:57:52.712Z","1.1.0":"2026-07-21T23:37:13.171Z","1.1.1":"2026-07-23T00:01:07.180Z","1.1.2":"2026-10-26T01:58:21.080Z"},"author":{"url":"https://dulan.me","name":"Dulan Katukurundage","email":"dulanhewage2@hotmail.com"},"license":"MIT","homepage":"https://github.com/DulanDev/vue3-msal#readme","keywords":["vue","vue3","msal","microsoft","authentication","library","plugin","msal-browser","azure-ad"],"description":"Vue 3 plugin for integrating MSAL.js into your app, offering easy-to-use composables.","maintainers":[{"name":"dulanh","email":"dulanhewage2@gmail.com"}],"readme":"<p align=\"center\">\n  <img width=\"280\" src=\"https://github.com/DulanDev/vue3-msal/assets/15976939/e5d25e77-1e05-4278-97a7-c112b4a59412\" alt=\"Vue 3 Msal Plugin Logo\">\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/vue3-msal-plugin\">\n    <img src=\"https://img.shields.io/npm/v/vue3-msal-plugin\" alt=\"npm\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/vue3-msal-plugin\">\n    <img src=\"https://img.shields.io/npm/dm/vue3-msal-plugin\" alt=\"npm downloads\">\n  </a>\n  <img src=\"https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=fff\" alt=\"TypeScript\">\n  <img src=\"https://img.shields.io/npm/l/vue3-msal-plugin\" alt=\"MIT\">\n  <img src=\"https://img.shields.io/badge/node-%3E%3D20-brightgreen\" alt=\"Node\">\n</p>\n\n<p align=\"center\"> Vue 3 plugin for integrating Microsoft Authentication Library (MSAL) into your app, offering easy-to-use composables. </p>\n\n## Requirements\n\n- Node.js 20 or newer\n- Vue 3.5 or newer\n- [`@azure/msal-browser`](https://www.npmjs.com/package/@azure/msal-browser) 4 or newer\n\n## Installation\n\nTo install the package, use the following npm command:\n\n```sh\nnpm i vue3-msal-plugin\n```\n\n## Quick Start\n\n```ts\n// main.ts\nimport { createApp } from 'vue';\nimport { msalPlugin, msalInstance } from 'vue3-msal-plugin';\nimport type { Configuration } from '@azure/msal-browser';\nimport App from './App.vue';\n\nconst config: Configuration = { auth: { clientId: '...', authority: '...', redirectUri: '...' } };\nconst app = createApp(App);\napp.use(msalPlugin, msalInstance(config));\napp.mount('#app');\n```\n\nThen use the `useMsal` composable inside any component:\n\n```ts\nimport { useMsal } from 'vue3-msal-plugin';\n\nconst { instance, accounts, inProgress } = useMsal();\n```\n\nSee the [Configuration](#configuration) and [Composables](#composables) sections below for the full API.\n\n## Sample Apps\n\nYou can check out the sample apps to see how to use this package.\n\n1. [Vue 3 App with Pinia](https://github.com/DulanDev/vue3-msal/tree/main/samples/sample-with-pinia)\n2. [Quasar App](https://github.com/DulanDev/vue3-msal/tree/main/samples/sample-with-quasar)\n3. [Nuxt App](https://github.com/DulanDev/vue3-msal/tree/main/samples/sample-with-nuxt)\n\n## Configuration\n\nIn your main.ts file, you need to initialize the plugin with your MSAL instance.\n\nAwait `initialize()` before any other MSAL call. MSAL Browser v4 only loads the `localStorage` cache during `initialize()`, so calling `getAllAccounts()` before it resolves throws `uninitialized_public_client_application` for a user who is already signed in.\n\n```typescript\nimport { createApp } from 'vue';\n\nimport App from './App.vue';\nimport router from './router';\n\nimport { msalPlugin, msalInstance } from 'vue3-msal-plugin';\nimport type { Configuration, AuthenticationResult } from '@azure/msal-browser';\nimport { EventType } from '@azure/msal-browser';\n\n// Define the configuration for the MSAL instance\n// For more detailed usage and other available options, please refer to the official MSAL.js documentation - https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/configuration.md\n\nconst msalConfig: Configuration = {\n  auth: {\n    clientId: import.meta.env.VITE_CLIENT_ID,\n    authority: import.meta.env.VITE_AUTHORITY,\n    redirectUri: 'http://localhost:5173', // Must be registered as a SPA redirectURI on your app registration\n    postLogoutRedirectUri: 'http://localhost:5173', // Must be registered as a SPA redirectURI on your app registration\n  },\n  cache: {\n    cacheLocation: 'localStorage',\n  },\n};\n\nasync function bootstrap() {\n  const app = createApp(App);\n\n  // Create a new MSAL instance with the defined configuration\n  const newMsalInstance = msalInstance(msalConfig);\n\n  // MSAL Browser v4 loads the localStorage cache here, so it must finish before any other MSAL call\n  await newMsalInstance.initialize();\n\n  // Get all accounts from the MSAL instance\n  const accounts = newMsalInstance.getAllAccounts();\n  if (accounts.length > 0) {\n    // If there are any accounts, set the first one as the active account\n    newMsalInstance.setActiveAccount(accounts[0]);\n  }\n\n  // Add an event callback to the MSAL instance\n  newMsalInstance.addEventCallback((event) => {\n    // If the event is a successful login and the event has a payload\n    if (event.eventType === EventType.LOGIN_SUCCESS && event.payload) {\n      // Cast the payload to an AuthenticationResult\n      const payload = event.payload as AuthenticationResult;\n      // Get the account from the payload\n      const account = payload.account;\n      // Set the account as the active account in the MSAL instance\n      newMsalInstance.setActiveAccount(account);\n\n      /* Optionally, You can update the user store with the account data here.\n      'account' refers to the account data obtained from the MSAL instance.\n      updateUser(account)\n      */\n    }\n  });\n\n  app.use(router);\n\n  // Use the vue3-msal-plugin with the MSAL instance\n  app.use(msalPlugin, newMsalInstance);\n\n  // Handle page refresh\n  // Get the active account from the MSAL instance\n  const activeAccount = newMsalInstance.getActiveAccount();\n  if (activeAccount) {\n    /* Optionally, you can update the user store with the account data here.\n      'account' refers to the account data obtained from the MSAL instance.\n      updateUser(activeAccount)\n      */\n  }\n\n  app.mount('#app');\n}\n\nbootstrap();\n```\n\n## Composables\n\nThe plugin provides a `useMsal` composable that you can use in your components to access the MSAL instance and its related properties and methods. Here's an example:\n\n```typescript\nimport { useMsal } from 'vue3-msal-plugin';\n\nconst { instance, accounts, inProgress } = useMsal();\n\nconsole.log('instance', instance); // MSAL instance\nconsole.log('accounts', accounts.value); // Array of account objects\nconsole.log('inProgress', inProgress.value); // Authentication status\n```\n\nThe `instance` is the MSAL instance, `accounts` is an array of account objects, and `inProgress` is a reactive property that indicates the authentication status.\n\nThe `useMsal` function also initializes the MSAL instance and handles redirect promises if the interaction status is `InteractionStatus.Startup`.\n\nFor login operations, a `loginRequest` object is used. It contains a `scopes` property which is an array of permission scopes. All parameters in the login requests are optional, so you can just send an empty object.\n\nRead more about scopes [here.](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/request-response-object.md#scopes)\n\nYou can use these methods to perform various authentication operations:\n\n```typescript\nconst { instance, accounts, inProgress, loginRequest } = useMsal();\n\nconst loginPopup = () => {\n  instance.loginPopup(loginRequest);\n};\n\nconst loginRedirect = () => {\n  instance.loginRedirect(loginRequest);\n};\n\nconst logoutPopup = () => {\n  instance.logoutPopup({\n    mainWindowRedirectUri: '/',\n  });\n};\n\nconst logoutRedirect = () => {\n  instance.logoutRedirect();\n};\n```\n\n### useIsAuthenticated\n\nThe `useIsAuthenticated` composable provides a reactive property that indicates whether the user is authenticated or not.\n\n```typescript\nimport { useIsAuthenticated } from 'vue3-msal-plugin';\n\nconst isAuthenticated = useIsAuthenticated(); // Reactive property\n```\n\nYou can use this property to conditionally render components or perform actions based on the authentication status of the user.\n\n### useMsalAuthentication\n\nThe `useMsalAuthentication` composable from vue3-msal-plugin provides a way to handle authentication and acquire tokens using MSAL.\n\n```typescript\nimport { useMsalAuthentication, InteractionType } from 'vue3-msal-plugin';\n\nconst { acquireToken, result, error, inProgress } = useMsalAuthentication(interactionType, request);\n```\n\n**`useMsalAuthentication` takes two parameters:**\n\n- `interactionType`: This is of type InteractionType and it specifies the type of interaction to be used for authentication. It can be Popup, Redirect, or Silent.\n\n- `request`: This is an object of type PopupRequest, RedirectRequest, or SilentRequest. It contains the parameters for the authentication request.\n\n**`useMsalAuthentication` returns an object with the following properties:**\n\n- `acquireToken`: This is a function that can be used to manually initiate the token acquisition process. It takes an optional requestOverride parameter which can be used to override the initial request parameters.\n\n- `result`: This is a reactive property that holds the result of the authentication process. It will be null if the process has not completed or if an error occurred.\n\n- `error`: This is a reactive property that holds any error that occurred during the authentication process. It will be null if no error occurred.\n\n- `inProgress`: This is a reactive property that indicates whether the authentication process is currently in progress.\n\nThe `useMsalAuthentication` function automatically initiates the token acquisition process when it is called. If the process is not completed and no error occurred, it will be re-initiated whenever the global inProgress status changes.\n\nPlease note that `useMsalAuthentication` should only be called within the setup() function of a Vue component. Also, the MSAL plugin must be installed in your application. If these conditions are not met, useMsalAuthentication will throw an error.\n\n### callMsGraph\n\n#### Makes a GET request to the Microsoft Graph API\n\nThe `callMsGraph` function takes an access token as a parameter and returns a promise that resolves with the response data from the Microsoft Graph API.\n\nYou can see an example of how to use this function in here [MyProfile.vue](https://github.com/DulanDev/vue3-msal/blob/main/samples/sample-with-pinia/src/components/MyProfile.vue).\n\n```typescript\nimport { ref, watch } from 'vue';\nimport type { Ref } from 'vue';\nimport { useMsal } from 'vue3-msal-plugin';\nimport type { AccountInfo } from '@azure/msal-browser';\n\nconst { callMsGraph } = useMsal();\ntype UserInfo = AccountInfo | null;\n\nconst msGraphData: Ref<UserInfo> = ref(null);\n\nasync function fetchData() {\n  try {\n    const response = await callMsGraph('your-access-token-here');\n    msGraphData.value = response;\n  } catch (error) {\n    console.error(error);\n  }\n}\n\nfetchData();\n```\n\nTo obtain the access token, you can use the `result` from `useMsalAuthentication` composable.\n\n## Migration from v1.0.x\n\nv1.1.0 modernizes the build, dependency ranges, and type surface, but the documented public API and the code samples above are unchanged. To upgrade:\n\n1. Bump `@azure/msal-browser` to `^4.0.0`. See the official [MSAL.js v4 migration guide](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-browser#migrating-from-previous-msal-versions) for behavioral changes (most notable: IE11 dropped, default `navigateToLoginRequestUrl` behavior changed).\n2. Bump `vue` to `^3.5.0`.\n3. Use Node.js 20 or newer (`engines.node: \">=20\"` is now enforced on install).\n\nNo application code changes are needed if you are using the documented composables above. `$msal` remains available on Vue global properties for backward compatibility.\n\nSee [`CHANGELOG.md`](./CHANGELOG.md) for the full list of additions, fixes, and removed items.\n\n## Acknowledgments\n\n- [Microsoft Authentication Library for JavaScript (MSAL.js)](https://github.com/AzureAD/microsoft-authentication-library-for-js)\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## Contact\n\nDulan Katukurundage - dulanhewage2@hotmail.com\n","readmeFilename":"README.md"}