Class: Net::SMTP::AuthPlain
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Authenticator
|
|
Instance Chain:
self,
Authenticator
|
|
Inherits: |
Net::SMTP::Authenticator
|
Defined in: | lib/net/smtp/auth_plain.rb |
Class Method Summary
Authenticator
- Inherited
Instance Attribute Summary
Authenticator
- Inherited
Instance Method Summary
Constructor Details
This class inherits a constructor from Net::SMTP::Authenticator
Instance Method Details
#auth(user, secret)
[ GitHub ]# File 'lib/net/smtp/auth_plain.rb', line 5
def auth(user, secret) finish('AUTH PLAIN ' + base64_encode("\0#{user}\0#{secret}")) end