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

> getLoginConfig(queryable: Queryable, configName?: string): Promise< LoginConfig > Fetches a login config. Either the config with the provided name
or, if o

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

Function

# getLoginConfig

* ```signature
  getLoginConfig(queryable: Queryable, configName?: string): Promise<LoginConfig>
  ```

  Fetches a login config. Either the config with the provided name
  or, if omitted, the default config.

  #### Parameters

  + queryable: Queryable

    the client to use to fetch the config
  + `Optional`configName: string

    optional config name. If omitted, default config will be fetched

  #### Returns Promise<[LoginConfig](https://docs.chromia.com/pages/ft4-ts-client/types/authentication.LoginConfig/)>

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