Class: Net::IMAP::SASLCallback
- Inherits:
-
Object
- Object
- Net::IMAP::SASLCallback
- Includes:
- RubyCyrusSASL::Callback
- Defined in:
- lib/ruby-cyrus-sasl/imap.rb
Instance Method Summary collapse
- #authid(challenge, prompt, defresult) ⇒ Object
-
#initialize(user, password, authname) ⇒ SASLCallback
constructor
A new instance of SASLCallback.
- #password(challenge, prompt, defresult) ⇒ Object
- #userid(challenge, prompt, defresult) ⇒ Object
Methods included from RubyCyrusSASL::Callback
Constructor Details
#initialize(user, password, authname) ⇒ SASLCallback
10 11 12 13 14 |
# File 'lib/ruby-cyrus-sasl/imap.rb', line 10 def initialize user, password, authname @user = user @password = password @authname = authname end |
Instance Method Details
#authid(challenge, prompt, defresult) ⇒ Object
20 21 22 |
# File 'lib/ruby-cyrus-sasl/imap.rb', line 20 def authid challenge, prompt, defresult @authname end |
#password(challenge, prompt, defresult) ⇒ Object
16 17 18 |
# File 'lib/ruby-cyrus-sasl/imap.rb', line 16 def password challenge, prompt, defresult @password end |
#userid(challenge, prompt, defresult) ⇒ Object
24 25 26 |
# File 'lib/ruby-cyrus-sasl/imap.rb', line 24 def userid challenge, prompt, defresult @user end |