# Uses of Enum
org.apache.commons.net.imap.AuthenticatingIMAPClient.AUTH_METHOD

Packages that use AuthenticatingIMAPClient.AUTH_METHOD
Package
Description
org.apache.commons.net.imap
Basic IMAP and IMAPS support classes

- ## Uses of AuthenticatingIMAPClient.AUTH_METHOD in org.apache.commons.net.imap

  Methods in org.apache.commons.net.imap that return AuthenticatingIMAPClient.AUTH_METHOD
  Modifier and Type
  Method
  Description
  `static AuthenticatingIMAPClient.AUTH_METHOD`
  AuthenticatingIMAPClient.AUTH_METHOD.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static AuthenticatingIMAPClient.AUTH_METHOD[]`
  AuthenticatingIMAPClient.AUTH_METHOD.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in org.apache.commons.net.imap with parameters of type AuthenticatingIMAPClient.AUTH_METHOD
  Modifier and Type
  Method
  Description
  `boolean`
  AuthenticatingIMAPClient.`auth(AuthenticatingIMAPClient.AUTH_METHOD method, String user, String password)`
  Authenticate to the IMAP server by sending the AUTHENTICATE command with the selected mechanism, using the given user and the given password.
  `boolean`
  AuthenticatingIMAPClient.`authenticate(AuthenticatingIMAPClient.AUTH_METHOD method, String user, String password)`
  Authenticate to the IMAP server by sending the AUTHENTICATE command with the selected mechanism, using the given user and the given password.