Module: Groat::SMTPD::Extensions::Authentication::ClassMethods
- Defined in:
- lib/groat/smtpd/extensions/authentication.rb
Instance Method Summary collapse
Instance Method Details
#auth_mechanism(name, method, condition = nil) ⇒ Object
28 29 30 31 32 |
# File 'lib/groat/smtpd/extensions/authentication.rb', line 28 def auth_mechanism(name, method, condition = nil) sym = name.to_s.upcase.intern auth_mechanisms[sym] = {} unless auth_mechanisms.has_key? sym auth_mechanisms[sym] = {:method => method, :condition => condition} end |