{"_id":"@dreadkn1ght123/auth-types","_rev":"2-1673a02529b4b6eabe451f43c6389659","name":"@dreadkn1ght123/auth-types","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.0":{"name":"@dreadkn1ght123/auth-types","version":"0.2.0","_id":"@dreadkn1ght123/auth-types@0.2.0","maintainers":[{"name":"dreadkn1ght123","email":"dreadkn1ght123@gmail.com"}],"dist":{"shasum":"0c61e674c8d18ac7fc763bb70625045314692f79","tarball":"https://registry.npmjs.org/@dreadkn1ght123/auth-types/-/auth-types-0.2.0.tgz","fileCount":6,"integrity":"sha512-jw0F0+tJ/Wn1SiAIpkB+dd0CjtjAsyPcWPkJkUOiIWxSJRkXp6hW8+uFcNvH53h/S21tvjkBSSeSTF56sbpe0w==","signatures":[{"sig":"MEUCIQDW14jVTiYQsomTEBTdyAi477DVkzsQ4QCsYzuHYJzlOQIgJA9YjMIgrVR6qjdDMJSYCNyOb8jEF7Vl3a2GPuUH6ug=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21887},"main":"./dist/index.js","type":"module","_from":"file:/home/runner/workspace/vvp-iam/release/dreadkn1ght123-auth-types-0.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -b","typecheck":"tsc -b --pretty false"},"_npmUser":{"name":"dreadkn1ght123","email":"dreadkn1ght123@gmail.com"},"_resolved":"/home/runner/workspace/vvp-iam/release/dreadkn1ght123-auth-types-0.2.0.tgz","_integrity":"sha512-jw0F0+tJ/Wn1SiAIpkB+dd0CjtjAsyPcWPkJkUOiIWxSJRkXp6hW8+uFcNvH53h/S21tvjkBSSeSTF56sbpe0w==","_npmVersion":"11.6.2","description":"Shared VVP authentication contracts and types","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/auth-types_0.2.0_1788174732924_0.7346947423965049","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"_id":"@dreadkn1ght123/auth-types@0.3.0","dist":{"shasum":"44f8fc72cc975a5d369d7d06325f6ea806bb293f","tarball":"https://registry.npmjs.org/@dreadkn1ght123/auth-types/-/auth-types-0.3.0.tgz","fileCount":6,"integrity":"sha512-sEgkVaofYXEiCaVzyy93V837aTgPMVxE++y/Mm8dOjuXTdKl/fAOKaC8jbBqEOFvkzmMhiOPXGi6lOA4Ey978g==","signatures":[{"sig":"MEQCIEdyrI4wPXXHWaTXcf0c4e92X7K0jJjwHjpnVQ6ZeOftAiBLFprwDBEA+dIaSzG3O4CkDjyIQV4ngVJfnh+Uq1ohyQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF6OLI9a4NyqQ10cC2BIjdGlGYDY0oYk4Y4crU6gb8uWAiEAy1WrZ6RNcqnt8tmpJZAWfBjtKMfoeS3Gcl+usKeB6p8="}],"unpackedSize":21939},"main":"./dist/index.js","name":"@dreadkn1ght123/auth-types","type":"module","_from":"file:/home/runner/workspace/vvp-iam/release/dreadkn1ght123-auth-types-0.3.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -b","typecheck":"tsc -b --pretty false"},"version":"0.3.0","_npmUser":{"name":"dreadkn1ght123","email":"dreadkn1ght123@gmail.com"},"_resolved":"/home/runner/workspace/vvp-iam/release/dreadkn1ght123-auth-types-0.3.0.tgz","_integrity":"sha512-sEgkVaofYXEiCaVzyy93V837aTgPMVxE++y/Mm8dOjuXTdKl/fAOKaC8jbBqEOFvkzmMhiOPXGi6lOA4Ey978g==","_npmVersion":"11.6.2","description":"Shared VVP authentication contracts and types","directories":{},"maintainers":[{"name":"dreadkn1ght123","email":"dreadkn1ght123@gmail.com"}],"_nodeVersion":"24.13.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth-types_0.3.0_1790107973201_0.797951827799183"}}},"time":{"created":"2026-08-31T11:12:12.631Z","modified":"2026-09-22T20:12:53.452Z","0.2.0":"2026-08-31T11:12:13.057Z","0.3.0":"2026-09-22T20:12:53.283Z"},"description":"Shared VVP authentication contracts and types","maintainers":[{"name":"dreadkn1ght123","email":"dreadkn1ght123@gmail.com"}],"readme":"# @dreadkn1ght123/auth-types\n\nShared, runtime-free VVP authentication contracts. The package defines VVP\nclaims, actors, roles, validated configuration, route and transaction outcomes,\ntyped diagnostic stages/reasons, allowlisted safe error fields, the safe logger,\nand pluggable server-side session-store contracts.\n\nApplication identity is the exact validated OIDC issuer and subject pair.\nClaims carry these values as `iss` and `sub`; SDK actor and session projections\nexpose them as `issuer` and `sub`. Email and optional profile claims are never\nidentity fallbacks.\n\nRequires Node.js 20 or newer. Tokens belong only in `ServerSession`; expose a\n`PublicSession` to browser code. `AuthConfigInput.clientSecret` is mandatory:\nthe SDK supports confidential server-side OIDC clients only.\n\nThe default OIDC scopes are `openid`, `profile`, and `email`; custom scope lists\nneed only retain `openid`. Applications may opt in to `vvp-identity` for\noptional business enrichment; it is not required to establish application\nidentity.\n\nDiagnostic types deliberately cannot carry arbitrary response bodies, headers,\nURLs, tokens, claims, or provider descriptions. Treat `SafeAuthErrorFields` and\n`SafeLogFields` as an allowlist, not as a place to cast untrusted objects.\n\nVersion `0.3.0` is the compatible minor line for all auth packages. Keep\n`@dreadkn1ght123/auth-types`, `@dreadkn1ght123/auth-core`,\n`@dreadkn1ght123/auth-express`, and `@dreadkn1ght123/auth-react` on the same\nminor line; see the workspace\n[`UPGRADE.md`](../../UPGRADE.md).","readmeFilename":"README.md"}