method
add_authenticator

add_authenticator(auth_type, authenticator)
public
Adds an authenticator for Net::IMAP#authenticate. auth_type is the type of authentication this authenticator supports (for instance, "LOGIN"). The authenticator is an object which defines a process() method to handle authentication with the server. See Net::IMAP::LoginAuthenticator and Net::IMAP::CramMD5Authenticator for examples.
If auth_type refers to an existing authenticator, it will be replaced by the new one.