{"_id":"@_linked/auth","_rev":"8-1e3e2f10f344cce73b67ed977ee92bdb","name":"@_linked/auth","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.6":{"name":"@_linked/auth","version":"1.0.6","keywords":["lincd","linked data","interoperable","semantic web","web3"],"author":"","license":"ISC","_id":"@_linked/auth@1.0.6","maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"dist":{"shasum":"62c30506a54b30590dd6ab6ab1269574c0bcf638","tarball":"https://registry.npmjs.org/@_linked/auth/-/auth-1.0.6.tgz","fileCount":10,"integrity":"sha512-Jk3od/kiQhPN1DEzAs2xLJ/axMqxfzDS12Dg3N4S4UwdO5CBh5EQ2dCAspoQFgye4UInY0Kmjtvrfw6hhxlE/w==","signatures":[{"sig":"MEYCIQC78KWi+ElZ1B8W9+poNWV8COTUQzE96uMZK7auz1oHRgIhANr4lpC9VZfkIkL6/2WB+wy6HXhuAalltiYwonKTv2nr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11147},"main":"lib/cjs/index.js","types":"dist/auth.d.ts","module":"lib/esm/index.js","exports":{".":{"types":"./lib/esm/index.d.ts","import":"./lib/esm/index.js","require":"./lib/cjs/index.js"},"./*":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js","require":"./lib/cjs/*.js"},"./*.js":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js","require":"./lib/cjs/*.js"}},"gitHead":"3943a302b27028772a43196c4417f9fd30abb8b6","scripts":{"build":"yarn linked build","start":"npm exec linked dev","postpublish":"npm exec linked register","prepublishOnly":"yarn linked build production"},"_npmUser":{"name":"rene_reborn","email":"email@rene.life"},"repository":{"url":"","type":"git"},"_npmVersion":"10.9.2","description":"## Overview","directories":{},"_nodeVersion":"22.16.0","dependencies":{"foaf":"~1.0","ulid":"^3.0.1","chalk":"^4.1.2","bcrypt":"^5.1.1","jwks-rsa":"^3.0.1","js-cookie":"^3.0.5","zeptomail":"^3.0.4","lincd-rdfs":"~1.0","lincd-sioc":"~1.0","@types/node":"^20.12.7","express-jwt":"^8.4.1","lincd-input":"~1.0","@_linked/xsd":"~1.0","jsonwebtoken":"^9.0.2","@_linked/core":"^2.0.1","@tolgee/react":"^5.16.2","@types/bcrypt":"^5.0.2","cookie-parser":"^1.4.6","@_linked/react":"^1.1.0","lincd-mui-base":"~1.0","@_linked/schema":"~1.0","@_linked/server":"~1.0","connect-sqlite3":"^0.9.15","express-session":"^1.18.1","react-hook-form":"^7.47.0","@types/js-cookie":"^3.0.6","@capacitor/dialog":"^7.0.2","google-auth-library":"^9.0.0","@_linked/server-utils":"~1.0"},"linkedPackage":true,"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["lib/esm/*"]}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@_linked/cli":"^1.2","@changesets/cli":"^2.29.8","tsconfig-to-dual-package":"^1.2.0","@changesets/changelog-github":"^0.5.2","typescript-plugin-css-modules":"^5.1.0"},"peerDependencies":{"react-router-dom":"^6.14.2"},"_npmOperationalInternal":{"tmp":"tmp/auth_1.0.6_1776894978247_0.09248201900766295","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@_linked/auth","version":"1.1.0","keywords":["lincd","linked data","interoperable","semantic web","web3"],"author":"","license":"ISC","_id":"@_linked/auth@1.1.0","maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"dist":{"shasum":"529dc0787a64dce52f4084ac73a1b98a9bffb080","tarball":"https://registry.npmjs.org/@_linked/auth/-/auth-1.1.0.tgz","fileCount":202,"integrity":"sha512-O1ftG9UyQKJ07iKXYK1Pv6rXGmhyVrRPkMtNUEdUG09hgY9I1gChUlLjEu7m3iXrXG5NDBtenYFkxbkUuEGwtA==","signatures":[{"sig":"MEUCIQDLnpt1tN344L/xw7+ShndpdC9WB3XGaoNK+W1BSrVbqgIgZDouu7KQz50ygv718SKfH5XU8n0Szt3ojV82IwOKOCY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":568468},"main":"lib/cjs/index.js","types":"dist/auth.d.ts","module":"lib/esm/index.js","exports":{".":{"types":"./lib/esm/index.d.ts","import":"./lib/esm/index.js","require":"./lib/cjs/index.js"},"./*":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js","require":"./lib/cjs/*.js"},"./*.js":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js","require":"./lib/cjs/*.js"}},"gitHead":"75626c5ab36d1f4aa1239816f75b061742f4d835","scripts":{"build":"rimraf ./lib && yarn build-esm && yarn build-cjs && yarn copy-to-lib && yarn dual-package","start":"npm exec linked dev","build-cjs":"echo \"compiling CJS\" && rimraf ./lib/cjs && (yarn tsc -p tsconfig-cjs.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')","build-esm":"echo \"compiling ESM\" && rimraf ./lib/esm && (yarn tsc -p tsconfig-esm.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')","copy-to-lib":"echo 'copying CSS + JSON assets to lib folder' && yarn copyfiles -u 1 'src/**/*.css' 'src/**/*.json' lib/esm && yarn copyfiles -u 1 'src/**/*.css' 'src/**/*.json' lib/cjs","dual-package":"echo 'adding package.json to each lib folder for dual output support' && yarn tsconfig-to-dual-package ./tsconfig-cjs.json ./tsconfig-esm.json"},"_npmUser":{"name":"rene_reborn","email":"email@rene.life"},"repository":{"url":"","type":"git"},"_npmVersion":"10.9.2","description":"## Overview","directories":{},"_nodeVersion":"22.16.0","dependencies":{"foaf":"~1.0","ulid":"^3.0.1","uuid":"^9.0.0","chalk":"^4.1.2","bcrypt":"^5.1.1","jwks-rsa":"^3.0.1","js-cookie":"^3.0.5","zeptomail":"^3.0.4","lincd-rdfs":"~1.0","lincd-sioc":"~1.0","@types/node":"^20.12.7","express-jwt":"^8.4.1","lincd-input":"~1.0","@_linked/xsd":"~1.0","jsonwebtoken":"^9.0.2","@_linked/core":"^2.0.1","@tolgee/react":"^5.16.2","@types/bcrypt":"^5.0.2","cookie-parser":"^1.4.6","@_linked/react":"^1.1.0","lincd-mui-base":"~1.0","@_linked/schema":"~1.0","@_linked/server":"~1.0","connect-sqlite3":"^0.9.15","express-session":"^1.18.1","react-hook-form":"^7.47.0","@types/js-cookie":"^3.0.6","@capacitor/dialog":"^7.0.2","google-auth-library":"^9.0.0","@_linked/server-utils":"~1.0"},"linkedPackage":true,"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["lib/esm/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.7","copyfiles":"^2.4.1","typescript":"^5.7.3","@_linked/cli":"^1.2","@changesets/cli":"^2.29.8","tsconfig-to-dual-package":"^1.2.0","@changesets/changelog-github":"^0.5.2","typescript-plugin-css-modules":"^5.1.0"},"peerDependencies":{"react-router-dom":"^6.14.2"},"_npmOperationalInternal":{"tmp":"tmp/auth_1.1.0_1780841164010_0.5206266841052185","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@_linked/auth","version":"1.2.0","keywords":["lincd","linked data","interoperable","semantic web","web3"],"author":"","license":"ISC","_id":"@_linked/auth@1.2.0","maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"dist":{"shasum":"5a2a6ecb76e35ff1b246e66514623522e7cf41fb","tarball":"https://registry.npmjs.org/@_linked/auth/-/auth-1.2.0.tgz","fileCount":105,"integrity":"sha512-pIXZJ8DXcw0DEsOnf1Er7xI3HeMdEDeEUCkSuSPqfJAJZewQATUyUDPwE/qVibuSh5KjwQM7/HIWzJj7H19SYQ==","signatures":[{"sig":"MEQCIHglow8SO7DbHoA2XOzUuBbeyijF8W9H3afFHBoZHecfAiAqL3w8hqEj5hRl+l1LIRbGT+ssldHxM2W6nw8QvmlCgA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":269111},"main":"lib/esm/index.js","type":"module","types":"./lib/esm/index.d.ts","module":"lib/esm/index.js","exports":{".":{"types":"./lib/esm/index.d.ts","import":"./lib/esm/index.js","development":"./src/index.ts"},"./*":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js","development":"./src/*.ts"},"./*.js":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js","development":"./src/*.ts"}},"gitHead":"cfb9e1f1a1a8f4ccb37e993d3d89ebcf8f904546","scripts":{"build":"rimraf ./lib && yarn build-esm && yarn copy-to-lib","start":"npm exec linked dev","build-esm":"echo \"compiling ESM\" && rimraf ./lib/esm && (yarn tsc -p tsconfig-esm.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')","copy-to-lib":"echo 'copying CSS + JSON assets to lib folder' && yarn copyfiles -u 1 'src/**/*.css' 'src/**/*.json' lib/esm"},"_npmUser":{"name":"rene_reborn","email":"email@rene.life"},"repository":{"url":"","type":"git"},"_npmVersion":"10.9.2","description":"## Overview","directories":{},"_nodeVersion":"22.16.0","dependencies":{"foaf":"~1.0","ulid":"^3.0.1","uuid":"^9.0.0","chalk":"^4.1.2","bcrypt":"^5.1.1","jwks-rsa":"^3.0.1","js-cookie":"^3.0.5","zeptomail":"^3.0.4","lincd-rdfs":"~1.0","@types/node":"^20.12.7","express-jwt":"^8.4.1","lincd-input":"~1.0","@_linked/xsd":"~1.0","jsonwebtoken":"^9.0.2","@_linked/core":"^2.0.1","@_linked/sioc":"^1.0","@tolgee/react":"^5.16.2","@types/bcrypt":"^5.0.2","cookie-parser":"^1.4.6","@_linked/react":"^1.1.0","lincd-mui-base":"~1.0","@_linked/schema":"~1.0","@_linked/server":"^2.0","connect-sqlite3":"^0.9.15","express-session":"^1.18.1","react-hook-form":"^7.47.0","@types/js-cookie":"^3.0.6","@capacitor/dialog":"^7.0.2","google-auth-library":"^9.0.0","@_linked/server-utils":"~1.0"},"linkedPackage":true,"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["lib/esm/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.7","copyfiles":"^2.4.1","typescript":"^5.7.3","@_linked/cli":"^1.2","@changesets/cli":"^2.29.8","tsconfig-to-dual-package":"^1.2.0","@changesets/changelog-github":"^0.5.2","typescript-plugin-css-modules":"^5.1.0"},"peerDependencies":{"react-router-dom":"^6.14.2"},"_npmOperationalInternal":{"tmp":"tmp/auth_1.2.0_1783332339879_0.06104215530578272","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@_linked/auth","version":"1.2.1","keywords":["lincd","linked data","interoperable","semantic web","web3"],"author":"","license":"ISC","_id":"@_linked/auth@1.2.1","maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"dist":{"shasum":"9b732c936473363e600cc364201766e5543af892","tarball":"https://registry.npmjs.org/@_linked/auth/-/auth-1.2.1.tgz","fileCount":105,"integrity":"sha512-3kpyBJmZwxaBPOU4ybn+YRs3jLXE2pANeNBQkyfZ+rm3AdrCyqfIqyidHQv1M7Ezk+Opp74Ki0auc5IExKtMZA==","signatures":[{"sig":"MEQCICb/gZCyxEj08ChfC/EOR5BZxEPsE6R8SW2LPxR8UchPAiA2EYp/NfkHSLUz4ISAR0rz7bDYVgf57OYXEadlCgJhYQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":269081},"main":"lib/esm/index.js","type":"module","types":"./lib/esm/index.d.ts","module":"lib/esm/index.js","exports":{".":{"types":"./lib/esm/index.d.ts","import":"./lib/esm/index.js","development":"./src/index.ts"},"./*":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js","development":"./src/*.ts"},"./*.js":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js","development":"./src/*.ts"}},"gitHead":"7cdb05999e6aa8cc750ac2836efc501667d36e70","scripts":{"build":"rimraf ./lib && yarn build-esm && yarn copy-to-lib","start":"npm exec linked dev","build-esm":"echo \"compiling ESM\" && rimraf ./lib/esm && (yarn tsc -p tsconfig-esm.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')","copy-to-lib":"echo 'copying CSS + JSON assets to lib folder' && yarn copyfiles -u 1 'src/**/*.css' 'src/**/*.json' lib/esm"},"_npmUser":{"name":"rene_reborn","email":"email@rene.life"},"repository":{"url":"","type":"git"},"_npmVersion":"10.9.2","description":"## Overview","directories":{},"_nodeVersion":"22.16.0","dependencies":{"foaf":"~1.0","ulid":"^3.0.1","uuid":"^9.0.0","chalk":"^4.1.2","bcrypt":"^5.1.1","jwks-rsa":"^3.0.1","js-cookie":"^3.0.5","zeptomail":"^3.0.4","lincd-rdfs":"~1.0","@types/node":"^20.12.7","express-jwt":"^8.4.1","lincd-input":"~1.0","@_linked/xsd":"~1.0","jsonwebtoken":"^9.0.2","@_linked/core":"^2.0.1","@_linked/sioc":"^1.0","@tolgee/react":"^5.16.2","@types/bcrypt":"^5.0.2","cookie-parser":"^1.4.6","@_linked/react":"^1.1.0","lincd-mui-base":"~1.0","@_linked/schema":"~1.0","@_linked/server":"^2.0","connect-sqlite3":"^0.9.15","express-session":"^1.18.1","react-hook-form":"^7.47.0","@types/js-cookie":"^3.0.6","@capacitor/dialog":"^7.0.2","google-auth-library":"^9.0.0","@_linked/server-utils":"~1.0"},"linkedPackage":true,"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["lib/esm/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.7","copyfiles":"^2.4.1","typescript":"^5.7.3","@_linked/cli":"^1.2","@changesets/cli":"^2.29.8","tsconfig-to-dual-package":"^1.2.0","@changesets/changelog-github":"^0.5.2","typescript-plugin-css-modules":"^5.1.0"},"peerDependencies":{"react-router-dom":"^6.14.2"},"_npmOperationalInternal":{"tmp":"tmp/auth_1.2.1_1783369142469_0.7795687343805586","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@_linked/auth","version":"1.2.2","keywords":["lincd","linked data","interoperable","semantic web","web3"],"author":"","license":"ISC","_id":"@_linked/auth@1.2.2","maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"dist":{"shasum":"10877113c0325e6f235a98c8750e77532fd756f5","tarball":"https://registry.npmjs.org/@_linked/auth/-/auth-1.2.2.tgz","fileCount":105,"integrity":"sha512-1ArAvOiKmeetBYPSUsHILTdDkrADqxGkvJnyzIF4nIfL50poQQg9JUlOPKtmB3i9xX5svJuLmwtmyxPjB19awA==","signatures":[{"sig":"MEUCIBw9fVRcu+IQzgfq8a49Mhz9WvO/XGf6H8w9Yh1Ey2KvAiEA12S0T+VVZ4hK+xrmHC42d2jB/nJoSyZhDFCkXuK0DGA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":269411},"main":"lib/esm/index.js","type":"module","types":"./lib/esm/index.d.ts","module":"lib/esm/index.js","exports":{".":{"types":"./lib/esm/index.d.ts","import":"./lib/esm/index.js"},"./*":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js"},"./*.js":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js"}},"gitHead":"7a27be167e64633b6c31f641f105a0b4576153b2","scripts":{"build":"rimraf ./lib && yarn build-esm && yarn copy-to-lib","start":"npm exec linked dev","build-esm":"echo \"compiling ESM\" && rimraf ./lib/esm && (yarn tsc -p tsconfig-esm.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')","copy-to-lib":"echo 'copying CSS + JSON assets to lib folder' && yarn copyfiles -u 1 'src/**/*.css' 'src/**/*.json' lib/esm"},"_npmUser":{"name":"rene_reborn","email":"email@rene.life"},"repository":{"url":"","type":"git"},"_npmVersion":"10.9.2","description":"## Overview","directories":{},"_nodeVersion":"22.16.0","dependencies":{"foaf":"~1.0","ulid":"^3.0.1","uuid":"^9.0.0","chalk":"^4.1.2","bcrypt":"^5.1.1","jwks-rsa":"^3.0.1","js-cookie":"^3.0.5","zeptomail":"^3.0.4","lincd-rdfs":"~1.0","@types/node":"^20.12.7","express-jwt":"^8.4.1","lincd-input":"~1.0","@_linked/xsd":"~1.0","jsonwebtoken":"^9.0.2","@_linked/core":"^2.0.1","@_linked/sioc":"^1.0","@tolgee/react":"^5.16.2","@types/bcrypt":"^5.0.2","cookie-parser":"^1.4.6","@_linked/react":"^1.1.0","lincd-mui-base":"~1.0","@_linked/schema":"~1.0","@_linked/server":"^2.0","connect-sqlite3":"^0.9.15","express-session":"^1.18.1","react-hook-form":"^7.47.0","@types/js-cookie":"^3.0.6","@capacitor/dialog":"^7.0.2","google-auth-library":"^9.0.0","@_linked/server-utils":"~1.0"},"linkedPackage":true,"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["lib/esm/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.7","copyfiles":"^2.4.1","typescript":"^5.7.3","@_linked/cli":"^1.2","@changesets/cli":"^2.29.8","tsconfig-to-dual-package":"^1.2.0","@changesets/changelog-github":"^0.5.2","typescript-plugin-css-modules":"^5.1.0"},"peerDependencies":{"react-router-dom":"^6.14.2"},"_npmOperationalInternal":{"tmp":"tmp/auth_1.2.2_1783409109871_0.10326152357552054","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@_linked/auth","version":"1.2.3","keywords":["lincd","linked data","interoperable","semantic web","web3"],"author":"","license":"ISC","_id":"@_linked/auth@1.2.3","maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"dist":{"shasum":"47e328d02194fddaf646ddce29d023137ffbd77d","tarball":"https://registry.npmjs.org/@_linked/auth/-/auth-1.2.3.tgz","fileCount":105,"integrity":"sha512-Xgo6HJcLpk4P2V6HlHEzZpOXG+j6nwpbQu5qxHdjfsuaC4xmYNpAIR6M6M9RpvBtHbGoH//c+myiGOXhIydFbg==","signatures":[{"sig":"MEUCIQCzEk9zqyIrsezX2OkMj5j8X/iEMVGg1ZnjPzfaaOZLFQIgfOqXxF0l4ijOJ9M/Gf2G7m2F1t6aNKytvDhszgXnQQY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270717},"main":"lib/esm/index.js","type":"module","types":"./lib/esm/index.d.ts","module":"lib/esm/index.js","exports":{".":{"types":"./lib/esm/index.d.ts","import":"./lib/esm/index.js"},"./*":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js"},"./*.js":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js"}},"gitHead":"547c794e3a05fc3d4f1b15504d23f8b97c123069","scripts":{"build":"rimraf ./lib && yarn build-esm && yarn copy-to-lib","start":"npm exec linked dev","build-esm":"echo \"compiling ESM\" && rimraf ./lib/esm && (yarn tsc -p tsconfig-esm.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')","copy-to-lib":"echo 'copying CSS + JSON assets to lib folder' && yarn copyfiles -u 1 'src/**/*.css' 'src/**/*.json' lib/esm"},"_npmUser":{"name":"rene_reborn","email":"email@rene.life"},"repository":{"url":"","type":"git"},"_npmVersion":"10.9.2","description":"## Overview","directories":{},"_nodeVersion":"22.16.0","dependencies":{"foaf":"~1.0","ulid":"^3.0.1","uuid":"^9.0.0","chalk":"^4.1.2","bcrypt":"^5.1.1","jwks-rsa":"^3.0.1","js-cookie":"^3.0.5","zeptomail":"^3.0.4","lincd-rdfs":"~1.0","@types/node":"^20.12.7","express-jwt":"^8.4.1","lincd-input":"~1.0","@_linked/xsd":"~1.0","jsonwebtoken":"^9.0.2","@_linked/core":"^2.0.1","@_linked/sioc":"^1.0","@tolgee/react":"^5.16.2","@types/bcrypt":"^5.0.2","cookie-parser":"^1.4.6","@_linked/react":"^1.1.0","lincd-mui-base":"~1.0","@_linked/schema":"~1.0","@_linked/server":"^2.0","connect-sqlite3":"^0.9.15","express-session":"^1.18.1","react-hook-form":"^7.47.0","@types/js-cookie":"^3.0.6","@capacitor/dialog":"^7.0.2","google-auth-library":"^9.0.0","@_linked/server-utils":"~1.0"},"linkedPackage":true,"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["lib/esm/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.7","copyfiles":"^2.4.1","typescript":"^5.7.3","@_linked/cli":"^1.2","@changesets/cli":"^2.29.8","tsconfig-to-dual-package":"^1.2.0","@changesets/changelog-github":"^0.5.2","typescript-plugin-css-modules":"^5.1.0"},"peerDependencies":{"react-router-dom":"^6.14.2"},"_npmOperationalInternal":{"tmp":"tmp/auth_1.2.3_1783842994356_0.21144229802601044","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@_linked/auth","version":"1.2.4","keywords":["lincd","linked data","interoperable","semantic web","web3"],"author":"","license":"ISC","_id":"@_linked/auth@1.2.4","maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"dist":{"shasum":"d867d63d22fa958e47cf5774d17108268b6843fa","tarball":"https://registry.npmjs.org/@_linked/auth/-/auth-1.2.4.tgz","fileCount":105,"integrity":"sha512-kncVhmfbpOpVuKeQESQmu+U6dlHZCd5ActdVoYQWiPjpSAzGljXX7uXG547+w4BdHNv4lNpKowzLmGBI2288Jg==","signatures":[{"sig":"MEQCIHq7Y8noDqtkWd+HQEuUe+GkFzQG/Z/2PcdkZEhkdSXhAiA+AJoqk1sZTQlby0en6mKW0NNzSiWz3r3LlB/a6kdjMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270717},"main":"lib/esm/index.js","type":"module","types":"./lib/esm/index.d.ts","module":"lib/esm/index.js","exports":{".":{"types":"./lib/esm/index.d.ts","import":"./lib/esm/index.js"},"./*":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js"},"./*.js":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js"}},"gitHead":"387f7d60eb7031c4a152f9fbc4d9bf1360e60ae6","scripts":{"build":"rimraf ./lib && yarn build-esm && yarn copy-to-lib","start":"npm exec linked dev","build-esm":"echo \"compiling ESM\" && rimraf ./lib/esm && (yarn tsc -p tsconfig-esm.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')","copy-to-lib":"echo 'copying CSS + JSON assets to lib folder' && yarn copyfiles -u 1 'src/**/*.css' 'src/**/*.json' lib/esm"},"_npmUser":{"name":"rene_reborn","email":"email@rene.life"},"repository":{"url":"","type":"git"},"_npmVersion":"10.9.2","description":"## Overview","directories":{},"_nodeVersion":"22.16.0","dependencies":{"foaf":"~1.0","ulid":"^3.0.1","uuid":"^9.0.0","chalk":"^4.1.2","bcrypt":"^5.1.1","jwks-rsa":"^3.0.1","js-cookie":"^3.0.5","zeptomail":"^3.0.4","lincd-rdfs":"~1.0","@types/node":"^20.12.7","express-jwt":"^8.4.1","lincd-input":"~1.0","@_linked/xsd":"^1.0","jsonwebtoken":"^9.0.2","@_linked/core":"^2.0.1","@_linked/sioc":"^1.0","@tolgee/react":"^5.16.2","@types/bcrypt":"^5.0.2","cookie-parser":"^1.4.6","@_linked/react":"^1.1.0","lincd-mui-base":"~1.0","@_linked/schema":"^1.0","@_linked/server":"^2.0","connect-sqlite3":"^0.9.15","express-session":"^1.18.1","react-hook-form":"^7.47.0","@types/js-cookie":"^3.0.6","@capacitor/dialog":"^7.0.2","google-auth-library":"^9.0.0","@_linked/server-utils":"^1.0"},"linkedPackage":true,"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["lib/esm/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.7","copyfiles":"^2.4.1","typescript":"^5.7.3","@_linked/cli":"^1.2","@changesets/cli":"^2.29.8","tsconfig-to-dual-package":"^1.2.0","@changesets/changelog-github":"^0.5.2","typescript-plugin-css-modules":"^5.1.0"},"peerDependencies":{"react-router-dom":"^6.14.2"},"_npmOperationalInternal":{"tmp":"tmp/auth_1.2.4_1784217088673_0.9979856381488201","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"_id":"@_linked/auth@1.3.0","bugs":{"url":"https://github.com/linked-cm/auth/issues"},"dist":{"shasum":"1061d41693be5a28ce7b949ba5799534d576ace1","tarball":"https://registry.npmjs.org/@_linked/auth/-/auth-1.3.0.tgz","integrity":"sha512-9RQPd6Xnt0Nb5Lx3hR6KlsbxRBk+aLFTBf9xkK9t8BmaR9csrEXDEMJ9DI+fW1s2qpTLTYJ7IYdKt7/QAP7kBg==","fileCount":105,"unpackedSize":276338,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@_linked%2fauth@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICANkUNa9yyJRu1keQ3O3gYcQx+DApzJHfrY2k+HWg0IAiEA/L7YRa1oZfTnrxWaZeH7rjYBsyg/of/fdouMBPGw2Iw="}]},"main":"lib/esm/index.js","name":"@_linked/auth","type":"module","types":"./lib/esm/index.d.ts","author":{},"module":"lib/esm/index.js","exports":{".":{"types":"./lib/esm/index.d.ts","import":"./lib/esm/index.js"},"./*":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js"},"./*.js":{"types":"./lib/esm/*.d.ts","import":"./lib/esm/*.js"}},"gitHead":"0c3fbc73257f91de153ae68ac41864d056e4d90b","license":"ISC","scripts":{"build":"rimraf ./lib && yarn build-esm && yarn copy-to-lib","start":"npm exec linked dev","build-esm":"echo \"compiling ESM\" && rimraf ./lib/esm && (yarn tsc -p tsconfig-esm.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')","copy-to-lib":"echo 'copying CSS + JSON assets to lib folder' && yarn copyfiles -u 1 'src/**/*.css' 'src/**/*.json' lib/esm"},"version":"1.3.0","_npmUser":{"name":"rene_reborn","email":"email@rene.life","approver":{"name":"rene_reborn","email":"email@rene.life"}},"homepage":"https://github.com/linked-cm/auth#readme","keywords":["lincd","linked data","interoperable","semantic web","web3"],"repository":{"url":"git+https://github.com/linked-cm/auth.git","type":"git"},"_npmVersion":"11.19.1","description":"The Auth package facilitates authentication in your application using JSON Web Tokens (JWT). It employs `express-jwt` for stateless authentication, handling `accessToken` and `refreshToken` for web applications via Cookies and mobile applications using `@","directories":{},"maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"_nodeVersion":"22.16.0","dependencies":{"foaf":"~1.0","ulid":"^3.0.1","uuid":"^9.0.0","chalk":"^4.1.2","bcrypt":"^5.1.1","jwks-rsa":"^3.0.1","js-cookie":"^3.0.5","zeptomail":"^3.0.4","lincd-rdfs":"~1.0","@types/node":"^20.12.7","express-jwt":"^8.4.1","lincd-input":"~1.0","@_linked/xsd":"^1.0","jsonwebtoken":"^9.0.2","@_linked/core":"^2.0.1","@_linked/sioc":"^1.0","@tolgee/react":"^5.16.2","@types/bcrypt":"^5.0.2","cookie-parser":"^1.4.6","@_linked/react":"^1.1.0","lincd-mui-base":"~1.0","@_linked/schema":"^1.0","@_linked/server":"^2.0","connect-sqlite3":"^0.9.15","express-session":"^1.18.1","react-hook-form":"^7.47.0","@types/js-cookie":"^3.0.6","@capacitor/dialog":"^7.0.2","google-auth-library":"^9.0.0","@_linked/server-utils":"^1.0"},"linkedPackage":true,"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["lib/esm/*"]}},"devDependencies":{"rimraf":"^5.0.7","copyfiles":"^2.4.1","typescript":"^5.7.3","@_linked/cli":"^1.2","@changesets/cli":"^2.29.8","tsconfig-to-dual-package":"^1.2.0","@changesets/changelog-github":"^0.5.2","typescript-plugin-css-modules":"^5.1.0"},"peerDependencies":{"react-router-dom":"^6.14.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth_1.3.0_1789468570680_0.44542983596242536"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-22T21:56:18.128Z","modified":"2026-09-15T10:36:11.094Z","1.0.6":"2026-04-22T21:56:18.383Z","1.1.0":"2026-06-07T14:06:04.211Z","1.2.0":"2026-07-06T10:05:40.018Z","1.2.1":"2026-07-06T20:19:02.610Z","1.2.2":"2026-07-07T07:25:10.035Z","1.2.3":"2026-07-12T07:56:34.508Z","1.2.4":"2026-07-16T15:51:28.814Z","1.3.0":"2026-09-15T10:36:10.768Z"},"license":"ISC","keywords":["lincd","linked data","interoperable","semantic web","web3"],"repository":{"url":"git+https://github.com/linked-cm/auth.git","type":"git"},"description":"The Auth package facilitates authentication in your application using JSON Web Tokens (JWT). It employs `express-jwt` for stateless authentication, handling `accessToken` and `refreshToken` for web applications via Cookies and mobile applications using `@","maintainers":[{"name":"rene_reborn","email":"email@rene.life"}],"readme":"# How to use Auth Package\n\n## Overview\n\nThe Auth package facilitates authentication in your application using JSON Web Tokens (JWT). It employs `express-jwt` for stateless authentication, handling `accessToken` and `refreshToken` for web applications via Cookies and mobile applications using `@capacitor/preferences.`\n\nSince the `accessToken` and `refreshToken` generated, default `accessToken` will be valid 60 minutes and `refreshToken` 7 days and your refreshToken will be saved into the database.\n\n## Installation\n\nTo integrate the Auth package, follow these steps:\n\n1. Wrap your routes with `<ProvideAuth>` component. Define the `userType` and `accountType` and any additional `availableAccountTypes`.\n\n```tsx\nimport { FreeAccount } from 'lincd-dating/lib/shapes/FreeAccount';\nimport { Person } from 'lincd-dating/lib/shapes/Person';\nimport { PaidAccountTier1 } from 'lincd-dating/lib/shapes/PaidAccountTier1';\n\n<ProvideAuth\n  userType={Person}\n  accountType={FreeAccount}\n  availableAccountTypes={[PaidAccountTier1]}\n>\n  {/* Your application code */}\n</ProvideAuth>;\n```\n\n2. Set the environment variables `AUTH_ACCOUNT_TYPE` and `AUTH_USER_TYPE` to match the types imported in the `ProvideAuth` component.\n\n```json\n\"AUTH_ACCOUNT_TYPE\": \"lincd-dating/lib/shapes/FreeAccount\",\n\"AUTH_USER_TYPE\": \"lincd-dating/lib/shapes/Person\",\n```\n\n## How to use on Frontend\n\nImport the useAuth hook in your page to access functions like `signin`, `validateToken`, and `signout`.\n\n### Get user and userAccount\n\n```tsx\nimport { useAuth } from 'lincd-auth/lib/hooks/useAuth';\nimport { FreeAccount } from 'lincd-dating/lib/shapes/FreeAccount';\nimport { Person } from 'lincd-dating/lib/shapes/Person';\n\nconst auth = useAuth<Person, FreeAccount>();\n// Person Shapes\nconst user = auth.user;\n// UserAccount Shapes\nconst userAccount = auth.userAccount;\n```\n\n### Signin with OAuth\n\n```tsx\n// example OAuth signin method\n```\n\n### Sign out\n\nSince user signout, the process is all the tokens will be remove from cookies, storages and databases.\n\n```tsx\nimport {useAuth} from 'lincd-auth/lib/hooks/useAuth';\nimport {Person} from 'lincd-dating/lib/shapes/Person';\nimport {FreeAccount} from 'lincd-dating/lib/shapes/FreeAccount';\n\n\nconst auth = useAuth<Person, FreeAccount>();\n<button onClick={() => auth.signout()}>\n```\n\n### Validate Token\n\nIf you want to redirect the user to specific pages upon authentication, you can use the `validateToken` function.\n\n```tsx\nuseEffect(() => {\n  const validateToken = async () => {\n    const validToken = await auth.validateToken();\n    if (validToken) {\n      // navigate when the token is valid\n    } else {\n      // navigate to the signin page\n    }\n  };\n  validateToken();\n}, []);\n```\n\n## How to use on Backend\n\nWhen a user is authenticated, the request on the server will be updated. This example usage of retrieving user information from the request in the backend.\n\n```tsx\nimport { BackendProvider } from 'lincd-server-utils/lib/utils/BackendProvider';\nimport { Person } from 'lincd-dating/lib/shapes/Person';\nimport { FreeAccount } from 'lincd-dating/lib/shapes/FreeAccount';\n\nexport default class SPBackendProvider extends BackendProvider {\n  getProfiles() {\n    // get linkedAuth from request\n    const auth = this.request.linkedAuth;\n\n    // if the user has successfully signed in, \"auth\" will be available.\n    // and if not, return false.\n    if (!auth) {\n      console.warn('No user authenticated.');\n      return false;\n    }\n\n    const user = auth.userAccount.accountOf as Person;\n    const userAccount = auth.userAccount as FreeAccount;\n\n    // now you can use 'user' and 'userAccount' in your backend logic\n    // ...\n  }\n}\n```\n\n## Email configuration\n\nMake sure to install an email client, like `lincd-zeptomail`.\nSo that emails like 'forgot password' and 'verify email' can be sent from the backend.\n\n## Setup Reset Password\n\nTo enable reset password, define a route for the reset password callback component in your app:\n\n```tsx\nreset_password_callback: {\n  path: '/auth/reset-password',\n  component: lazy(\n    () =>\n      import(\n        'lincd-auth/lib/components/ForgotPasswordCallback' /* webpackPrefetch: true */\n      ),\n  ),\n},\n```\n","readmeFilename":"readme.md","homepage":"https://github.com/linked-cm/auth#readme","author":{},"bugs":{"url":"https://github.com/linked-cm/auth/issues"}}