I'm interested in checking whether a specific permissions has been passed to a method invocation (as opposed to
active) and have read one can use the
require_auth2 method but when I try it I get the following error:
error: use of undeclared identifier 'require_auth2'; did you mean 'eosio::internal_use_do_not_use::require_auth2'?
so clearly this is internal and not meant to be used. how do I accomplish my goal?