Username based authorization, and wallet address based authorization. If you want to set failover with wallet based pools like dwarfpool (wallet based pool), you have to use wallet based authorization method.