Docs
chromia.com

QUERY

get_first_allowed_auth_descriptor

@mount("ft4.get_first_allowed_auth_descriptor")
query get_first_allowed_auth_descriptor(op_name: text, args: gtv, account_id: byte_array, ad_ids: list<byte_array>): byte_array?
Source

Same as core.auth.get_first_allowed_auth_descriptor.

Throws if the auth handler for this operation is not found or its resolver is a function that throws.

Parameters

  • op_name — the name of the operation to call
  • args — the arguments for the operation
  • account_id — the account that will call the operation
  • ad_ids — the list of auth descriptors that can be used for authenticating

See Also

  • core.auth.get_first_allowed_auth_descriptor