aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/com/libmailcore/AuthType.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/libmailcore/AuthType.java')
-rw-r--r--src/java/com/libmailcore/AuthType.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/java/com/libmailcore/AuthType.java b/src/java/com/libmailcore/AuthType.java
new file mode 100644
index 00000000..6394a4c7
--- /dev/null
+++ b/src/java/com/libmailcore/AuthType.java
@@ -0,0 +1,16 @@
+package com.libmailcore;
+
+/** Authentication type. */
+public class AuthType {
+ public static int AuthTypeSASLNone = 0;
+ public static int AuthTypeSASLCRAMMD5 = 1 << 0;
+ public static int AuthTypeSASLPlain = 1 << 1;
+ public static int AuthTypeSASLGSSAPI = 1 << 2;
+ public static int AuthTypeSASLDIGESTMD5 = 1 << 3;
+ public static int AuthTypeSASLLogin = 1 << 4;
+ public static int AuthTypeSASLSRP = 1 << 5;
+ public static int AuthTypeSASLNTLM = 1 << 6;
+ public static int AuthTypeSASLKerberosV4 = 1 << 7;
+ public static int AuthTypeXOAuth2 = 1 << 8;
+ public static int AuthTypeXOAuth2Outlook = 1 << 9;
+}