Could you reuse your auth_types dictionary from above?