{"_id":"@calvear/react-azure-msal-security","_rev":"12-d60928cd30ca80b7cedd9a8150d3db62","name":"@calvear/react-azure-msal-security","dist-tags":{"latest":"2.1.2"},"versions":{"1.0.0":{"version":"1.0.0","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.8.0","react-dom":">=16.8.0"},"dependencies":{"msal":"^1.4.5"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-react":"^7.12.10","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.3","@testing-library/user-event":"^12.6.2","eslint":"^7.18.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsdoc":"^31.4.0","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-sonarjs":"^0.5.0","jest":"^26.6.3"},"scripts":{"build":"rimraf dist/** && npx babel src --out-dir dist --copy-files","upload":"npm login && npm publish --access public","upload:beta":"npm login && npm publish --access public --tag beta","upload:alpha":"npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","packages:update":"npm update --save/--save-dev","packages:force-update":"npx npm-check-updates -u","git:case-sensitive":"git config core.ignorecase false"},"gitHead":"a13a0a948c3a62b513d6486bf1a98741cc12c3e0","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@1.0.0","_nodeVersion":"14.15.4","_npmVersion":"7.5.1","dist":{"integrity":"sha512-3XWJCeb65W9jJrAiEFg+vNqL8cAuF+sdbllA+UxjUiAVSu+YmvgqMBVTkfFnjCeZ8z3ZZoI8aOAA7UWF164aKw==","shasum":"76e08ce6a375662b9aa47d093ee9bb1b0873e1bc","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-1.0.0.tgz","fileCount":16,"unpackedSize":65202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHtEZCRA9TVsSAnZWagAA8SoP+QBoGKkZUmwujB8qB5rC\n5xfEv1BJbsXIco6Ut5zi5j6aiHqqYmcf6poG74xSpOkmg4h7UIRBirS5Zdd0\ndbDydzlBow1Qlc/4uQXvl139EJ38jknIhnvkznuaBuS4ftvMO2CVww5LvFhi\noSt9z8haiCHnILFtoE+abhbU3uSQQn8FP8l/tvHE1mm7ierp1Sh33bB/3oub\nYzkQ4muKmWnVPbiJSnfYCFg+gbTAYbXecbAfZwp1euSI95pFDjbGIJ5bGAhs\nGjEdDdf2PaVMEhmvk0HYuA9TpTJ2t6lTv/H56QqVDBclmaBO22KsQ1OjJwsU\nE3nfkyVvSVgK4X2hTOUCfSts+GgniEGhuprqFPJ+kXnbM++FmmaK76HGJBWS\nVvTG0Uam5bc5VJh+TpBwEzuZrss34iWChVaorosK01gaqh96FUfpPtHwNeRf\nNWQ5gfC+T6jESVKnLsR/z3mDBSkIzvs0svO2SZ84LoTUseCRGR2tjj8eQqfl\nilHMAiUCcfHDu1ZlxtG+GygESyd5x7eGhEjnKiHwFiyic7y2V0ZhBbub15U9\nVLmRL/8BWkaei+MlAK6zM15CefKT9pSHZXbLFHkZvggMmFqGdIYsJJx6gob8\nqc3WFmQc2RK7yOXqt3jVhAUcY5j6lfuNiwj35P9/oq09Tb6f+zl4sBboVs0+\ntWo7\r\n=atml\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/NPY0OoXH77W6Cj4TSk60t0trD5wda0+FAUWkzfvjIAiEAnUs0Y4KF6te1LUSzwNBOwxzPxVtgMTE/UsdgkNBvap4="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_1.0.0_1612632344697_0.633344165291766"},"_hasShrinkwrap":false},"1.0.1":{"version":"1.0.1","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.8.0","react-dom":">=16.8.0"},"dependencies":{"msal":"^1.4.5"},"devDependencies":{"@babel/cli":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-react":"^7.12.13","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.5","@testing-library/user-event":"^12.6.3","eslint":"^7.19.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsdoc":"^31.6.1","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-sonarjs":"^0.5.0","jest":"^26.6.3"},"scripts":{"build":"rimraf dist/** && npx babel src --out-dir dist --copy-files","upload":"npm login && npm publish --access public","upload:beta":"npm login && npm publish --access public --tag beta","upload:alpha":"npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","packages:update":"npm update --save/--save-dev","packages:force-update":"npx npm-check-updates -u","git:case-sensitive":"git config core.ignorecase false"},"gitHead":"5baf00ca3c3eb78e720db7b5ab7e495ccc1c2357","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@1.0.1","_nodeVersion":"14.15.4","_npmVersion":"7.5.1","dist":{"integrity":"sha512-i2fYuF7Q3uFpqYSkFQh8ng8nLBa/Hw6kdjoKRGZJxJqkexRkrHI1c6R/6xVObkA5DMZf5021zLfkXbAgQVX3Mw==","shasum":"f9f7f2cce11e980e3ab73992115cf9ac9c3a75c4","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-1.0.1.tgz","fileCount":16,"unpackedSize":71843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIGB2CRA9TVsSAnZWagAAllgP/1u+e06V4OW0Ara3mM5X\n1JUzmxQsGnNT1jPYk8DEwf3S4xLQKh+7rDafp895vMWfMc4gcIE6/P2+zeds\nezSW7ctrqfHoWbrD56WX6xcjhILZOOSffhUnToZ0lggwRXyU5X+pcymiE2ri\n5yjcCkk3u/edHJU3WkcFWR51j/Hgk9tB7re9GoyUvvsWQ/cgwmmRPPzvnqWA\n/mh22zlzX/ilUWo7sSCusETlnk0wXQrvmahnb3CJZxk6rxOePHZhlJkjOtmR\ntyGVAlJ8joC2+63v/QOpkoQFaa2GdzRYFq0cZit/Wglr+o0b//+pCfYpW30a\nGswMK3zOuYxdwoVDWCbbcJ2rlxUfU3WpipcCr5hYL12WUh8DKxqiMm5FyLKd\no4u/zU4BEDGREcpmsJJUTESw9+SJNdWT9OMTnmlWFhxjYqtcaJiAfYsPq4gh\nA3GjPoSqsZm+AWJvLDumpdgm0cdTGFw65RUWiaQ5JLW+DICXpYj/CoXLsE6O\nBflXJ9ROsZON68+5rUBmG/lPFwlB00j8HoH0lvzpj4FXXdnixU6gQ3Ah9SrP\nTRilj3/pVnZ5V7KX5KklqcOPE/1OmF4fyXCP7wM/GnZWuyqepHPxmhvM4dYe\n1R5TelrSkgnAV0zFY66O7fYvRSu415OMj421eX/ageDg6ARy009aDKkPumMP\nVSgJ\r\n=EfIl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGp+8AqwV3AqMTwP8ZFTebU8YX4R6I/1/CfnJuh4quihAiAqFU9rX5X/Cnoe/SedxEvW9OkWsJEZOnii/kRhAHl3WQ=="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_1.0.1_1612734582337_0.29177042399976894"},"_hasShrinkwrap":false},"1.0.2":{"version":"1.0.2","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.8.0","react-dom":">=16.8.0"},"dependencies":{"msal":"^1.4.5"},"devDependencies":{"@babel/cli":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-react":"^7.12.13","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.5","@testing-library/user-event":"^12.6.3","eslint":"^7.19.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsdoc":"^31.6.1","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-sonarjs":"^0.5.0","jest":"^26.6.3"},"scripts":{"prebuild":"rimraf dist/**","build":"npx babel src --out-dir dist --copy-files","upload":"npm login && npm publish --access public","upload:beta":"npm login && npm publish --access public --tag beta","upload:alpha":"npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","packages:update":"npm update --save/--save-dev","packages:force-update":"npx npm-check-updates -u","git:case-sensitive":"git config core.ignorecase false"},"gitHead":"6b1cb7c711a76daaed556fdc2c03a3520e914ca8","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@1.0.2","_nodeVersion":"10.21.0","_npmVersion":"7.5.2","dist":{"integrity":"sha512-aUC1WNfkEOjTraT4MC+c297h5Xk9/5ZjU7SgPAx/41rgsNJfjREqQgl7Gq01fgKZQ1S+kHxQ6fc0reNyY00vZw==","shasum":"2ff68f9be9b8ac42576845ba03791748592d63c5","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-1.0.2.tgz","fileCount":17,"unpackedSize":86116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIXFQCRA9TVsSAnZWagAAoPIQAIz8/ygrMoqShQuILcd1\nQe8O4R35FJ4RqXwbK1NPctZIpiQ+/aXHRh7/ye/tVgvtPxlyH5daJnemOwRP\nx7COCu0hwS6o/EbDz9d98pDS6XAOKfZSsmaUl8nPhdl2Av/lmXq2JN3cnJZr\n0mofF8lSleR/TINaxr71NcoKnBT4Ul/xxEzHM+yuWTTtEQ7cqgr+9j/LrxpJ\nQJ0DvAgjqpGFIV/n5cOy4MO2DJwN6uubOlaJPkoolGn+xSKJfwr7CE8q28kU\n/DY78tGcSA1nr0nOOUXt7DPzuicozWmqssXWDEggKUHMx6kQc3PMDRZsy7T8\nwzcH0VsOq3MBV4Cm8pvfBknyhXhXtPipejxnOOTIuJ3r+2ZnE841tr6QrTgH\nGdsfsVwKLvKeEzo2eHLYxKzJJHu4G7kILL/pYxCFJj11bJiH3NnkZaBJhjoX\nGS2wg+ljktox6hZk88LPZDfMhNk44FQ6LQ2UtUVyXnfacWSRsvJVy+dlkCo3\nxMvjLykJwp9DJaUhsiYCK0iEwiUVyn8Zrr0lEEV4hsY3nVcCpPbKk/qloSue\n3zpoz8R6biD0ctQHkEg3e9HeUHvK6pXTqu3FSK/PqVY6K3WaEOs3Ph4qpzhz\nrBnytLbosqgxCABtSypg/XeaoIbs1TynGNaxbjDhZ5J5Po347P0eDFnVLmzM\nAnxN\r\n=sYyH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaSRT9QKSIeobR0rLQqTSGg6sRVHP8wF3EeMYA7nDs9QIhAPl5HszJqIWbdu6NsVvoj4OwPO9sOvTGUmPxfGerA8/J"}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_1.0.2_1612804432186_0.027647349862061077"},"_hasShrinkwrap":false},"1.0.3":{"version":"1.0.3","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.8.0","react-dom":">=16.8.0"},"dependencies":{"msal":"^1.4.5"},"devDependencies":{"@babel/cli":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-react":"^7.12.13","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.5","@testing-library/user-event":"^12.6.3","eslint":"^7.19.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsdoc":"^31.6.1","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-sonarjs":"^0.5.0","jest":"^26.6.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files","upload":"npm login && npm publish --access public","upload:beta":"npm login && npm publish --access public --tag beta","upload:alpha":"npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","packages:update":"npm update --save/--save-dev","packages:force-update":"npx npm-check-updates -u","git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"0b54a5a8207c0fc52cf723d1a4e40164b2ac4a10","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@1.0.3","_nodeVersion":"10.21.0","_npmVersion":"7.5.2","dist":{"integrity":"sha512-Z1TVUftiJ/M50v6CpHZ93p5ryKIzpIQlwo/wUOoEeF+l/gFDOiLE5wmLt2NVoqgY6C/y9/hLjG0ImMwD1VmDaQ==","shasum":"9890b5bf0f5cf7286af6f231b4ffc428170f5531","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-1.0.3.tgz","fileCount":17,"unpackedSize":94669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIarYCRA9TVsSAnZWagAAtVYP/jF0VTZ3mN2Ouqt39U0J\nqNq+E9c20wcU7dIo4Gi3dEbYJaBQBmVEWlNNP/nN8PJ73IQpbd4al59JJjsB\nIuNjouKIhz3aGcwompyVkNlCRZptZxgQRYTX/tpM7PSph0ip1Ffd2XcZxyl+\nQ9WWgA1FHeKl3D1Ro4NYGb8BA+Lxfx6Y1U1iE79YScECt+rHZtdHB5yH3pXT\n4x3CHi9ybpCREbkKBLm6ltf9rgd+Awe1x8o+ZAQiAXlUin2T26dPFWRa4SjI\noczy5OzMWmr3CwHpRxOkZR+mnzauY0YX8nCW53g5RQaTy6LygruSjwoAR3RV\nYFtuDfwWyEehEfpoOxj9NWfMxV9ZD5wTY+GVbWmvzBkSXI0wUFVW3nUjUdqF\ny/dfh/T+gqqQps4BOTSsHs16c+LedQCzc2bz8Blw5drAcoDqFx9AUAXIpcTX\n6kpFV7+0m6iB4rbvswEwNP30yR/xxokpM+uqqwO2e9jeUoon9Z8e5dS31tf0\nAXtUCV7UI6qi/AYmTXAxI4E6H/iG37ZCLOgftcyEMariUbR26zNcCirLZOVB\nSfX3BFInv+jOMb43u/9q8O6Yje6a4vqM9AOAXMeLMW0W4PWmYqtCL+eWkM5m\nbbh88YHxf9aWPY5AFNL9S8WyUYmEpUXuqpKzbg/J7L8KW0K6/cEJy8E20+y+\nT+Rp\r\n=WslI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB/SFGj9V8YQ3aKWfYGun/JFPTUC+PLip44DiFR7txHwIgR/6SzC6YxzORefZtzUdgHzgV0z1ajwRZRFCXiEmgjkE="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_1.0.3_1612819159562_0.7398031821421616"},"_hasShrinkwrap":false},"1.0.4":{"version":"1.0.4","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.8.0","react-dom":">=16.8.0"},"dependencies":{"msal":"^1.4.5"},"devDependencies":{"@babel/cli":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-react":"^7.12.13","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.5","@testing-library/user-event":"^12.6.3","eslint":"^7.19.0","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsdoc":"^31.6.1","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-sonarjs":"^0.5.0","jest":"^26.6.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files","upload":"npm login && npm publish --access public","upload:beta":"npm login && npm publish --access public --tag beta","upload:alpha":"npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","packages:update":"npm update --save/--save-dev","packages:force-update":"npx npm-check-updates -u","git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"49f4596d9004e860e6cc2c076b016edc9fe4b23b","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@1.0.4","_nodeVersion":"15.8.0","_npmVersion":"7.5.1","dist":{"integrity":"sha512-3EImH3mwltSGYJ2IPkraCogz3bF8FNUP1p2AM5aVrBVuiuyG5BfBCSoJIfZ3y+uMEKOefFS1bOzLwkC3QRLUMA==","shasum":"0fe329df40802f6c32d56c40b102d472f6246b97","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-1.0.4.tgz","fileCount":17,"unpackedSize":103355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgItWKCRA9TVsSAnZWagAAzQYP/iiCfbZQfTRYFwuRnxVC\nLTJ7HYd3rWNJVYCJoRlgyVsRCTnr9gjg82QJ1scTx8GLc0Ckhj+q0zcbms8i\nh+on/0jPkF1p8NHrDwJZy9qkWDjT3KRTuDF78W9/VALCEvDVnLgVEBnx7PV/\nvLtUC3kgm69Xk/I2jQQlz86YT3hgJGa/onvrtqCByHhP1fakpPWIgfx6YWoe\nJNEAy2ZE2mFJsoHWJU1ySWjS3/VH+qHWpa5QdYl88wRM5xdSrqIN+NSC/zJb\nMR99Vne3/1K1Aao0x3cqTlPm/Di3LGnVzP5M7LHw5s7mC9lMsTjck7pSUMo1\nAhjaFGa1ReXhZyYt8iouBniXyy7PPvOByZnhXBkUnEpsc4ykZmFKaNCHqDLX\nMz9LK97ZpmuIEC0u29KmbVoel0oAMnXU1QWuk91S0cWfkJVWkA848t6M2ZDM\n/rI7vZA9raXMfV8O4vJClSEHLNvukFkIjljk7Soa3lcwaptF1fX+DWFtfaDO\niUtfMQ22bzDrqIT7MxJMobK9capPp28NwvskMooryZmLp9PHLZcoBaWelMVs\njeNCu5Dz0B9R3OzGzePbcwhOgI9lXx7nmqG3HmnJYJ5HI032y0bZhuxGB7q0\nuliLF8WiCN8h/TAe/YKJKDpnNOiGSSSfGUzTlIGUyRwEPJFr7TSJ1G6EgOGA\n5iIK\r\n=MTs3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFBi8hP2GlskWhv5LRzIk9Wj5HnA6kFFYyfYRdxhzrOAiBewjTm7TItrM2ePKlIgUDsAZOOhi5csd+m1pGz7vGr/Q=="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_1.0.4_1612895625583_0.21142795603670184"},"_hasShrinkwrap":false},"2.0.0":{"version":"2.0.0","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.8.0","react-dom":">=16.8.0"},"dependencies":{"msal":"^1.4.5"},"devDependencies":{"@babel/cli":"^7.12.13","@babel/eslint-parser":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-react":"^7.12.13","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.5","@testing-library/user-event":"^12.6.3","eslint":"^7.19.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsdoc":"^31.6.1","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-sonarjs":"^0.5.0","i":"^0.3.6","jest":"^26.6.3","npm":"^7.5.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files","upload":"npm login && npm publish --access public","upload:beta":"npm login && npm publish --access public --tag beta","upload:alpha":"npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","packages:update":"npm update --save/--save-dev","packages:force-update":"npx npm-check-updates -u","git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"f88927960021d944a730ebd8e67c09c93f4a5ccf","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@2.0.0","_nodeVersion":"15.8.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-MLujwy1L4wHFmoSFNdMQ+cbXsz3LT43iFWkTDO1OgFlK4jOqgkHnN31l8kAkuJ4z3EBCq1AZwHHCftZ0/a1tnw==","shasum":"45722b49bfaa9694d8955989b73f9976d3605b1d","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-2.0.0.tgz","fileCount":17,"unpackedSize":101547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIzgQCRA9TVsSAnZWagAAGycP/iF/7JHBMD8U+aRoMAol\nNHoixt3U263VuZbewTt9GAIycIlAuNTX5OyzxuLmGF7qy5MUx8/u36j+muNQ\nSpMFD6GGVLJEWthtvw7QEDvPTjL4kAuivjNWCK4OdpZCUVCBZrncpghGMMxV\noHw+dKWq8AULwvethm1hN05iUquq9z889XsqIAtW1p9hXYfkv2VY6Z7pGM0F\nNX6kqk2DCLskm4BXdZlKAM+sDnXKD4tnJZQlUrSxorSTdzky7qXNmNu17iAB\nHCnCvwOYQ9SUDgobs1pOIhikOCpf3UzrtbvAVaAWTdX1IV5EQ0l+qoLzi68V\nb38YQeBaD72a9Y5Ta/Y0Wl0h/lrVPPzB/NOQY3KZnbW34MGLn88yXg1tp2Rx\nxkOA2aOStAWiZPXsoYj1cXGOWs7/WG9ffsykCcisOniVwtjw0GEKU+M/OLuK\nproZXDhJi+bJ7VulSlzxCpnaLJacFuE9h6Un/IQTM5gxkSIcUxx4XLZux1Et\nR23j0+NT6bXN2e42VgBKMWhYnRN3kfV5h3TmbkXT5V0rDDM0xjj5rYIeKGs0\nPlVcTV65kjsInDDRI/7NFF28ItgNL1wGGkIrjVIXsyUxPEkvahRYm5y+DHVJ\nzhhG79kTLTVkW3XXq13t9kRxUSgL/Pr/FPMIBUdz0eEUYEeiL6HKepbJGneA\nTzVj\r\n=Syn6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXvsjdpJtVLWcK8+I4kyJ4wIvWc5E/9QYNZHJtS023HAIhAPo5VMjWxDTSNGjpF08tbrZFY1RvY0XNUNVUL5fM6hQT"}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_2.0.0_1612920848166_0.9458987159631054"},"_hasShrinkwrap":false},"2.0.1":{"version":"2.0.1","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.8.0","react-dom":">=16.8.0"},"dependencies":{"msal":"^1.4.5"},"devDependencies":{"@babel/cli":"^7.12.13","@babel/eslint-parser":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-react":"^7.12.13","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.5","@testing-library/user-event":"^12.6.3","eslint":"^7.19.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsdoc":"^31.6.1","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-sonarjs":"^0.5.0","jest":"^26.6.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files","upload":"npm run build && npm login && npm publish --access public","upload:beta":"npm run build && npm login && npm publish --access public --tag beta","upload:alpha":"npm run build && npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","packages:update":"npm update --save/--save-dev","packages:force-update":"npx npm-check-updates -u","git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"213180500dea0936738cc8311ce3b8cb18fb7e8d","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@2.0.1","_nodeVersion":"15.8.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-bFRYJGq/hof8rHkDfPd/waPRt/sBSRFFsx5ckCn/Fx73AqQTo7YmvdDsWUBg0N3IHel+Hd/jCXyofbk9yPPOlg==","shasum":"54687f55461a338382c89fa2344db1d279fe3a4d","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-2.0.1.tgz","fileCount":17,"unpackedSize":107637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJAsGCRA9TVsSAnZWagAA4cMP/3dwzUm+dJIvkT/dGqWj\nlOv5HViobUkxitF5g5u4MSzU8nEfV2SLqWEN9/DD9GB/f0udSxweZev5YwH8\nVPAEGaB5jmWnI/1Vz2CwNQN5rL7sGojAYgMQxN3OT99wmEaVEHCGI5elPgnL\nv0R7CvEzjiM3ikRcKCGIC0606IRunBcjTgTr6ThnHlXMHvsuV5B588CAk2V7\nFA+EybXSgCQ2baXQwsVTFzV02YTv0eQnMaE0R7UX+zmNVvqWKIVuCNIYuhKq\n3QRXTVHGCyiHOnmn0pE3Nui8IfxiAQvg7vAybeYn4+VW5BozlZNC2gIiD9Dn\n5+mTZx/2e2mg+LdDWYwGNkweiO0xLt6mdbKjkqFVZEIAMpwPU/wvdN8z+4rj\n1EKNPk4lwEt7efaRykP7AgcB225bfKwHO8YEL3o0AEfzlcjCn96aoBoorQvy\neIZjLCrM9rN3dRN4lQTt8OrqX4a+my8CWO//nOcGAg5D0WW1FkyzSEn7s04m\nziDANKN3U9jPzLeooOL1njyMwzNqFUlOuRcH5/2EYVxA6hDOVgcisljdE1ed\noRAa9UCYdw0qbrTBF/P87Jcx3jKmmBgOunt3YBzgLF7zdwnNHhS+fSLLizy8\n58PZuEANv4hBC0l1/gzVhv795n2gQHp2Dd0hDlb5qhIRERqfNdvzJDC7skif\nr57X\r\n=Mi5O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlyMWKUtuQIyeczoID/fQmCYMmF5HIUm8l7lokaCFgbwIgRt2vJSTehVlHTapklZO9Bqa4G3rivnlwKkWEubR8wbI="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_2.0.1_1612974854377_0.5681772958530356"},"_hasShrinkwrap":false},"2.0.4":{"version":"2.0.4","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.13.1","react-dom":">=16.13.1"},"dependencies":{"msal":"^1.4.8"},"devDependencies":{"@babel/cli":"^7.13.10","@babel/eslint-parser":"^7.13.10","@babel/preset-env":"^7.13.12","@babel/preset-react":"^7.13.13","@testing-library/jest-dom":"^5.11.10","@testing-library/react":"^11.2.5","@testing-library/user-event":"^13.0.16","eslint":"^7.23.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.3.2","eslint-plugin-jsdoc":"^32.3.0","eslint-plugin-radar":"^0.2.1","eslint-plugin-react":"^7.23.1","eslint-plugin-react-hooks":"^4.2.0","jest":"^26.6.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files --source-maps","upload":"npm run build && npm login && npm publish --access public","upload:beta":"npm run build && npm login && npm publish --access public --tag beta","upload:alpha":"npm run build && npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","_packages:update":"npm update --save/--save-dev","_packages:force-update":"npx npm-check-updates -u","_git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"19a78dc58e7ebf05a60741b161cf75fbb149e2a5","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@2.0.4","_nodeVersion":"15.8.0","_npmVersion":"7.6.1","dist":{"integrity":"sha512-rJD4CLmnz8z5GzDB4kjDoCcizYJPd+eLT6yApXNWqcyDLbzkd1Fw6/i6rW1IccnzVVKgcGvDUw8SwsVrUIZoAA==","shasum":"1bdeb5b73f9979d91890fbd02312826a9e41bca6","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-2.0.4.tgz","fileCount":27,"unpackedSize":175692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgX3VsCRA9TVsSAnZWagAAZfgQAJcTu9S4wlFCnIfJ6J0N\nFZ5VARWBAo9Ln4Ia61WcDtvBf1AMxpMfQSsU2tav0lEFhVpRjB6JV85HQ8CD\nYv7I/LZMnznc2+pIfDSUlkTcL1kUqSleoRhRajf9bBqn3dBLMUUYC/zkoQYz\n+E3nHwt32iUXFvmTawWIVVuhQmW/RQdprvvZS/2D+16rM9znqSGnHRcIIKnO\nQkKYEQCpAFmORRRnOR0C+N31GqX2syIYbxQmNG6djuC9cK3slP9+sqm56foF\n2Myq5hhV734W2JlsE77Z1Pvb1sbMOoOley38iFdXx3TNEn9SPnQz9Xai559b\nUNtXz3TiV7QUqTa+0b3WdH/SqAs3Ld4CiqzpWofGVtRxogAAjoisnCVuZALV\nViv6Ok9Y8wGMDOW4T7aKhlIwXH553RkXLyqVG1sPv3+ciJwTWcSZtwuO0/q0\nGDMQxz81+m4oqCQKD9wUDLuTrByrnXJ3LDlDQJKslWhN/RRbCp7Gye8z+ldo\nOS5u0GnMhtWGLzr8aAJs5XU7vc+snsO5UqWImiTjj+o7airRb0yUpglu5Mqx\nfarGCLisDi71t5tiG1ETbDTBSsiKrGJx0aJwR/QtKuAXtJuqNr2IntT/vYoJ\nhsXKz3l6jHfOv6YzFFhw8CN4sgMZv5hKdy8dAXtI1NYhIwusXDO2xGLpReE8\nhMFu\r\n=aRYt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR/Jnu2EGTnvZvHv2hrtEccBTjxH5b4SFK+2K7Fiow6AIhAMjwE9ui4hwTTuep9pbSZIrPMU9t3h7+BfZJ3m/yGj7I"}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_2.0.4_1616868716099_0.1359395435393258"},"_hasShrinkwrap":false},"2.0.5":{"version":"2.0.5","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.13.1","react-dom":">=16.13.1"},"dependencies":{"msal":"^1.4.9"},"devDependencies":{"@babel/cli":"^7.13.14","@babel/eslint-parser":"^7.13.14","@babel/preset-env":"^7.13.12","@babel/preset-react":"^7.13.13","@testing-library/jest-dom":"^5.11.10","@testing-library/react":"^11.2.6","@testing-library/user-event":"^13.1.1","eslint":"^7.23.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.3.2","eslint-plugin-jsdoc":"^32.3.0","eslint-plugin-radar":"^0.2.1","eslint-plugin-react":"^7.23.1","eslint-plugin-react-hooks":"^4.2.0","jest":"^26.6.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files --source-maps","upload":"npm run build && npm login && npm publish --access public","upload:beta":"npm run build && npm login && npm publish --access public --tag beta","upload:alpha":"npm run build && npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","_packages:update":"npm update --save/--save-dev","_packages:force-update":"npx npm-check-updates -u","_git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"8117ace71d23d2fb3e6b99f5c41b039228f529a9","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@2.0.5","_nodeVersion":"15.8.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-bG3PNfjFq0ekLqRbnWy4SC0KnluR4N/9Uk6hw4s/AbvM2mz1iJSpaxtAeERyzoAyZO0vyV/q4oyszT2hlJIhQA==","shasum":"8ec51cf6986e2665781bb46d20d06954dbfb3153","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-2.0.5.tgz","fileCount":27,"unpackedSize":175737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZzC+CRA9TVsSAnZWagAAvmwP/3O4NyF2KN+uAGe+/IYc\nm5ehDvpkrMHEMCjhmWLgtuWhRZNeZFZLEWCdKQu1GIcDP0S6wnLJIep18tmH\nf8A003HVM80Xedyj71NS8KdEpBKut8VDh+dik0CdYpibofh2NyK3hKSBxZoe\njfQakaPOkGdOBkt02RGOHvSeJLidROqGH2SFsolMicZELFCobP3MqzMN+OxL\npGpUm/hDNZZkCkK+DDZpPyqvQXpGBvJWqomH4tT45HTNzkcd0it+JUG4iD7H\nwkBoofQdTw3yYt3gi0kCpvPmBT4w16U6etx8uWxvHOTN30tfAYIzaC4YfUPU\nu251o9XmsPESYE4p4NGctMx/ysb8CshSz2U4sgQ/25l4V8UfqUAFztXATKIV\nzXLGk8RAUIBlbKXijCg2KKMLixb3z6KL7sw6Znt3dKDiDnbz4eF1aCppHeOz\ntFriK/7eUNEPd/qCOdz62/h8lykC7p2CisD2sICQcdp5nv1kaz5mFRNIjf/8\nK2UMG/sDIDdl+kyyfwNQqUkZgJlUUqJVTBP8aKVEkJ9ibvKw0ENfGDqz4V9K\nBZ0dP5XGY+DAqi6XzPSwmRXzn2fv8NaEFzUmkgCUVSc+qZQM4/PSOAG8I5ku\nsmMq5o/5qqr/DcVCpMXarM99Vceyak6B004i9oNHMKmIOtqL1k4z877hGV8T\n4W/X\r\n=hQcj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7+h2bu/BE3a4DKOK3rPvSrVmxkh1xqLa0wcxSL8FW5QIgA26erfSjldH9W6iyIjhHYdh/2nSdgwRVY/EYnZwN48M="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_2.0.5_1617375422244_0.913465676951549"},"_hasShrinkwrap":false},"2.1.0":{"version":"2.1.0","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.13.1","react-dom":">=16.13.1"},"dependencies":{"msal":"^1.4.10"},"devDependencies":{"@babel/cli":"^7.13.16","@babel/eslint-parser":"^7.13.14","@babel/preset-env":"^7.13.15","@babel/preset-react":"^7.13.13","@testing-library/jest-dom":"^5.12.0","@testing-library/react":"^11.2.6","@testing-library/user-event":"^13.1.5","eslint":"^7.25.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.3.5","eslint-plugin-jsdoc":"^32.3.1","eslint-plugin-radar":"^0.2.1","eslint-plugin-react":"^7.23.2","eslint-plugin-react-hooks":"^4.2.0","jest":"^26.6.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files --source-maps","upload":"npm run build && npm login && npm publish --access public","upload:beta":"npm run build && npm login && npm publish --access public --tag beta","upload:alpha":"npm run build && npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","_packages:update":"npm update --save/--save-dev","_packages:force-update":"npx npm-check-updates -u","_git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"5d3c5920e238695be6cbb5321607f052596d9b36","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@2.1.0","_nodeVersion":"15.8.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-F9iOblSLSWuX+1Zdo8BM+nYtIEHA9Euobn9NZKmNfN+vRBzUdCTd9X3IWHvovkYIxns8SuQMnU9Kp+p8U6oZqA==","shasum":"51024b95e0421a0d14b3e47e05ce75642ae8cdff","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-2.1.0.tgz","fileCount":27,"unpackedSize":176522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghZPcCRA9TVsSAnZWagAANDEP/REom9YGfROP/dOZnGRF\nGORKjiyOi+P64q4jsq4qG8dfyTCUOq3P+AQUk1s5z4Lt9t9VrD7darrduTg8\nuX/qeOY/P8aC/VoobKiJG3O7nCohCO8QDY3EXaO4RDvLdr4aEWbwBdx8Yg64\n5Pyg6QaSKLh8slSz0SOMXdxDBiWIANiY+6boVDcckZnZ7UQCM9/EaivIngB5\nJkXpXGlMTSBUzEAA3rCleWp4agDLADASjG4mHyU3v45WpBM6Fp54ia9O4MIn\n4gv1kFaQGdP/XqhtNTNYd60AIOLtcS7hEZJwQ+6+RlN8lZ3S15H6wOFE8T0t\nHuu43rFTOKXTLby5bsuhmxQ6Mfb4fFHTC7bZttCKrgmGsGe+ssTaXfJILaO1\niOoXn1S7cRdawlg65kJpWVnw6EdhzuX840SMILn5zwR0uQAepVR0FXkEj/+5\nAerhN5fRu/N48Wm7vaPFi6QDnQoNOlZqApmZmVBXQTkPsKdsq6zkmuLmlUhv\nOdOPB8GIghMVJ7ZYYcyfG53VkZaNmHWZPU2qUPVCsBj57A+oNaYq09qcpGeT\nXaOOX1gQJRYGlM/SlpdyJpYZg3saK80kxTpl71WjlJCPNBKgeCvuBOTjtc99\nhCUdhm/nxZM9/LLSXInWvSLkoCGQJ5gA7VAjk4GOaHfdR+K0fOADnb6fNgzO\n66VS\r\n=6Jn1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9OXDqmvXwjKbFdY5D/+zp/HOVHvkorkRcFtTqhyOe5AiEA0+/cFHzBBc98UxxtkfaohQ/2vwY+iGIofU24o6lrt1M="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_2.1.0_1619366875642_0.9153988124584513"},"_hasShrinkwrap":false},"2.1.1":{"version":"2.1.1","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=17.0.2","react-dom":">=17.0.2"},"dependencies":{"msal":"^1.4.11"},"devDependencies":{"@babel/cli":"^7.14.3","@babel/eslint-parser":"^7.14.3","@babel/preset-env":"^7.14.2","@babel/preset-react":"^7.13.13","@testing-library/jest-dom":"^5.12.0","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.9","eslint":"^7.26.0","eslint-plugin-import":"^2.23.2","eslint-plugin-jest":"^24.3.6","eslint-plugin-jsdoc":"^34.8.2","eslint-plugin-radar":"^0.2.1","eslint-plugin-react":"^7.23.2","eslint-plugin-react-hooks":"^4.2.0","jest":"^26.6.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files --source-maps","upload":"npm run build && npm login && npm publish --access public","upload:beta":"npm run build && npm login && npm publish --access public --tag beta","upload:alpha":"npm run build && npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","_packages:update":"npm update --save/--save-dev","_packages:force-update":"npx npm-check-updates -u","_git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"3b18d3ebb049c3cb37b2daf2e87cabae4179aa0b","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@2.1.1","_nodeVersion":"15.8.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-VOeZveu9/MQ+A4cvuIJZpO3IyXOsyMV6sMc0CWlsfzcHokI2LPcpY6swDAAhnQmV90caMoFm67EUMJF8b08QjA==","shasum":"1a54ad9fbf3881669e3dfaa63d34d75c85ad258a","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-2.1.1.tgz","fileCount":27,"unpackedSize":177056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpYntCRA9TVsSAnZWagAA5ZkQAKA0V/M0PieO7HQWb6jn\nBTVKaLs5Vr2d/SC4xvC2BLLv1fLyfCcg8cDuvJCBHQutmdX/yFUj8We+qz2A\nH5q3HkgiaSwTDiKcaFMoMOaaHnDv/r7SeORiLsIW+P/6owGDzMsTLEJdhhvz\n812ddWFjJujLW/BWhw6Pt3M9gOAuu0HHvdojfUtdV479vp8sc9D6Jvfp2c2c\ntPhVVCa/6Pfqrmu02ZQns2a7/PACSlkyZN4vn6pXRRjK1H3hWW+uDfQfv0n4\nkyfvGl+Mn0L7+sc6khI9hlPlxlUdULeqAWLvZiUYR4NLnGhrNUOnfYVjazEY\nFtmcNveVFCgXFIUxnxLeAYw/nu6B7pAifYDnqSKgMeyrhvq5tFw98rTaAlfD\nZb/I0oRvKIXizeA02pML9fDQUMfuTYId8+KO9DRaPVK/E2t25xMr4V6Qe0L6\nYqPdouKJ5aYZAu45vV64/XNlW1LLsmxuSV82vaMzQMSrqYYzMh7onY+Sx/q7\nJwW4iGNtNn5VRJQVzPy3DXdkZQgr/FdWLW5IuQeacNevjQNEq0kX9BsoK0Si\nN9dbLWaHVnYNNVipD7o+PAWpX+gUFyVX/11CuVENwbH5ZtUai4xFkSeLsjA/\npTm2sZGmqHMTMEFLOtqLjkKg2P9geKPXpIy28fEDhGGzde3SkzBIf86/fqJN\njJDo\r\n=6lGg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKOLWXcMKilAYE02TMFz8LxQVRGP5xXr7Wj5GJDgD48AiBCgdTos1HGxnHqh6TN63w/4+3MN1eTSq1qr0Vw4Ihohg=="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_2.1.1_1621461485022_0.6080402185624536"},"_hasShrinkwrap":false},"2.1.2":{"version":"2.1.2","name":"@calvear/react-azure-msal-security","title":"React Azure MSAL Security","description":"React library (MSAL wrapper) for Azure Active Directory authentication.","author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"main":"dist/index.js","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"engines":{"node":">=12","npm":">=6"},"peerDependencies":{"axios":"^0.21.1","react":">=16.13.1","react-dom":">=16.13.1"},"dependencies":{"msal":"^1.4.11"},"devDependencies":{"@babel/cli":"^7.14.3","@babel/eslint-parser":"^7.14.3","@babel/preset-env":"^7.14.2","@babel/preset-react":"^7.13.13","@testing-library/jest-dom":"^5.12.0","@testing-library/react":"^11.2.7","@testing-library/user-event":"^13.1.9","eslint":"^7.27.0","eslint-plugin-import":"^2.23.3","eslint-plugin-jest":"^24.3.6","eslint-plugin-jsdoc":"^34.8.2","eslint-plugin-radar":"^0.2.1","eslint-plugin-react":"^7.23.2","eslint-plugin-react-hooks":"^4.2.0","jest":"^26.6.3"},"scripts":{"build":"npx babel src --out-dir dist --copy-files --source-maps","upload":"npm run build && npm login && npm publish --access public","upload:beta":"npm run build && npm login && npm publish --access public --tag beta","upload:alpha":"npm run build && npm login && npm publish --access public --tag alpha","eslint:analyze":"eslint --ext .js,.jsx src/","eslint:fix":"eslint --fix --ext .js,.jsx src/","test":"test --watchAll=false --verbose","_packages:update":"npm update --save/--save-dev","_packages:force-update":"npx npm-check-updates -u","_git:case-sensitive":"git config core.ignorecase false","prebuild":"rimraf dist/**"},"gitHead":"027145af31082825b40064f7e1d01d831ab864ce","bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"homepage":"https://github.com/calvear93/react-azure-msal-security#readme","_id":"@calvear/react-azure-msal-security@2.1.2","_nodeVersion":"15.8.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-/dkRwuhDjyezZ0aQGUE4BwSLFbMCUSjZkoOg10LLzRcjjXHhDWkTaj/5AoRwl+BVgYGhfG+yVNRnIAEN7pRCRw==","shasum":"a6f2844ff8ddcd1ba500e0a073f5a10aad7a87ce","tarball":"https://registry.npmjs.org/@calvear/react-azure-msal-security/-/react-azure-msal-security-2.1.2.tgz","fileCount":27,"unpackedSize":177111,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqXByCRA9TVsSAnZWagAAcdoP+QGbhltW228yMzpFJS9V\nVZ6x2jGPsrD5+Ss2VMDMjqSAJ2hklTqiDSyVbvWw76Z4JMnk0u9uguFTWq3/\nSjf6IcgndxRSjXGOGCDpIwf274/lE+nwwWa7KnpPFr8hIlE7uDP1oriJ9wyj\nrHLUDGFci/U59AkmtYOJWjIPDSBd5ujqeB12Jk9rz6aY4Pwlp9G1FnQfo+A1\n4frwHhxaNEt3s5EfgZ7Tp8CrmTMYgn+AdkZ4OTB04a6wFsnulziKHBOFcyI4\nmN+CQMasSvTEEmB6TwWaze6T9isH4jx256fbe4TPUxYt+DcYiZdRnHPC2+Pc\nSqjoxLzRcWZjUSWy3wZNmTGbu/yCKWzi79NU2K+e8MyaCghM/MVbLqLilc+I\nrbELXsLdj4jY26Z+5y/oj7D1vpvGJMYrULhPo4XLUJ2wWCV/uPb3FgiyqPIC\negNI9hoYvxSzY9Z3pGkEotbQrTPQaPMDi7TurpD7PCOG8gykJctwMKiith2b\ni0BDTV/e0wHBE4xB6ABYiOU5pVBF+ngfi4Xz9iwdsm64dRQcmIkLBguV/r/g\noDujPZys6V7OmjxcFnJMTL61P9htV98KEaAzmumwLtUwj7kVlRwfnxHg0iQG\nPgbKdMje26ZQmEgUD+izMGBNMzt0wOC31Tijo7FjDuZPkX0wYoLjjntPx4aV\nD0d7\r\n=Ju47\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlSxeEWQzcGNofi/aF60A1rd9LX2ZoOXP1FE8SRvBzuwIgHRQL8DDW70e9UScqWn2bwoaz6dqeym/ETf0geqFW5RM="}]},"_npmUser":{"name":"calvear","email":"calvear93@gmail.com"},"directories":{},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-azure-msal-security_2.1.2_1621717105806_0.7765703211172048"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-06T17:25:44.645Z","1.0.0":"2021-02-06T17:25:44.806Z","modified":"2022-04-04T21:33:31.609Z","1.0.1":"2021-02-07T21:49:42.493Z","1.0.2":"2021-02-08T17:13:52.346Z","1.0.3":"2021-02-08T21:19:19.679Z","1.0.4":"2021-02-09T18:33:45.727Z","2.0.0":"2021-02-10T01:34:08.336Z","2.0.1":"2021-02-10T16:34:14.498Z","2.0.4":"2021-03-27T18:11:56.305Z","2.0.5":"2021-04-02T14:57:02.404Z","2.1.0":"2021-04-25T16:07:55.745Z","2.1.1":"2021-05-19T21:58:05.133Z","2.1.2":"2021-05-22T20:58:25.955Z"},"maintainers":[{"name":"calvear","email":"calvear93@gmail.com"}],"description":"React library (MSAL wrapper) for Azure Active Directory authentication.","homepage":"https://github.com/calvear93/react-azure-msal-security#readme","keywords":["react","authentication","authorization","spa","jwt","msal","microsoft","active-directory","aad"],"repository":{"type":"git","url":"git+https://github.com/calvear93/react-azure-msal-security.git"},"author":{"name":"Alvear Candia, Cristopher Alejandro","email":"calvear93@gmail.com"},"bugs":{"url":"https://github.com/calvear93/react-azure-msal-security/issues"},"license":"MIT","readme":"# React Azure MSAL Security\r\n\r\n### Azure Active Directory security module using MSAL\r\n\r\nReact library for application security (using MSAL) that eases application protection with Azure session JWT.\r\nExposes multiples hooks for login, logout and secure components.\r\n\r\n## Structure 📋\r\n\r\n```bash\r\n├── README.md\r\n├── LICENCE.md\r\n├── CHANGELOG.md\r\n├── .vscode/ # vscode shared development config\r\n├── src/\r\n│   ├── security/\r\n│   │   ├── config/\r\n│   │   │   ├── aad.config.js # MSAL config initialization\r\n│   │   │   └── aad.types.js # AAD and Ms Graph constants\r\n│   │   ├── services/\r\n│   │   │   ├── aad-graph.service.js # basic graph service for user info and avatar\r\n│   │   │   └── aad.service.js # service for handle login, sso and token acquisition\r\n│   │   ├── auth.hook.js # module hooks\r\n│   │   ├── cache.util.js # util for persist graph info\r\n│   │   └── observer.util.js # observer pattern handler\r\n│   └── index.js\r\n├── package.json\r\n├── jsconfig.js\r\n├── .babelrc\r\n├── .eslintrc.json\r\n└── .prettierrc.json\r\n```\r\n\r\n| Files                  | Description                                                                            |\r\n| ---------------------- | -------------------------------------------------------------------------------------- |\r\n| `aad.config.js`        | contains context config                                                                |\r\n| `aad.types.js`         | contains MSAL anf Microsoft Graph constants                                            |\r\n| `aad.service.js`       | main service. Handles MSAL context, session state, login, logout and token acquisition |\r\n| `aad-graph.service.js` | handles Microsoft Graph calls, like user detailed info and profile avatar              |\r\n| `auth.hooks.js`        | exposed hooks for login, logout and secure components                                  |\r\n| `index.js`             | exports router, hooks and routes handler/service                                       |\r\n\r\n## Features 🎉\r\n\r\n✅ Centralized and synchronized session state handling for any authentication event.\r\n\r\n✅ Automatic and manual login hooks.\r\n\r\n✅ Logout, state and token acquisition hooks.\r\n\r\n✅ Refresh token route handler.\r\n\r\n✅ User specific profile info and avatar hooks, using Microsoft Graph.\r\n\r\n⚠️ Easy to use! but a little hard to customize, i.e. user graph info.\r\n\r\n## How To Configure 📖\r\n\r\nFirst, you should [register](https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app) a new Azure Active Directory Application in Azure Portal.\r\n\r\nIn **Authentication** section add a new platform, selecting Single-Page Application (SPA) and setting up Redirect URIs only, with host (base URL) and token auth URL, for example, for dev:\r\n\r\n-   https://localhost:3000/\r\n-   https://localhost:3000/auth\r\n\r\nAlso, in this section, enable **Access tokens** and **ID tokens** in **Implicit grant** sub-section.\r\n\r\nFinally, you should configure permissions in **API permissions** section, with the minimum permission _User.Read_, although ideally _profile_ and _openid_ for correct token acquisition.\r\n\r\n## How To Use 💡\r\n\r\nThis module, exposes many hooks for handle login, logout and secure React components.\r\n\r\n### App configuration\r\n\r\nIn your **App.jsx** or **App.router.jsx** you should initialize the authentication service.\r\n\r\n```javascript\r\nimport { AuthenticationService } from '@calvear/react-azure-msal-security';\r\n\r\n// MSAL config.\r\nconst authConfig = {\r\n    clientId: '2a85c521-02fc-4796-8ecc-eaa13eee2e7b', // registered app id from azure\r\n    tenantId: 'ba3947ca-abb7-402e-b1d1-c9284608f497', // maybe common, organizations or consumers also\r\n    loginActionRedirect: '/',\r\n    logoutActionRedirect: null,\r\n    tokenRefreshUri: '/auth', // should exists a blank route in your app\r\n    tokenRenewalOffset: 120,\r\n    navigateToRequestAfterLogin: true,\r\n};\r\n\r\n// initializes Microsoft Active Directory authentication service.\r\nAuthenticationService.init(authConfig);\r\n\r\n// main react component\r\nexport default () => {\r\n    return (\r\n        <div>\r\n            <h1>Welcome to My App</h1>\r\n        </div>\r\n    );\r\n};\r\n```\r\n\r\n| Parameters                             | Description                                                     |\r\n| -------------------------------------- | --------------------------------------------------------------- |\r\n| `[config]`                             | settings                                                        |\r\n| `[config.tenantId]`                    | organization Azure client id                                    |\r\n| `[config.clientId]`                    | application Azure client id                                     |\r\n| `[config.loginActionRedirect]`         | (default: '/') - redirect path after login                      |\r\n| `[config.logoutActionRedirect]`        | (default: null) - redirect path after logout                    |\r\n| `[config.tokenRefreshUri]`             | (default: '/auth') - path for renew auth token                  |\r\n| `[config.tokenRenewalOffset]`          | (default: 120) token renewal interval                           |\r\n| `[config.navigateToRequestAfterLogin]` | (default: true) - if app redirects to previous path after login |\r\n| `[config.infoCacheDurationInDays]`     | (default: 1) - days for store user info cached                  |\r\n| `[config.photoCacheDurationInDays]`    | (default: 3) - days for store user photo cached                 |\r\n| `[disabled]`                           | (default: false) - if authentication is disabled globally       |\r\n\r\nFor tenantId also see [MSAL Client Config](https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-client-application-configuration)\r\n\r\n### Token acquisition and blank page/route\r\n\r\nFor a correct authentication and token renewal operation you should define a blank page or route in your application.\r\nThis route will be used as iframe for retrieve or renew the token on authentication.\r\n\r\nFor example, if you're using [react-spa-routerizer](https://github.com/calvear93/react-spa-routerizer)\r\n\r\n```javascript\r\n// routes.js\r\n\r\nexport default [\r\n    ...,\r\n    // blank html page for load authentication iframe to refresh the token,\r\n    // also, you should set tokenRefreshUri as '/auth' route.\r\n    {\r\n        key: 'auth-page',\r\n        title: 'Authenticating',\r\n        path: '/auth',\r\n        Child: () => null\r\n    },\r\n    ...\r\n];\r\n```\r\n\r\n### ☑️ Check Authentication State\r\n\r\n```javascript\r\nimport { useAuthenticationState } from '@calvear/react-azure-msal-security';\r\n\r\n// react component\r\nexport default () => {\r\n    const { authenticated, authenticating, error } = useAuthenticationState();\r\n\r\n    return (\r\n        <div>\r\n            <h1>User is authenticated?: {authenticated ? 'yeah' : 'no'}</h1>\r\n        </div>\r\n    );\r\n};\r\n```\r\n\r\n| Returning Modules      | Description                      |\r\n| ---------------------- | -------------------------------- |\r\n| `state`                | object with authentication state |\r\n| `state.authenticated`  | if user is authenticated         |\r\n| `state.authenticating` | if service is authenticating     |\r\n| `state.error`          | error object                     |\r\n\r\n### ☑️ Automatic Login\r\n\r\n```javascript\r\nimport { useAuthentication } from '@calvear/react-azure-msal-security';\r\n\r\n// react component\r\nexport default () => {\r\n    const { authenticated, authenticating, error } = useAuthentication();\r\n\r\n    if (authenticating) return <div>Authenticating...</div>;\r\n\r\n    if (!authenticated) return <div>403: Not Authorized - {error.message}</div>;\r\n\r\n    return (\r\n        <div>\r\n            <h1>Welcome to My App</h1>\r\n        </div>\r\n    );\r\n};\r\n```\r\n\r\n| Returning Modules      | Description                      |\r\n| ---------------------- | -------------------------------- |\r\n| `state`                | object with authentication state |\r\n| `state.authenticated`  | if user is authenticated         |\r\n| `state.authenticating` | if service is authenticating     |\r\n| `state.error`          | error object                     |\r\n\r\n| Parameters           | Description                                            |\r\n| -------------------- | ------------------------------------------------------ |\r\n| `[config]`           | settings                                               |\r\n| `[config.loginType]` | (default: loginRedirect) - loginRedirect or loginPopup |\r\n\r\n### ☑️ Manual Login\r\n\r\n```javascript\r\nimport { Redirect } from 'react-router-dom';\r\nimport { useAuthenticationState, useLogin } from '@calvear/react-azure-msal-security';\r\n\r\n// react component\r\nexport default () => {\r\n    const login = useLogin();\r\n    const { authenticated, authenticating, error } = useAuthenticationState();\r\n\r\n    if(authenticating)\r\n        return <div>Authenticating...</div>;\r\n\r\n    if(!authenticated)\r\n        return <div>403: Not Authorized - {error.message}</div>;\r\n\r\n    if(authenticated)\r\n        return <Redirect to='/home'>;\r\n\r\n    return (\r\n        <div>\r\n            <button onClick={login}>Log In</button>\r\n        </div>\r\n    );\r\n}\r\n```\r\n\r\n| Returning Modules | Description                                       |\r\n| ----------------- | ------------------------------------------------- |\r\n| `login`           | (login) function for trigger login/authentication |\r\n\r\n| Parameters    | Description                                          |\r\n| ------------- | ---------------------------------------------------- |\r\n| `[loginType]` | (default: loginRedirect) loginRedirect or loginPopup |\r\n\r\n### ☑️ Logout\r\n\r\n```javascript\r\nimport { useLogout } from '@calvear/react-azure-msal-security';\r\n\r\n// react component\r\nexport default () => {\r\n    const logout = useLogout();\r\n\r\n    return (\r\n        <div>\r\n            <button onClick={logout}>Log Out</button>\r\n        </div>\r\n    );\r\n};\r\n```\r\n\r\n| Returning Modules | Description         |\r\n| ----------------- | ------------------- |\r\n| `logout`          | function for logout |\r\n\r\n### ☑️ Acquire Token\r\n\r\nYou can acquire a JWT access token for API securing.\r\n\r\n```javascript\r\nimport { useState, useEffect } from 'react';\r\nimport { useAcquireToken } from '@calvear/react-azure-msal-security';\r\n\r\n// react component\r\nexport default () => {\r\n    const [token, setToken] = useState();\r\n    const { authenticated } = useAuthentication();\r\n    // use it only if authentication was succeeded\r\n    const acquireToken = useAcquireToken();\r\n\r\n    useEffect(() => {\r\n        if (authenticated) {\r\n            acquireToken().then((tkn) => setToken(tkn));\r\n        }\r\n    }, [authenticated]);\r\n\r\n    return (\r\n        <div>\r\n            <h1>Welcome to My App</h1>\r\n        </div>\r\n    );\r\n};\r\n```\r\n\r\n| Returning Modules | Description                                |\r\n| ----------------- | ------------------------------------------ |\r\n| `acquireToken`    | async function for acquire an access token |\r\n\r\n| Parameters            | Description                                                     |\r\n| --------------------- | --------------------------------------------------------------- |\r\n| `[forceTokenRefresh]` | (default: false) - forces to renew token from active directory. |\r\n\r\n### ☑️ Graph Info\r\n\r\nYou can retrieves user account detailed info and profile avatar from Microsoft Graph api with hooks.\r\n\r\n```javascript\r\nimport { useAccountInfo } from '@calvear/react-azure-msal-security';\r\n\r\n// react component\r\nexport default () => {\r\n    const { loading, info, error } = useAccountInfo();\r\n\r\n    if (loading) return <div>Loading User Info...</div>;\r\n\r\n    if (error) return <div>User info cannot be loaded: {error.message}</div>;\r\n\r\n    return (\r\n        <div>\r\n            <h1>User Info</h1>\r\n            <h3>Name: {info.displayName}</h3>\r\n        </div>\r\n    );\r\n};\r\n```\r\n\r\n| Returning Modules | Description            |\r\n| ----------------- | ---------------------- |\r\n| `state`           | object with info state |\r\n| `state.loading`   | if info is loading     |\r\n| `state.info`      | account info           |\r\n| `state.error`     | error object           |\r\n\r\n```javascript\r\nimport { useAccountAvatar } from '@calvear/react-azure-msal-security';\r\n\r\n// react component\r\nexport default () => {\r\n    const { loading, avatar, error } = useAccountAvatar();\r\n\r\n    if (loading) return <div>Loading User Avatar...</div>;\r\n\r\n    if (error) return <div>User avatar cannot be loaded: {error.message}</div>;\r\n\r\n    return (\r\n        <div>\r\n            <img alt=\"user-avatar\" src={avatar} />\r\n        </div>\r\n    );\r\n};\r\n```\r\n\r\n| Returning Modules | Description              |\r\n| ----------------- | ------------------------ |\r\n| `state`           | object with avatar state |\r\n| `state.loading`   | if avatar is loading     |\r\n| `state.avatar`    | account avatar in base64 |\r\n| `state.error`     | error object             |\r\n\r\n| Parameters   | Description                                                                                                               |\r\n| ------------ | ------------------------------------------------------------------------------------------------------------------------- |\r\n| `[size]` | (default: 648x648) avatar sizes. Values maybe 48x48, 64x64, 96x96, 120x120, 240x240, 360x360, 432x432, 504x504 or 648x648 |\r\n\r\n## Linting 🧿\r\n\r\nProject uses ESLint, for code formatting and code styling normalizing.\r\n\r\n-   **eslint**: JavaScript and React linter with Airbnb React base config and some other additions.\r\n-   **prettier**: optional Prettier config.\r\n\r\nFor correct interpretation of linters, is recommended to use [Visual Studio Code](https://code.visualstudio.com/) as IDE and install the plugins in .vscode folder at 'extensions.json', as well as use the config provided in 'settings.json'\r\n\r\n## Changelog 📄\r\n\r\nFor last changes see [CHANGELOG.md](CHANGELOG.md) file for details.\r\n\r\n## Built with 🛠️\r\n\r\n-   [React](https://reactjs.org/) - the most fabulous JavaScript framework.\r\n-   [MSAL](https://github.com/AzureAD/microsoft-authentication-library-for-js) - Microsoft Authentication Library for JavaScript.\r\n-   [axios](https://github.com/axios/axios) - Promise based HTTP client.\r\n\r\n## License 📄\r\n\r\nThis project is licensed under the MIT License - see [LICENSE.md](LICENSE.md) file for details.\r\n\r\n---\r\n\r\n⌨ by [Alvear Candia, Cristopher Alejandro](https://github.com/calvear93)\r\n","readmeFilename":"README.md"}