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

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

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

Function

# createLocalStorageLoginKeyStore

* ```signature
  createLocalStorageLoginKeyStore(): LoginKeyStore
  ```

  Creates a `LoginKeyStore` which will keep its keys in the browsers local storage.
  Suitable when the key should be persisted across page reloads, as well as 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/)

  #### Remarks

  Using this function does not guarantee that the user will remain logged
  in after restarting their browser, e.g., if they are running in incognito mode.

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