element-web/test/utils/oidc
Kerry 46072caa3a
OIDC: persist refresh token (#11249)
* test persistCredentials without a pickle key

* test setLoggedIn with pickle key

* lint

* type error

* extract token persisting code into function, persist refresh token

* store has_refresh_token too

* pass refreshToken from oidcAuthGrant into credentials

* rest restore session with pickle key

* comments

* prettier

* Update src/Lifecycle.ts

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

* comments

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-09-19 00:06:19 +00:00
..
authorize-test.ts OIDC: persist refresh token (#11249) 2023-09-19 00:06:19 +00:00
getDelegatedAuthAccountUrl-test.ts OIDC: disable multi session signout for OIDC-aware servers in session manager (#11431) 2023-08-22 02:25:34 +00:00
persistOidcSettings-test.ts OIDC: Persist details in session storage, create store (#11302) 2023-07-20 21:30:19 +00:00
registerClient-test.ts Fix jest/valid-expects lints (#11238) 2023-07-13 15:19:44 +00:00