Model
SmtpAuthType
Magento\Email\Model\Config\Source\SmtpAuthType
What it does
This class provides authentication type options for SMTP email configuration in Magento 2.
It returns an array of available SMTP authentication methods (NONE, PLAIN, LOGIN) that are displayed in the admin panel when configuring email server settings.
Developers use this when customizing SMTP authentication options or extending email configuration functionality.
Public Methods
- toOptionArray()