Class: Net::SMTP::AuthLogin
- Inherits:
-
Authenticator
- Object
- Authenticator
- Net::SMTP::AuthLogin
- Defined in:
- lib/net/smtp/auth_login.rb
Instance Attribute Summary
Attributes inherited from Authenticator
Instance Method Summary collapse
Methods inherited from Authenticator
auth_class, auth_classes, auth_type, #base64_encode, check_args, #continue, #finish, #initialize
Constructor Details
This class inherits a constructor from Net::SMTP::Authenticator
Instance Method Details
#auth(user, secret) ⇒ Object
5 6 7 8 9 |
# File 'lib/net/smtp/auth_login.rb', line 5 def auth(user, secret) continue('AUTH LOGIN') continue(base64_encode(user)) finish(base64_encode(secret)) end |