add_authenticator

add_authenticator(auth_type, authenticator)
Class Public methods

Adds an authenticator for #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, Net::IMAP::CramMD5Authenticator, and Net::IMAP::DigestMD5Authenticator for examples.

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

doc_ruby_on_rails
2015-04-21 23:05:48
Comments
Leave a Comment

Please login to continue.