Split scene planning into global + per-scene context files
This commit is contained in:
@@ -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`
|
||||
Reference in New Issue
Block a user