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 <a href="/ruby/Net/IMAP/LoginAuthenticator">Net::IMAP::LoginAuthenticator</a> and Net::IMAP::CramMD5Authenticator for examples.

If auth_type refers to an existing authenticator, it will be replaced by the new one.

Show source
Register or log in to add new notes.