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

> function parse_ auth_ flags(gtv: gtv): list<text> Parse the values in the gtv as auth flags. Used to retrieve the configuration found in
the chromia.yml fi

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

FUNCTION

# parse\_auth\_flags

```signature
function parse_auth_flags(gtv: gtv): list<text>
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/auth_flags_config.rell#lines-45)

Parse the values in the `gtv` as auth flags. Used to retrieve the configuration found in
the `chromia.yml` file for the auth flag config.

Throws `"INVALID FLAGS"` if the value is:

* a list of anything else than just text values
* neither a list nor a comma separated text

Throws if the flags are not valid.

**See Also**

* [require\_valid\_auth\_flags](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/require_valid_auth_flags/) — for information on what flags are valid

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