# createSessionStorageLoginKeyStore · FT4 TypeScript client · Chromia Docs (concept)

> createSessionStorageLoginKeyStore(): LoginKeyStore Creates a LoginKeyStore which will keep its keys in the browsers session storage.
Suitable when the key 

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/authentication.createSessionStorageLoginKeyStore/

Function

# createSessionStorageLoginKeyStore

* ```signature
  createSessionStorageLoginKeyStore(): LoginKeyStore
  ```

  Creates a `LoginKeyStore` which will keep its keys in the browsers session storage.
  Suitable when the key should be persisted across page reloads, but be destroyed
  when the user closes their browser window. Can only be used when the dapp runs in
  a browser or browser like context.

  #### Returns [LoginKeyStore](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.LoginKeyStore/)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/authentication.createSessionStorageLoginKeyStore.html)Generated API reference, mirrored from the live docs
