pub fn assert_auth(
    factory_addr: &Addr,
    querier: &QuerierWrapper<'_, Empty>,
    addr: &Addr,
    check: AuthCheck
) -> Result<()>
Expand description

Ensure that the given address passes the specified AuthCheck.