Commit 66e3c56
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 5a1570c commit 66e3c56
1 file changed
Lines changed: 22 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 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
174 | 187 | | |
175 | 188 | | |
176 | 189 | | |
177 | 190 | | |
178 | 191 | | |
179 | 192 | | |
| 193 | + | |
180 | 194 | | |
181 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
182 | 203 | | |
183 | 204 | | |
184 | 205 | | |
| |||
0 commit comments