is_auth_descriptor_valid

@mount("ft4.is_auth_descriptor_valid") query is_auth_descriptor_valid(account_id: byte_array, auth_descriptor_id: byte_array): boolean(source)

Checks if the specified auth descriptor is valid for the specified account. By valid, it is meant that none of the rules of the auth descriptor has been violated yet.

Due to the nature of the available rules, a truthy response of this query should be considered as valid only at the point of calling the query and might have changed between the time of calling this query and the time when the auth descriptor is actually used.

Parameters

account_id

the id of the account to check auth descriptor against

auth_descriptor_id

the id of the auth descriptor to check