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

> function ttl(millis: integer): gtv Creates a time-to-live rule, which makes the auth descriptor expire after a certain
amount of time since its creation. P

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

FUNCTION

# ttl

```signature
function ttl(millis: integer): gtv
```

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

Creates a time-to-live rule, which makes the auth descriptor expire after a certain
amount of time since its creation.

**Parameters**

* **millis** — the amount of time in milliseconds the auth descriptor should last

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