# authDescriptorById · FT4 TypeScript client · Chromia Docs (concept)

> authDescriptorById(
    accountId: BufferId,
    id: BufferId,
): QueryObject< RawAnyAuthDescriptor , { account_ id: Buffer; id: Buffer }> Creates a query 

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/accounts.authDescriptorById/

Function

# authDescriptorById

* ```signature
  authDescriptorById(
      accountId: BufferId,
      id: BufferId,
  ): QueryObject<RawAnyAuthDescriptor, { account_id: Buffer; id: Buffer }>
  ```

  Creates a query object for `ft4.get_account_auth_descriptor_by_id`-query

  #### Parameters

  + accountId: BufferId

    id of the account from which to get the auth descriptor
  + id: BufferId

    the id of the auth descriptor to get

  #### Returns QueryObject<[RawAnyAuthDescriptor](https://docs.chromia.com/pages/ft4-ts-client/types/accounts.RawAnyAuthDescriptor/), { account\_id: Buffer; id: Buffer }>

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/accounts.authDescriptorById.html)Generated API reference, mirrored from the live docs
