David Baker
d2727754e3
Tidy up token refresh code ( #31519 )
...
* Tidy up token refresh code
This was a bit odd where the function to create a refresher sometimes
created a refresher and sometimes just returned null, including if the
init failed, in which case you would just end up with no token refresher.
Pairs with https://github.com/matrix-org/matrix-js-sdk/pull/5106 but
doesn't depend on either way.
* Remove deviceId property in favour of superclass one
* Fix tests
* Fix argument order in super call
redirect URI & device ID were swapped. It appears that gthe OIDS client
only actually sends the redirect URI when refreshing a token, so we will
have been sending a device ID for that when refreshing. I think this is safe
to fix since this is only when refreshing so it already would not have
matched what was passed at login time.
* Pass client ID into createOidcTokenRefresher
2025-12-12 18:23:50 +00:00
..
2025-02-05 13:25:06 +00:00
2025-11-20 20:25:31 +00:00
2025-03-04 10:41:16 +00:00
2025-12-04 13:24:28 +00:00
2025-02-05 13:25:06 +00:00
2025-11-24 11:52:32 +00:00
2025-02-05 13:25:06 +00:00
2025-03-04 15:01:20 +00:00
2025-01-06 11:18:54 +00:00
2025-12-12 18:23:50 +00:00
2025-12-09 16:36:22 +00:00
2025-03-21 11:34:06 +00:00
2025-11-17 11:50:22 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-11-03 16:26:47 +00:00
2025-02-05 13:25:06 +00:00
2025-12-01 16:00:09 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-12-01 16:00:09 +00:00
2025-04-30 16:56:21 +01:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-12-04 13:24:28 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-14 16:44:34 +00:00
2025-08-07 09:27:53 +00:00
2025-11-03 17:33:18 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-07-29 10:15:11 +00:00
2025-01-06 11:18:54 +00:00
2025-11-03 16:26:47 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-10-03 13:29:10 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-09-16 12:43:49 +01:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-12-01 16:00:09 +00:00
2025-01-06 11:18:54 +00:00
2025-08-05 11:10:30 +00:00
2025-12-04 13:24:28 +00:00
2025-10-16 08:17:46 +00:00
2025-01-06 11:18:54 +00:00
2025-08-22 15:10:42 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-04 13:41:34 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-11-03 17:33:18 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-04-09 19:03:09 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-08-22 15:10:42 +00:00
2025-01-06 11:18:54 +00:00
2025-03-24 16:43:53 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-04-30 16:56:21 +01:00
2025-01-14 12:01:19 +00:00
2025-05-13 09:27:08 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-05-08 10:03:43 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-09-05 08:32:17 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00