Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Net
/
IMAP
/
//proc/self/root/proc/self/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/Net/IMAP/authenticate-i.ri
U:RDoc::AnyMethod[iI"authenticate:ETI"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 the 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"HFor both of these mechanisms, there should be two +args+: username ;TI"Jand (cleartext) password. A server may not support one or the 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