# _login_config · FT4 Rell API · Chromia Docs (concept)

> This struct represents default auth descriptor configurations that can be used by the client
to create credentials that can access the account. These confi

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.auth/_login_config/

STRUCT

# \_login\_config

This struct represents default auth descriptor configurations that can be used by the client
to create credentials that can access the account. These configurations can be defined by
the dapp developer by extending the `login_config` function.

When a user tries to log into a dapp, a login auth descriptor will be created using one of
these configurations, and the signer will be stored in such a way that allows the client to
sign all transactions it's allowed to without asking for user confirmation.

Using this feature allows the client to provide a better user experience, since the client
will be allowed to call what the dapp considers non-sensitive operations.

Proper configuration is required to avoid allowing sensitive operations to be called by the
login keypairs that are accessible to the client.

```signature
struct _login_config {
 flags: list<text>;
 rules: gtv? = null;
}
```

`flags: list<text>;`
:   What auth flags the login auth descriptor will have.

    **See Also**

    * [\_auth\_handler](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.auth/_auth_handler/) — for a description of auth flags.

`rules: gtv? = null;`
:   What expiration rules the auth descriptor will have

    **See Also**

    * `core.accounts.rule_expression` — for a description of expiration rules.

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/auth/login.rell#lines-19)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.auth/_login_config/index.html)Generated API reference, mirrored from the live docs
