{"_id":"@ctng/auth-jwt-ls","_rev":"5-83239237c09a4859c0cc6a0169244073","name":"@ctng/auth-jwt-ls","dist-tags":{"latest":"5.0.2"},"versions":{"4.2.0":{"name":"@ctng/auth-jwt-ls","version":"4.2.0","peerDependencies":{"@angular/core":"^9.0.0","@ctng/core":"^4.0.0","jwt-decode":"^2.2.0","tslib":"^1.10.0"},"main":"bundles/ctng-auth-jwt-ls.umd.js","module":"fesm5/ctng-auth-jwt-ls.js","es2015":"fesm2015/ctng-auth-jwt-ls.js","esm5":"esm5/ctng-auth-jwt-ls.js","esm2015":"esm2015/ctng-auth-jwt-ls.js","fesm5":"fesm5/ctng-auth-jwt-ls.js","fesm2015":"fesm2015/ctng-auth-jwt-ls.js","typings":"ctng-auth-jwt-ls.d.ts","metadata":"ctng-auth-jwt-ls.metadata.json","sideEffects":false,"description":"This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.0.","_id":"@ctng/auth-jwt-ls@4.2.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-pxoGCk9q4nZYPsnrMvK122rorpDxACQ6WpYw+MY6PrBGUAjBYBtqXGm8VIKsSpVNXmyp0k4dwnmSNZDiq1ugjg==","shasum":"ae522b98aace3b58f1273ecc4e2035cc16700987","tarball":"https://registry.npmjs.org/@ctng/auth-jwt-ls/-/auth-jwt-ls-4.2.0.tgz","fileCount":24,"unpackedSize":74393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeffvaCRA9TVsSAnZWagAAWegP/1rVBPGxjx3Nhv1QsAYt\nJvmovckjvbW0BY2gRP0+CEmpAh7hMRBzfaTX4gVchRNXNLRR9cjacu3Xhbv9\n/oknPB/6cJfWF5iVxkdXP258oENRw84XlflVSqcPTUHMcUgoLFknbqac34+I\n/GUnDvMI8yAiL61avQrgolfO8Z6h+JqvL0zvsKMRpbn5Eq0YI9mBSr9pkysA\n1EFwBmUmj0xJ1yqtqqCtzjYfA7rmGg636j2LvPPxvaro6XlWS6/lbyPPI+eb\neQLVP1qGdAbtVOxZws4tDT5wef21ZfiMY67/yr+HSeeCxtfEyDWtEfSvio+X\nKnkKQYkUL0/GzfVTd6wTV9o6I5ENWokeyR4l41M0o+DsdjhlPQhSjxn5cL2g\nk7ZtT2K4kEnEcLBiWbcfJT9246oMdLhAxSBIu92fJc9h/2PzxzaDNl91Lo+F\n0NpVZEklkrKBK3KLA7Qxh24qdKQveGZC/S708J8wPVBtIyYYnaYNk9rxccta\nVnnE0SHhasLLQyEZzI9LS7TX8udl87A4K3hXJxq4jeGWCTYVyO84ANQvPsTz\np+jd6Gb/ctfmepQZHGwnSXISipLxGoJH7k4Y7i4n7XwubWXTk6ZVc9q2y75S\neABUsoXevesp8+/64kjHk43cYFbcpDUVcsm50pfazCv8gqv3Vh5WhEOuw6l4\nOm7T\r\n=Atw2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDdLOeoCw0RIu+NTAC0TGrED9JURVi2iqQ+R4j96fD53AiBAMnluCr6yzvSPQr4/vH5im8WaO+KTuXARYxv2q21I9A=="}]},"maintainers":[{"name":"alfredson","email":"daniel.rieck@codetrust.de"},{"name":"moema","email":"matthias.moessmer@codetrust.de"}],"_npmUser":{"name":"moema","email":"matthias.moessmer@codetrust.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth-jwt-ls_4.2.0_1585314778433_0.06422482920787087"},"_hasShrinkwrap":false},"4.4.0":{"name":"@ctng/auth-jwt-ls","version":"4.4.0","peerDependencies":{"@angular/core":"^9.0.0","@ctng/core":"^4.0.0","jwt-decode":"^2.2.0","tslib":"^1.10.0"},"main":"bundles/ctng-auth-jwt-ls.umd.js","module":"fesm5/ctng-auth-jwt-ls.js","es2015":"fesm2015/ctng-auth-jwt-ls.js","esm5":"esm5/ctng-auth-jwt-ls.js","esm2015":"esm2015/ctng-auth-jwt-ls.js","fesm5":"fesm5/ctng-auth-jwt-ls.js","fesm2015":"fesm2015/ctng-auth-jwt-ls.js","typings":"ctng-auth-jwt-ls.d.ts","metadata":"ctng-auth-jwt-ls.metadata.json","sideEffects":false,"description":"This is a library for handling Json Web Tokens by using the [jwt-decode](https://github.com/auth0/jwt-decode) library and local storage to persist the token. Additionally it checks if the token is expired.","_id":"@ctng/auth-jwt-ls@4.4.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-za3pzJBhY04w2KrZ4aO2m6WrZwt+mmK8gG1hJor+8xjE0ClnMrv/g3ASjER+cLA2GLikCQBogdeSZWYp3XJk+w==","shasum":"1b21be5bf7009e797d6ac433ebf90e653174130e","tarball":"https://registry.npmjs.org/@ctng/auth-jwt-ls/-/auth-jwt-ls-4.4.0.tgz","fileCount":24,"unpackedSize":80095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqZm9CRA9TVsSAnZWagAA+WEP/0piEWbSkpnxNU4yRbRc\n1NUHxL2Qul8PFhY5Yzqa1LXTKrRBycAAIQmu3XJFz4vouqbj5HZ98sD1UnV4\n5dgoWIH431IAdDbehPz8yE8rU/YcV4JVdghXw1Ibf5ih7gZC3i9DT4XciOt5\nOMFrtgqahdqJqS6rb2LdtH3IJqcdp8EmeN8kXKbR0LUvo60JiLby+oi6UDXS\nx32gIq0h58kxlOO1NpUI5rF7jzrrkqnCs1nPsnZ27yDu84cdHP6NmWw8sCaG\n04e8asb3sfURapygSjd4/TwZB2OPnuEQPPj8uwPyjet1UaV9Ntblb2TBhybK\nbs7DNU+kBsm/giBiwBO01l7pjNt4Qcf9HkE523mdUazys2rFJioXvF0HI4fq\n0bFgSSQhLeBDHuX9WXWnYR2seUV/elc7OnK7r3rl3ywcIpzawEHyNQeGAFwz\nS3PisnQCMx3B3hH0wVRreSufIQGeDFJpwI1x/3MZC3ghFzFCY9o8tRneIog5\nRsxKjCbWJY88V3EYaMGoxYB3f42EiZiJwW+TVjzQ7oVL52JUCEbQG5bM1JIV\nRYitTf0GHBJONfiNmttRtyZhl4bDW9YMYtzc6p6GrD0YTdpSRrZsZBUiejGF\nDsDWsOTEl447NfLwMLQ7Gs/kGJjFZR+14IP+Xjcz3zPPV+Rb1b2doDWUBjEB\nrn0u\r\n=dCSn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICKAp+yG3JpcBBNJWziTyMHOV5sfS/mgntQq/AS+Rcn9AiEA2+4g1Ewkrv+DhqfQYT2S6XgVfsDUMVFNIF6SaZSX9Io="}]},"maintainers":[{"name":"alfredson","email":"daniel.rieck@codetrust.de"},{"name":"moema","email":"matthias.moessmer@codetrust.de"}],"_npmUser":{"name":"moema","email":"matthias.moessmer@codetrust.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth-jwt-ls_4.4.0_1588173244808_0.19617233938637768"},"_hasShrinkwrap":false},"5.0.0":{"name":"@ctng/auth-jwt-ls","version":"5.0.0","peerDependencies":{"@angular/core":"^10.0.0","@ctng/core":"^5.0.0","jwt-decode":"^2.2.0"},"dependencies":{"tslib":"^2.0.0"},"main":"bundles/ctng-auth-jwt-ls.umd.js","module":"fesm2015/ctng-auth-jwt-ls.js","es2015":"fesm2015/ctng-auth-jwt-ls.js","esm2015":"esm2015/ctng-auth-jwt-ls.js","fesm2015":"fesm2015/ctng-auth-jwt-ls.js","typings":"ctng-auth-jwt-ls.d.ts","metadata":"ctng-auth-jwt-ls.metadata.json","sideEffects":false,"description":"This is a library for handling Json Web Tokens by using the [jwt-decode](https://github.com/auth0/jwt-decode) library and local storage to persist the token. Additionally it checks if the token is expired.","_id":"@ctng/auth-jwt-ls@5.0.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-EcMf1sL9Bn3QZbPWyOQl2pmA8fvCkOEinLtl5i9TLFZHy+gTd8tB31m2TqVO0NPUDJnzRUcVbUD5X3gp/+vRHg==","shasum":"84388c68ffc5a4de224161e000ee0b514167b990","tarball":"https://registry.npmjs.org/@ctng/auth-jwt-ls/-/auth-jwt-ls-5.0.0.tgz","fileCount":18,"unpackedSize":49620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIXNACRA9TVsSAnZWagAAJq0P+wfld7vSogoorhXyFlm/\nc8TCZL8MB+NYKZomf9+K0NV5zeXERzw3zjQFo7N8RehWmoutDIXXqx9ZzV0A\ncX3+pQkFFMeUvj7ejtXPrBsliN34PI6IujtVInZBGBdKsSBf2KqVLCpSPRaW\ng1MTW0YQ/p9DSo0Rt57M48PGYcAKy6qtGzs7LiG/4SmyIpqipOJREcCMUZFQ\nT9e9Tdy4XFJ/oo7/7LSvZml6QjJnHhGQxAzAll9gmRc27WuGnibVWDc/bA+x\nKczTXed/xFySZE6ezXrnxtbx61l7IZe4C1md7fuqe7E560m1yyr44FvNcFsf\nvvfpqBH5ZxdlRxPADlMGucMOhkJPQAIHuZZhe1ZvoRwlMep9iwQGPRzPNVbE\n06smeKN/N8T0cv34/0t/91OCyPSldFLiv0C6gX+kS0PSM+2LswKz+PRZSYiB\n/C8cTLBlFm2FRLI3aGK+z8eZkYgpJ3dioKkRgqwoN3vnNEPhs3rZFDFSMX6D\nwPDSmGCFNpeHSWvhi6ju3cYRHuYq6dcgBR873+co1lFMFnSJDgqIWoNk73in\nZoR10g2Qg10X5lf4FvUHZiyEajoxjAvf+0CnrvQCvYDzo0f2H4AfJH1nacJI\nfu+KVVj88NaQUOksp3xMi++iW6imFxO2ah64gfK9GGtJpwTwg5fYH+7IECzf\nCZ5b\r\n=wN+x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDue6gDgFqpmGkKzV2FEjTpO8/LDEscRZ54lkxZVtvh6AiEArxBJsHOIrzfKsInQn0Tc/b7h1K50qzWTrWZ9EfIoRk0="}]},"maintainers":[{"name":"alfredson","email":"daniel.rieck@codetrust.de"},{"name":"moema","email":"matthias.moessmer@codetrust.de"}],"_npmUser":{"name":"moema","email":"matthias.moessmer@codetrust.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth-jwt-ls_5.0.0_1596027712065_0.5612719909597037"},"_hasShrinkwrap":false},"5.0.1":{"name":"@ctng/auth-jwt-ls","version":"5.0.1","peerDependencies":{"@angular/core":"^10.0.0","@ctng/core":"^5.0.0","jwt-decode":"^2.2.0"},"dependencies":{"tslib":"^2.0.0"},"main":"bundles/ctng-auth-jwt-ls.umd.js","module":"fesm2015/ctng-auth-jwt-ls.js","es2015":"fesm2015/ctng-auth-jwt-ls.js","esm2015":"esm2015/ctng-auth-jwt-ls.js","fesm2015":"fesm2015/ctng-auth-jwt-ls.js","typings":"ctng-auth-jwt-ls.d.ts","metadata":"ctng-auth-jwt-ls.metadata.json","sideEffects":false,"description":"This is a library for handling Json Web Tokens by using the [jwt-decode](https://github.com/auth0/jwt-decode) library and local storage to persist the token. Additionally it checks if the token is expired.","_id":"@ctng/auth-jwt-ls@5.0.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-9MfrZERIvSQ89OqekkKo5dZvnq0Sj6Hh5fFj4VxxcKyY4H5Bd+uoWNels4XF72cQjt23UoGN5lyeUYRACnF45g==","shasum":"1a544163cb3b8bbd5e1070f81feaa47f98804148","tarball":"https://registry.npmjs.org/@ctng/auth-jwt-ls/-/auth-jwt-ls-5.0.1.tgz","fileCount":18,"unpackedSize":49706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBr11CRA9TVsSAnZWagAAuLcQAIgHGM1xzLaUHsl/674E\nHATzbNBT6R6jrvqugb3/l+owU/9qhvmUAgp8Hu4MTqO9upfoLE/uju5DVwGC\nIvl90l9j2b32/jeV0NXGKlA56iW8yy06FXBOZ2VxFcD8PWE+yYpCEbKEr/dE\n1KdS+VUVfstRQkrPFAaGHsTCV2JCFGAiOacyU4cAN2bLDovEmLGrcM0rVAQ0\noeLdc63wAo9OgdvZ7wE8veHeo6aJuBc7mmcXs1FO8rA2Ik8rUaIMPMN/YRqF\no3hRO9zFGxuiyrVTgwAbac2HerT7Jlja42MoR2ikj2lbpouW7oXIf1xA/wb3\nXlc7ScmwjONFgbGD27rjlhOjeC0U3sBB0h/6RUBq8OPDXRJLCjZCVY6tW29a\n/dmDDMJrB5wDXWizOl53I50dzUwFEp3R3hfIIQtMWz9tFmrFzeaIKCk8NvBd\ntymFQMpmC0FUhm4L7TyXQovJrcOY+WRP3NNsWCZzRGPHjo6yH7uyHHw/RhY9\neglX/mG3PjyZ407+aWuwol1xUvr6PR3GrFXGC7Fkxle6j8/s5OmSlnfDVTNW\n115EMgYjzi6lROwHTy8l8rNGhlfX/6dqA5OhW+Qq3trXj4wY5dtJ8rnekDUU\nyHA1p5xfM892m31MxojGOU0RPcXp+iWg5XzO6n7JyY3lYWvKCdepIt2HrFy0\nhnkk\r\n=ZCzh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHEzYMQf76yXOFIxV4IAqFtiOCB/mnTidUYl8PvELF0XAiAruSNWn9DVFUwhJft1HvNPRWTQ6FBElX7qYcV4JykTNg=="}]},"_npmUser":{"name":"moema","email":"moemamoessmer@gmx.de"},"directories":{},"maintainers":[{"name":"moema","email":"moemamoessmer@gmx.de"},{"name":"alfredson","email":"dani.a.rieck@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth-jwt-ls_5.0.1_1611054453100_0.011887387848590336"},"_hasShrinkwrap":false},"5.0.2":{"name":"@ctng/auth-jwt-ls","version":"5.0.2","peerDependencies":{"@angular/core":"^10.0.0","@ctng/core":"^5.0.0","jwt-decode":"^2.2.0"},"dependencies":{"tslib":"^2.0.0"},"repository":{"type":"git","url":"git+https://github.com/moemamoe/ctng.git","directory":"projects/ctng/auth-jwt-ls"},"main":"bundles/ctng-auth-jwt-ls.umd.js","module":"fesm2015/ctng-auth-jwt-ls.js","es2015":"fesm2015/ctng-auth-jwt-ls.js","esm2015":"esm2015/ctng-auth-jwt-ls.js","fesm2015":"fesm2015/ctng-auth-jwt-ls.js","typings":"ctng-auth-jwt-ls.d.ts","metadata":"ctng-auth-jwt-ls.metadata.json","sideEffects":false,"description":"This is a library for handling Json Web Tokens by using the [jwt-decode](https://github.com/auth0/jwt-decode) library and local storage to persist the token. Additionally it checks if the token is expired.","bugs":{"url":"https://github.com/moemamoe/ctng/issues"},"homepage":"https://github.com/moemamoe/ctng#readme","_id":"@ctng/auth-jwt-ls@5.0.2","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-PlMANKXYiCmObQWLtuLaG1hZOmyW4qYpqKi2h49ThrZlAoJIrmPL92xNTjO1iHYlIvUz5rAnUiWG3n1KaKJ1vw==","shasum":"c08cfd7ebe1bd15adaa7c1a1a0c4e802f16e5aac","tarball":"https://registry.npmjs.org/@ctng/auth-jwt-ls/-/auth-jwt-ls-5.0.2.tgz","fileCount":18,"unpackedSize":49930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBtDQCRA9TVsSAnZWagAA06cP+wW402EnCmfd8rHHv2zu\nqIPaPnSzY1+kSKLgz/S1muT97EjQp/GDm5eL0I4udjc1TlQz9ptHek/tl4FD\nilDJ0NqP2D1Vx5BLCkwmV++iTbdrGsiln0bWJcGXbaHlD9O/8pztPIQsUlyQ\nKmmaOfXpwqTa17ZWpvLw/FIAGMocCifMdBUehazB3b9MC/8TBD1P3ctVH9Fq\nlEgA0JcroI2WxgIK8T0DrdQhn+l+Rgrs39crFsUlrUVSyfblbVNb3jf8w/Qr\nN9Ge8jm+4a5WsTR5atxMDtYX20C/7EEnsKuI0G84ai+D1fjNhg700Uni5QJN\nKJij9+Opq9fjEKY8OEdWuBFE3IH46HZ1j5ttMzQnE5hRpQv8WUWqI0cUtNW7\nzN32OgxsOV+knZH0m8/B6HeT8KFQ/9SmUKIe+oyvgEVzpALeFsvpQABg/108\n3ZPF1wqOsy2yelbcFYSH04/i+U/nBEOycue/79sytb+mDhQK4zWQMHmBOle9\nMn2z1sf1tXccHePxp3xTCNSc5POZMwH4TYt/xjKHnmWuHHAxJ95NX9YhivdH\ncqhwbZ1oxGzPGDQVe/I4EnLQMrRM4NNZ+i5+TvJOXzz3hqFCXY6l231FxxcW\n8eBgrTSee5W6oPmB7L1Nax40bHwQXp4EZPNfkkMm9FCm53ggOdrK7qopO76I\nuXm2\r\n=8XvD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHm5EKmwIPmYwIJAQ/xpOgG5JigFs7cPEsZAj/3SgLUJAiEA7cECw29H85NtmrxZTVm/nDp4UILWNuR3HuwwxucKmxs="}]},"_npmUser":{"name":"moema","email":"moemamoessmer@gmx.de"},"directories":{},"maintainers":[{"name":"moema","email":"moemamoessmer@gmx.de"},{"name":"alfredson","email":"dani.a.rieck@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auth-jwt-ls_5.0.2_1611059408506_0.6809629916778579"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-27T13:12:58.251Z","4.2.0":"2020-03-27T13:12:58.584Z","modified":"2022-04-05T02:04:12.979Z","4.4.0":"2020-04-29T15:14:04.914Z","5.0.0":"2020-07-29T13:01:52.169Z","5.0.1":"2021-01-19T11:07:33.231Z","5.0.2":"2021-01-19T12:30:08.687Z"},"maintainers":[{"name":"moema","email":"moemamoessmer@gmx.de"},{"name":"alfredson","email":"dani.a.rieck@gmail.com"}],"description":"This is a library for handling Json Web Tokens by using the [jwt-decode](https://github.com/auth0/jwt-decode) library and local storage to persist the token. Additionally it checks if the token is expired.","readme":"# Auth-Jwt-Ls\n\nThis is a library for handling Json Web Tokens by using the [jwt-decode](https://github.com/auth0/jwt-decode) library and local storage to persist the token. Additionally it checks if the token is expired.\n\n## Usage\n\nJust inject the `JwtLocalStorageService` and\n\n- set/get tokens\n- get token's expiration date\n- check if token is expired\n- remove token from local storage\n\n### Custom config\n\nBy default `JwtLocalStorageService` assumes that the token object has an `exp` property with time value in seconds.\n\nIf a the token has a different structure or format, a custom `JwtConfig` can be provided:\n\n```ts\n{\n  provide: JWT_CONFIG,\n  useValue: {\n    getExpirationDate: (token: CustomToken) => {\n      return new Date(token.customExpDate);\n    },\n  },\n},\n```\n","readmeFilename":"README.md","homepage":"https://github.com/moemamoe/ctng#readme","repository":{"type":"git","url":"git+https://github.com/moemamoe/ctng.git","directory":"projects/ctng/auth-jwt-ls"},"bugs":{"url":"https://github.com/moemamoe/ctng/issues"}}