Commit dcb27d3
committed
feat(FR-2629): extend tokenLogin helper with optional extraParams
Add an optional fifth parameter `extraParams?: Record<string, string>`
to the `tokenLogin` helper in `loginSessionAuth.ts`. When provided, it is
forwarded to `client.token_login(sToken, extraParams)` so callers can
pass additional query parameters collected from the URL (e.g.
EduAppLauncher's `app`, `session_id`, `cpu`, `mem`).
Existing LoginView caller remains valid since the parameter is optional
and defaults to an empty object internally. This closes Open Question 1
from the spec (option (a) — extend over bypass).
Refs FR-26161 parent 08991b0 commit dcb27d3
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
177 | 184 | | |
178 | 185 | | |
179 | 186 | | |
| 187 | + | |
180 | 188 | | |
181 | | - | |
| 189 | + | |
182 | 190 | | |
183 | 191 | | |
184 | 192 | | |
| |||
0 commit comments