use constant for host auth type