Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Net
/
IMAP
/
//opt/alt/ruby21/share/ri/2.1.0/system/Net/IMAP/authenticate-i.ri
U:RDoc::AnyMethod[iI"authenticate:EFI"Net::IMAP#authenticate;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"?Sends an AUTHENTICATE command to authenticate the client. ;TI";The +auth_type+ parameter is a string that represents ;TI"Bthe authentication mechanism to be used. Currently Net::IMAP ;TI"(supports authentication mechanisms:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"6LOGIN:: login using cleartext user and password. ;TI"ACRAM-MD5:: login with cleartext user and encrypted password ;TI"? (see [RFC-2195] for a full description). This ;TI"C mechanism requires that the server have the user's ;TI"8 password stored in clear-text password. ;T:@format0o; ; [ I"EFor both these mechanisms, there should be two +args+: username ;TI"Fand (cleartext) password. A server may not support one or other ;TI"Bof these mechanisms; check #capability() for a capability of ;TI".the form "AUTH=LOGIN" or "AUTH=CRAM-MD5".;T@o; ; [I"HAuthentication is done using the appropriate authenticator object: ;TI"Gsee @@authenticators for more information on plugging in your own ;TI"authenticator.;T@o; ; [I"For example:;T@o;; [I"0imap.authenticate('LOGIN', user, password) ;T; 0o; ; [I"DA Net::IMAP::NoResponseError is raised if authentication fails.;T: @fileI"lib/net/imap.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(auth_type, *args);T@-FI" IMAP;TcRDoc::NormalClass00