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

> function fetch_ account_ and_ auth_ descriptor(auth_ args: list<gtv>): ( account , account_ auth_ descriptor ) Extracts the account and account_auth_descri

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

FUNCTION

# fetch\_account\_and\_auth\_descriptor

```signature
function fetch_account_and_auth_descriptor(auth_args: list<gtv>): (account, account_auth_descriptor)
```

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

Extracts the account and `account_auth_descriptor` from the args of the auth operation,
which is one of the operations supported by `is_auth_op`.

Throws if the account referred to in `auth_args` does not exist

Throws `"MISSING AUTH DESCRIPTOR"` if the auth descriptor referred to in `auth_args` is not
associated with the account id specified in auth args or does not exist altogether.

**Parameters**

* **auth\_args** — the arguments passed to the auth operation.

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