app-session
Use when adopting or maintaining @jeswr/app-session shared browser sign-in wiring, React session context and login screens, or migrating copied suite app auth modules.
- License 许可
- MIT
- 所属仓库
- jeswr/solid-sdk
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- app-session
- description
- Use when adopting or maintaining @jeswr/app-session shared browser sign-in wiring, React session context and login screens, or migrating copied suite app auth modules.
02 资源文件 27
- 许可证LICENSE1.0 KB
- 参考文档package.json1.8 KB
- 参考文档README.md4.7 KB
- 脚本src/app-url.ts263 B
- 脚本src/auth-flow-holder.ts2.0 KB
- 脚本src/custom-elements.d.ts876 B
- 脚本src/index.ts681 B
- 脚本src/issuer-choice.ts350 B
- 脚本src/legacy-credentials.ts768 B
- 其他src/LoginScreen.tsx3.5 KB
- 脚本src/pod-auth.ts3.4 KB
- 脚本src/profile.ts1.5 KB
- 脚本src/react.ts328 B
- 脚本src/session-derivation.ts758 B
- 其他src/SessionProvider.tsx12.4 KB
- 脚本src/sign-in.ts2.1 KB
- 脚本src/styles.d.ts51 B
- 脚本src/testing.ts1.9 KB
- 脚本test/app-url.test.ts1.0 KB
- 脚本test/auth-flow-holder.test.ts12.6 KB
- 脚本test/helpers.test.ts4.4 KB
- 脚本test/pod-auth.test.ts9.8 KB
- 其他test/SessionProvider.test.tsx30.9 KB
- 脚本test/setup.ts70 B
- 参考文档tsconfig.build.json185 B
- 参考文档tsconfig.json370 B
- 脚本vitest.config.ts512 B
03 SKILL.md 正文
<!-- AUTHORED-BY GPT-6.1 Sol -->
Read README.md for the three entry points and configuration seams.
Create createAppPodAuth once per page in an app-owned module. Keep bundler environment reads
in that module and the app entry; the library takes explicit options. Use appUrl(path, base, origin?)
for nested deployment bases. Pass appName and the application's exact obsolete credential keys to
SessionProvider; keep signed-in application UI and fetch threading in the app.
Preserve the StrictMode holder, single restore promise, stale-operation fences and safe error messages. Pass abort signals to login; cancellation never calls logout. Multiple WebID issuers require explicit choice. Deep links suggest an account and never initiate login. Public profile data does not grant credentials. Preserve pod-auth's automatic verified-storage boundary and pristine public transport; consult pod-auth's skill before changing auth policy.
This package is security-critical. Build workspace dependencies before checking it and keep every
source file at 100% coverage. Use /testing only in Vitest consumers. Keep framework-free exports
in . and React/CSS imports in /react. Do not introduce import.meta.env here.
04 同仓库更多 Skills
storage-conformance
Work on @jeswr/storage-conformance, the shared storage conformance suite package in the Solid SDK workspace.
fetch-rdf-engine-tests
Maintain fetch-rdf's real Node WASM parser integration tests without introducing a reverse engine dependency in fetch-rdf.
alpha
Use when checking fixtures, including folded YAML descriptions.
widget
Use when testing package skills: YAML quoting works.
web-seo
Use when improving technical and entity SEO for a modern personal, portfolio, documentation, or marketing site, including crawlable HTML, canonical metadata, sitemap and robots, Person/ProfilePage JSON-LD, Core Web Vitals, and honest ranking expectations.
solid-wac
Use when implementing or auditing Solid server WAC authorization, ACL creation and inheritance, auxiliary-resource escalation, method-to-mode mapping, 401 versus 403 challenges, WAC-Allow, or defensive typed ACL parsing with @solid/object and @rdfjs/wrapper.