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-11-27 18:42:58 +00:00
2025-12-11 15:43:20 +00:00
2025-02-05 13:25:06 +00:00
2025-12-07 22:23:59 +00:00
2025-11-03 16:26:47 +00:00
2025-10-29 09:40:21 +00:00
2025-12-12 09:40:38 +00:00
2025-11-05 07:24:26 +00:00
2025-12-04 13:24:28 +00:00
2025-12-04 13:24:28 +00:00
2025-10-29 09:40:21 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-12-11 15:37:25 +00:00
2025-12-04 13:24:28 +00:00
2025-12-12 06:31:41 +00:00
2025-12-08 14:08:31 +00:00
2025-09-01 07:30:49 +00:00
2025-02-05 13:25:06 +00:00
2025-12-05 09:19: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-07-02 08:03:31 +00:00
2025-10-20 06:10:13 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-12-10 10:37:04 +00:00
2025-10-29 09:40:21 +00:00
2025-12-11 12:20:42 +00:00
2025-12-04 13:04:13 +00:00
2025-01-06 11:18:54 +00:00
2025-12-12 18:23:50 +00:00
2025-12-08 09:27:50 +00:00
2025-12-11 15:43:20 +00:00
2025-04-09 19:03:09 +00:00
2025-02-05 13:25:06 +00:00
2025-04-30 15:06:23 +00:00
2025-02-05 13:25:06 +00:00
2025-09-11 13:44:08 +00:00
2025-11-20 18:18:04 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-08-07 09:27:53 +00:00
2025-12-01 16:00:09 +00:00
2025-06-10 11:37:04 +00:00
2025-12-09 12:05:49 +00:00
2025-12-04 13:24:28 +00:00
2025-02-05 13:25:06 +00:00
2025-12-10 16:03:47 +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-10-14 13:08:52 +00:00
2025-12-04 13:24:28 +00:00
2025-07-04 12:27:30 +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-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-08-21 14:43:40 +00:00
2025-12-04 13:24:28 +00:00
2025-12-05 09:19:06 +00:00
2025-12-12 18:23:50 +00:00
2025-10-20 06:10:13 +00:00
2025-10-20 06:10:13 +00:00
2025-12-05 09:19:06 +00:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-03-18 17:54:32 +00:00
2025-01-06 11:18:54 +00:00
2025-05-08 10:03:43 +00:00
2025-02-05 13:25:06 +00:00
2025-04-02 10:05:05 +00:00
2025-09-16 10:41:44 +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-10-09 13:20:53 +00:00
2025-02-05 13:25:06 +00:00
2025-02-05 13:25:06 +00:00
2025-12-02 11:14:00 +00:00
2025-11-20 18:18:04 +00:00
2025-04-30 16:56:21 +01:00
2025-02-05 13:25:06 +00:00
2025-01-06 11:18:54 +00:00
2025-09-02 11:10:10 +00:00
2025-08-12 17:41:58 +00:00
2025-03-24 16:00:47 +00:00
2025-04-10 15:54:41 +00: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-04-14 13:36:34 +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-07-02 08:03:31 +00:00
2025-12-05 19:56:04 +00:00
2025-10-29 09:40:21 +00:00
2025-05-08 10:03:43 +00:00
2025-01-06 11:18:54 +00:00
2025-02-05 13:25:06 +00:00
2025-11-18 17:33:49 +00:00
2025-11-24 11:52:32 +00:00
2025-01-06 11:18:54 +00:00
2025-01-06 11:18:54 +00:00
2025-08-11 10:42:46 +01:00
2025-11-20 18:18:04 +00:00
2025-01-06 11:18:54 +00:00
2025-07-03 13:34:05 +00:00
2025-12-02 11:14:00 +00:00
2025-02-05 13:25:06 +00:00
2025-05-08 10:03:43 +00:00