get_auth_details_from_auth_operation

function get_auth_details_from_auth_operation(): (account_id: byte_array, auth_descriptor_id: byte_array)?(source)

Retrieves the account and auth descriptor ID from the auth operation that precedes the current operation, if any. Returns null if no operation precedes the current one, or it is not an auth operation.

Can only be called from an operation.