Split scene planning into global + per-scene context files

This commit is contained in:
dingo
2026-02-22 14:11:44 +00:00
parent 34e56d4d3d
commit d711c50d4e
21 changed files with 456 additions and 724 deletions
@@ -0,0 +1,22 @@
# AuthGateway Scene
## UI
- Account/session check spinner
- Auth route chooser (Login/Register/OAuth)
- Service status banner
## Client
- Decide entry path: session refresh, login, register, OAuth.
- Render enabled options based on server capabilities.
## Server
- Validate refresh tokens and return session state.
- Provide auth policy.
## Data Exchange
### Client -> Server (`SessionProbe`)
- `requestId`, `refreshToken` (optional), `deviceId`
### Server -> Client (`SessionProbeResult`)
- `requestId`, `isAuthenticated`, `accountId`, `displayName`
- `authMethodsAvailable`, `passwordPolicy`