Two-factor authentication is an essential user authentication method—so essential that Salesforce provides two types of two-factor authentication. Service-based—Also known as device activation, service-based two-factor authentication is automatically enabled for all orgs.