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

> createInMemoryLoginKeyStore(): LoginKeyStore Creates a LoginKeyStore which will only keep its keys in memory.
Suitable for testing, or when logged in sessi

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

Function

# createInMemoryLoginKeyStore

* ```signature
  createInMemoryLoginKeyStore(): LoginKeyStore
  ```

  Creates a `LoginKeyStore` which will only keep its keys in memory.
  Suitable for testing, or when logged in sessions should not be persisted
  across e.g., page reloads. Can be used outside of a browser 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.createInMemoryLoginKeyStore.html)Generated API reference, mirrored from the live docs
