delete_expired_auth_descriptors
function delete_expired_auth_descriptors(account: account): set<immutable_mirror_struct<account_auth_descriptor>>(source)
Deletes all expired auth descriptors associated with an account.
Can only be called from an operation.
Throws if the rules to any of the auth descriptors associated with the account have invalid rules.
Throws if the main auth descriptor for the account has expired. This should never happen, as main auth descriptors with rules cannot be added via FT4.
Parameters
account
the account to clean up
See also
account_auth_descriptor. rules
for the list of valid GTV representations of rules.