riot-web/src/vector/platform
Travis Ralston bcd5c838e8
Typescriptify & use service worker for MSC3916 authentication (#27326)
* Typescriptify & use service worker for MSC3916 authentication

* appease the linter

* appease jest

* appease linter

* Get the access token directly

* Add a bit of jitter

* Improve legibility, use factored-out functions for pickling

* Add docs

* Appease the linter

* Document risks of postMessage

* Split service worker post message handling out to function

* Move registration to async function

* Use more early returns

* Thanks(?), WebStorm

* Handle case of no access token for /versions

* Appease linter

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Remove spurious try/catch

* Factor out fetch config stuff

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Finish applying code review suggestions

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-05-14 13:17:38 -06:00
..
ElectronPlatform.tsx Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/oidc-config 2024-05-13 17:49:02 +01:00
IPCManager.ts Conform more of the codebase with `noImplicitAny` and `strictNullChecks` (#25174 2023-04-25 09:36:17 +01:00
PWAPlatform.ts Apply prettier formatting 2022-12-09 13:28:29 +01:00
SeshatIndexManager.ts Conform more of the codebase with `noImplicitAny` and `strictNullChecks` (#25174 2023-04-25 09:36:17 +01:00
VectorBasePlatform.ts rename the GH org in links within documentation 2023-12-20 12:21:26 +00:00
WebPlatform.ts Typescriptify & use service worker for MSC3916 authentication (#27326) 2024-05-14 13:17:38 -06:00