{"_id":"@ai-oauth-sdk/core","_rev":"14-d000a8e56220a407956a3d1da2671c6b","name":"@ai-oauth-sdk/core","dist-tags":{"latest":"1.3.0"},"versions":{"0.1.0":{"name":"@ai-oauth-sdk/core","version":"0.1.0","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@0.1.0","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://github.com/themonk-dev/ai-oauth-sdk#readme","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"6ef53da4e0f3e759e42f7807b986691d5f743c23","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-0.1.0.tgz","fileCount":9,"integrity":"sha512-qWFE+rS0VcIDh9oOilLFwAe+agh6G5GAUhpbFOURhO0K5XKIGj3MgIlc3B8TG1tTGd9IwHXD52Qa3PFoE7SJ0g==","signatures":[{"sig":"MEUCIFFfM+QALhhLtsOvBbOSqHsvn1RYpBLopMHQJokrVWjTAiEApxF51EDxPEKqw9nN2N3iYeRtWd3hHVzqi2l9nAGCfv8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":651759},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"themonk-bot","email":"hey@themonk.dev"},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-0.1.0.tgz","_integrity":"sha512-qWFE+rS0VcIDh9oOilLFwAe+agh6G5GAUhpbFOURhO0K5XKIGj3MgIlc3B8TG1tTGd9IwHXD52Qa3PFoE7SJ0g==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1785441069564_0.10023055539203773","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ai-oauth-sdk/core","version":"0.1.1","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@0.1.1","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://github.com/themonk-dev/ai-oauth-sdk#readme","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"e3015f549b22a36a7d822d37f10de980ed6a458d","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-0.1.1.tgz","fileCount":9,"integrity":"sha512-wIIo1exTXbZMxZNCl7sSb8Og7duZzsJdZfWk5o52+KU+a9nGk1v6i/MqzSOrrjv025FWhxOiUkHlOtm5c6Da2A==","signatures":[{"sig":"MEUCIQDm7GtiRYN5N4VPPFEQ9fE19MVihiO4Sf+wgy1YJt/C2gIgFP9hAu1neIdzZwzSaHVTAbyO32H+xio+FfWj3gv+HGY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":655479},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-0.1.1.tgz","_integrity":"sha512-wIIo1exTXbZMxZNCl7sSb8Og7duZzsJdZfWk5o52+KU+a9nGk1v6i/MqzSOrrjv025FWhxOiUkHlOtm5c6Da2A==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.1_1785443661779_0.2492572015990262","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ai-oauth-sdk/core","version":"0.2.0","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@0.2.0","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://github.com/themonk-dev/ai-oauth-sdk#readme","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"cd42ee607e8136762a48c57acb50906356246c15","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-0.2.0.tgz","fileCount":9,"integrity":"sha512-A9qwfx89XeGF76SWsglDfHaQD2LV7QRSzlycnY9KiS7Cp6PJmdiCm7V+bBD/aBobQcIqUsL1HguTYXI1fXur8w==","signatures":[{"sig":"MEUCIQCjPCNyxLFuyzwHqVKHpebQ2McnIimWyFpCTb04mGQAPAIgRVh+cSMyu1HKFjHKTfLIPhL+jY85SWs0tj9YySgv8zo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":756141},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-0.2.0.tgz","_integrity":"sha512-A9qwfx89XeGF76SWsglDfHaQD2LV7QRSzlycnY9KiS7Cp6PJmdiCm7V+bBD/aBobQcIqUsL1HguTYXI1fXur8w==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.0_1785516048824_0.46813582125859","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ai-oauth-sdk/core","version":"0.2.1","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@0.2.1","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://github.com/themonk-dev/ai-oauth-sdk#readme","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"bd2b566fe1e5207520f3544d0f8210d98dab52e9","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-0.2.1.tgz","fileCount":9,"integrity":"sha512-jHaTAsUiVc5pUQ90VCf3OZCsP925Fa+ZCJWQTEpQUH1eKqsT3bruLRbgZ9ZanNdqPxdPmeeUjHkfygTxbbws0w==","signatures":[{"sig":"MEQCIGhNJp/dW4Dw9It5JAAXus7Z+gFfcMQvxiD1fro7cgjAAiBNufvAzIwuVJsr8dLyY6EEA+urVxZdqaJK7Xd56ncqRQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":756141},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-0.2.1.tgz","_integrity":"sha512-jHaTAsUiVc5pUQ90VCf3OZCsP925Fa+ZCJWQTEpQUH1eKqsT3bruLRbgZ9ZanNdqPxdPmeeUjHkfygTxbbws0w==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.1_1785618408997_0.4077334373160395","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ai-oauth-sdk/core","version":"0.3.0","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@0.3.0","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://github.com/themonk-dev/ai-oauth-sdk#readme","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"658486da7814ff0bdb5be953e1619c4072461f76","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-0.3.0.tgz","fileCount":9,"integrity":"sha512-rh0RiQQHx+j/qx65BbkgjkMhnacD8cuzFUX3kPd80hvaDmw4dCVFIHnWbpkB2DIcfu6AcQDOsAAOzaWkLo2n9g==","signatures":[{"sig":"MEYCIQCM+caFyPSzmIKfhyOzZoVWiEwkPBK/m6S/lG/tecJKXwIhAIEZ1I+/P2zXL/xs49v1OuJQU4zGXJ915mYSWil05FSY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":822892},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-0.3.0.tgz","_integrity":"sha512-rh0RiQQHx+j/qx65BbkgjkMhnacD8cuzFUX3kPd80hvaDmw4dCVFIHnWbpkB2DIcfu6AcQDOsAAOzaWkLo2n9g==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.0_1785620498410_0.059294653440415956","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@ai-oauth-sdk/core","version":"1.0.0","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@1.0.0","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://ai-oauth.themonk.dev/docs/reference/auth-client","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"33a2ed6ced0f5e982a971eb09fd392c1127e974d","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.0.0.tgz","fileCount":9,"integrity":"sha512-ISXY6ZFd/vvq9zebCL/RvA1u+NSQqjhKvSaovGhetYAY9oK7Z1QvSRSqHpHWzx65W7FvR0zEZza1egIhsIeKNA==","signatures":[{"sig":"MEQCIFdwJH9fW0q/P9eU3RSITln1cj14gPc2DbUi7pNP9+FUAiBN/hgawVl4N0DCnTKS1iXTfudtLFr3eBhRmjXHYFDQeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":836093},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.0.0.tgz","_integrity":"sha512-ISXY6ZFd/vvq9zebCL/RvA1u+NSQqjhKvSaovGhetYAY9oK7Z1QvSRSqHpHWzx65W7FvR0zEZza1egIhsIeKNA==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_1.0.0_1785658520341_0.0007400879185208709","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ai-oauth-sdk/core","version":"1.0.1","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@1.0.1","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://ai-oauth.themonk.dev","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"05af5ea22a87de7f206bfc9cbca21f66594feb91","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.0.1.tgz","fileCount":9,"integrity":"sha512-ZUkNBQ1TlVuhL2jywe8QAWkkncvaBf0NWnZckqEdHcW8ntQNDiLBlj0rMAZN9ahHJkiXL2qVXoC6V/xJkDWzxA==","signatures":[{"sig":"MEQCIBaHaLihWazmw1Xs9CbeUmG1/Fp4TuTzPb6OLTAizPPTAiB1WGXnKKFrCIkyyvSkNq1/kSbmRD8WhxrocCJHDpWiKA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":836066},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.0.1.tgz","_integrity":"sha512-ZUkNBQ1TlVuhL2jywe8QAWkkncvaBf0NWnZckqEdHcW8ntQNDiLBlj0rMAZN9ahHJkiXL2qVXoC6V/xJkDWzxA==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_1.0.1_1785680939286_0.518754658601772","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ai-oauth-sdk/core","version":"1.0.2","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@1.0.2","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://ai-oauth.themonk.dev","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"9b819a11dc3f6cdd2c85003d6845ab92a2a60924","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.0.2.tgz","fileCount":9,"integrity":"sha512-mkxlI6hah6Zlp+S/ICaJh58w4fPY6s/pj6WhK3iv/V5ohEyMIuzyxdUT/uWaOjOFgruBxOPKezCnBpU+5fHiWg==","signatures":[{"sig":"MEQCIDoQn/yKMU9KEpwqip/Mj3PXcesTZRLcUgW1v8y7xr/zAiBfDYxDm6a37oJxS5HXE5E1njmFblRfEiRf9hudxTXk7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":837798},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-1.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.0.2.tgz","_integrity":"sha512-mkxlI6hah6Zlp+S/ICaJh58w4fPY6s/pj6WhK3iv/V5ohEyMIuzyxdUT/uWaOjOFgruBxOPKezCnBpU+5fHiWg==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_1.0.2_1785766435901_0.07995571154953507","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@ai-oauth-sdk/core","version":"1.1.0","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@1.1.0","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://ai-oauth.themonk.dev","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"c440e7744062898b2b313ca31ec1718474d11a87","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.1.0.tgz","fileCount":9,"integrity":"sha512-fomovWrICZeJPb6xoFN6Vrhq+wHB5Y9a6qs44jkOSomf5xcSkE4I8Jhl4nDrsUByFFR+kxqE5WsLDlpExVDMvg==","signatures":[{"sig":"MEUCIG+Tlm9XDYcBXyRbU4Kk7zopJEqvLuinRbRUKWeJeP2gAiEA9DR28a20S4BAgAgMm7caW1ICjoqm3vsClXJTdDiyN70=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":853499},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.1.0.tgz","_integrity":"sha512-fomovWrICZeJPb6xoFN6Vrhq+wHB5Y9a6qs44jkOSomf5xcSkE4I8Jhl4nDrsUByFFR+kxqE5WsLDlpExVDMvg==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_1.1.0_1785873138762_0.16453597118365293","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@ai-oauth-sdk/core","version":"1.1.1","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@1.1.1","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://ai-oauth.themonk.dev","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"44fccb0b5303baea1dc60f8da263b704047f6320","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.1.1.tgz","fileCount":9,"integrity":"sha512-xJeICFf20buJRD0Fs33pNhFDtKLXRQMHzfpShw572di5wAWKEWxDnkZjKa1nVNWTddHQ95Nwn1fOn8b+ByHSqg==","signatures":[{"sig":"MEUCIDQwHNSwxBXj76DzzNUxtbS6rGL9h7bxx5QBHlyhb6XfAiEA0FcOR7b3VKkMxnHtG+qeATPzffRFbifDl1p4iqqH4c0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":864325},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-1.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.1.1.tgz","_integrity":"sha512-xJeICFf20buJRD0Fs33pNhFDtKLXRQMHzfpShw572di5wAWKEWxDnkZjKa1nVNWTddHQ95Nwn1fOn8b+ByHSqg==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.17.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_1.1.1_1786509963928_0.4836949303354503","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@ai-oauth-sdk/core","version":"1.1.2","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@1.1.2","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://ai-oauth.themonk.dev","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"1f3bdde91f973ed85d48de73c8be265dc569e2c4","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.1.2.tgz","fileCount":9,"integrity":"sha512-IkXbpTHdmN6eVxAHrRAREBQ8L9ex4CbjiPb5yO790xqU8faDnzqD+ZNuhtorJo/AW+cixL5ipDk4zmZmERwPqg==","signatures":[{"sig":"MEUCIFj1A/vNFyZ+NqzBC+joHLr4gHPRSjY90m60lt0qxDYzAiEA8I6uOEKCFcePmr+JG3TJuxlQXZ4AibruBsvOKsY49lo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":879777},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-1.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.1.2.tgz","_integrity":"sha512-IkXbpTHdmN6eVxAHrRAREBQ8L9ex4CbjiPb5yO790xqU8faDnzqD+ZNuhtorJo/AW+cixL5ipDk4zmZmERwPqg==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_1.1.2_1786538711503_0.29442522347345634","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@ai-oauth-sdk/core","version":"1.1.3","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@1.1.3","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://ai-oauth.themonk.dev","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"0011089f0037cdbad3df912098c9dd40d52fd26a","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.1.3.tgz","fileCount":9,"integrity":"sha512-bBZcpT7ZYJkER84XstAj6rqKkLNzzO9q1GWy/nZW5NG/JDsol/ZjGsEgk2JtlCmLNuXngI9SBS0dVRm+6mYdUQ==","signatures":[{"sig":"MEUCIQDALxCytvakHu/TdWcg+rCpoTkVQ5iffGXZfObOxZ8aRwIgVG0w7La72H1zGqJe6wD057z4aXUcvSGu5H882Hxs2cg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":889739},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-1.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.1.3.tgz","_integrity":"sha512-bBZcpT7ZYJkER84XstAj6rqKkLNzzO9q1GWy/nZW5NG/JDsol/ZjGsEgk2JtlCmLNuXngI9SBS0dVRm+6mYdUQ==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.17.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_1.1.3_1786951526074_0.6252134702329868","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@ai-oauth-sdk/core","version":"1.2.0","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","_id":"@ai-oauth-sdk/core@1.2.0","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"homepage":"https://ai-oauth.themonk.dev","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"dist":{"shasum":"ce52e8c9f378b29b02817551a0acdc0922badcb7","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.2.0.tgz","fileCount":9,"integrity":"sha512-1NN4CHm20l7Y6w1wmUfn5OfW+lZOpOrY+JTQr6WcLZrpugL2DquVL2i7Fy14AqNJ09O0gIZCgUXTXQ5fN+JuBQ==","signatures":[{"sig":"MEUCIHKW3taD5bDWsJJvRX6jYaxTJvsjg+MaWdvF65m11nQcAiEAhzNGT4/rqeIS9t0IIZQ6Y58NbAeeZGILuPNYDxb/sMM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":905032},"main":"./dist/index.cjs","type":"module","_from":"file:tarballs/ai-oauth-sdk-core-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.2.0.tgz","_integrity":"sha512-1NN4CHm20l7Y6w1wmUfn5OfW+lZOpOrY+JTQr6WcLZrpugL2DquVL2i7Fy14AqNJ09O0gIZCgUXTXQ5fN+JuBQ==","repository":{"url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","type":"git","directory":"packages/core"},"_npmVersion":"11.17.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/core_1.2.0_1787128273870_0.14754680788977326","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@ai-oauth-sdk/core","version":"1.3.0","description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"license":"MIT","homepage":"https://ai-oauth.themonk.dev","bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","directory":"packages/core"},"type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"engines":{"node":">=22"},"publishConfig":{"access":"public","provenance":true},"devDependencies":{"@types/node":"^22.9.0"},"scripts":{"build":"tsup","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit"},"_id":"@ai-oauth-sdk/core@1.3.0","_integrity":"sha512-iaCSHAJxyLaldrKwAj+fOk9D0+cx6qimg8P5Y2ZQgZSAle18GxREAYTERzYHj9WJoqB+5XXwb7LBjRDnWEP0tw==","_resolved":"/home/runner/work/ai-oauth-sdk/ai-oauth-sdk/tarballs/ai-oauth-sdk-core-1.3.0.tgz","_from":"file:tarballs/ai-oauth-sdk-core-1.3.0.tgz","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-iaCSHAJxyLaldrKwAj+fOk9D0+cx6qimg8P5Y2ZQgZSAle18GxREAYTERzYHj9WJoqB+5XXwb7LBjRDnWEP0tw==","shasum":"8d4e0951582d563fb8fc277a865a0875db348688","tarball":"https://registry.npmjs.org/@ai-oauth-sdk/core/-/core-1.3.0.tgz","fileCount":9,"unpackedSize":920170,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-oauth-sdk%2fcore@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCCDdk+QS5NnI0Eq4TCJVPlJK/cX3O11eTmQ4622+g7QQIgbUPt3D4roonIaU0UvnaxBBCK0OBxHfKUdcP8SF3qHM0="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fea35263-a137-4c88-8c17-c7996450fa6e"}},"directories":{},"maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.3.0_1789278179486_0.9589650262098606"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-30T19:51:09.403Z","modified":"2026-09-13T05:42:59.923Z","0.1.0":"2026-07-30T19:51:09.721Z","0.1.1":"2026-07-30T20:34:21.962Z","0.2.0":"2026-07-31T16:40:48.993Z","0.2.1":"2026-08-01T21:06:49.184Z","0.3.0":"2026-08-01T21:41:38.611Z","1.0.0":"2026-08-02T08:15:20.521Z","1.0.1":"2026-08-02T14:28:59.527Z","1.0.2":"2026-08-03T14:13:56.060Z","1.1.0":"2026-08-04T19:52:18.974Z","1.1.1":"2026-08-12T04:46:04.088Z","1.1.2":"2026-08-12T12:45:11.646Z","1.1.3":"2026-08-17T07:25:26.203Z","1.2.0":"2026-08-19T08:31:14.017Z","1.3.0":"2026-09-13T05:42:59.629Z"},"bugs":{"url":"https://github.com/themonk-dev/ai-oauth-sdk/issues"},"license":"MIT","homepage":"https://ai-oauth.themonk.dev","keywords":["oauth","oauth2","pkce","ai","chatgpt","claude","gemini","grok","cli","authentication"],"repository":{"type":"git","url":"git+https://github.com/themonk-dev/ai-oauth-sdk.git","directory":"packages/core"},"description":"Framework-agnostic OAuth 2.0 + PKCE core for AI provider sign-in (ChatGPT, Claude, Gemini, Grok). Zero dependencies, runs anywhere.","maintainers":[{"name":"themonk-bot","email":"hey@themonk.dev"}],"readme":"# @ai-oauth-sdk/core\n\nZero-dependency, framework-agnostic OAuth 2.0 + PKCE engine for AI provider sign-in.\n\n**[Documentation](https://ai-oauth.themonk.dev/docs/reference/auth-client)**\n\nThis is the part that runs everywhere. No Node APIs, no DOM APIs, no dependencies. Pair it with a\nruntime adapter ([`@ai-oauth-sdk/node`](../node), [`@ai-oauth-sdk/browser`](../browser),\n[`@ai-oauth-sdk/react-native`](../react-native)) or drive it yourself.\n\n```bash\nnpm i @ai-oauth-sdk/core\n```\n\n```ts\nimport { createAuthClient, publicClientIds } from '@ai-oauth-sdk/core'\n\nconst client = createAuthClient({\n  provider: 'openai',\n  clientId: publicClientIds.openai,\n  redirectUri: 'http://localhost:1455/auth/callback',\n})\n\nconst { url, state } = await client.createAuthorization()\n// Send the user to `url`. When the callback lands:\nconst tokens = await client.completeAuthorization({ code, state })\n```\n\n## What's in here\n\n**Providers.** Descriptors for `openai`, `claude`, `gemini`, `xai`,\n`github-copilot`, `openrouter` and `qwen`, plus the `azureAi({ tenant })`\nfactory, and `defineProvider()` / `providerFromDiscovery()` for your own.\n\n**PKCE.** `createPkce()`, with a pure-JS SHA-256 fallback for runtimes without\n`crypto.subtle` such as React Native. Secure randomness is required, never faked.\n\n**`AuthorizationRegistry`.** Tracks in-flight logins by `state`, so a flow can be started and\ncompleted in different places. Results are buffered, so there is no race between finishing a login\nand waiting for it.\n\n**Token handling.** `exchangeCode()`, `refreshTokens()`, `isExpired()`, and deduplicated\nauto-refresh on the client.\n\n**Receivers.** `manualReceiver()` for paste, which works anywhere, and the RFC 8628 device code\nflow.\n\n**Storage.** `memoryStorage()`, `fromSyncStorage()`, `prefixedStorage()`.\n\n## Using the token\n\n`createAuthenticatedFetch(client)` returns a `fetch` that attaches a valid token, refreshes before\nexpiry, adds whatever headers the provider needs, and retries once on a 401. Hand it to any SDK\nthat takes a `fetch`. See [Using the token](https://ai-oauth.themonk.dev/docs/recipes/ai-sdk).\n\n## License\n\nMIT\n\n---\n\n<sub>An independent, unofficial project. Not affiliated with or endorsed by OpenAI,\nAnthropic, Google, GitHub, Microsoft, xAI, Alibaba or OpenRouter; all trademarks belong\nto their owners. No provider officially supports these OAuth flows, and any of them may\nchange without notice. Please read the\n[disclaimer](https://ai-oauth.themonk.dev/docs/resources/disclaimer).</sub>\n","readmeFilename":"README.md"}