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

> function extract_ account_ and_ auth_ descriptor(auth_ args: list<gtv>): (byte_ array, byte_ array) Extracts the account ID and auth descriptor ID from the

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

FUNCTION

# extract\_account\_and\_auth\_descriptor

```signature
function extract_account_and_auth_descriptor(auth_args: list<gtv>): (byte_array, byte_array)
```

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

Extracts the account ID and auth descriptor ID from the args of the auth operation,
which are the operations supported by `is_auth_op`

**Parameters**

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

**Returns**

a tuple containing `(account_id, auth_descriptor_id)`

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