2014-02-13 17:18:16 -05:00
|
|
|
package com.fsck.k9.mail;
|
|
|
|
|
|
|
|
public enum AuthType {
|
|
|
|
/*
|
2014-02-10 16:38:13 -05:00
|
|
|
* The names of these authentication types are saved as strings when
|
|
|
|
* settings are exported and are also saved as part of the Server URI stored
|
|
|
|
* in the account settings.
|
|
|
|
*
|
|
|
|
* PLAIN and CRAM_MD5 originally referred to specific SASL authentication
|
|
|
|
* mechanisms. Their meaning has since been broadened to mean authentication
|
|
|
|
* with unencrypted and encrypted passwords, respectively. Nonetheless,
|
|
|
|
* their original names have been retained for backward compatibility with
|
|
|
|
* user settings.
|
2014-02-13 17:18:16 -05:00
|
|
|
*/
|
2014-12-17 13:37:18 -05:00
|
|
|
PLAIN,
|
|
|
|
CRAM_MD5,
|
|
|
|
EXTERNAL,
|
2014-05-25 16:45:14 -04:00
|
|
|
|
2014-02-10 16:38:13 -05:00
|
|
|
/*
|
|
|
|
* The following are obsolete authentication settings that were used with
|
|
|
|
* SMTP. They are no longer presented to the user as options, but they may
|
|
|
|
* still exist in a user's settings from a previous version or may be found
|
|
|
|
* when importing settings.
|
|
|
|
*/
|
2014-12-17 13:37:18 -05:00
|
|
|
AUTOMATIC,
|
|
|
|
LOGIN
|
2014-02-13 17:18:16 -05:00
|
|
|
}
|