mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-21 21:09:49 +08:00
Unit-tests the two behaviors this PR changes in InternalSession: access-only sessions key by refresh_token_id (stable across re-minted tokens, distinct per session, raw-token fallback when undecodable), and updateAccessToken installs a same-session token in place while rejecting foreign tokens, null/unchanged/ undecodable no-ops, and never reviving an invalidated session. |
||
|---|---|---|
| .. | ||
| src | ||
| .eslintrc.cjs | ||
| LICENSE | ||
| package.json | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| vitest.config.ts | ||