Class: AMQP::AuthMechanismAdapter::External
- Inherits:
-
AMQP::AuthMechanismAdapter
- Object
- AMQP::AuthMechanismAdapter
- AMQP::AuthMechanismAdapter::External
- Defined in:
- lib/amqp/auth_mechanism_adapter/external.rb
Overview
Manages the encoding of credentials for the EXTERNAL authentication mechanism.
Instance Attribute Summary
Attributes inherited from AMQP::AuthMechanismAdapter
Instance Method Summary collapse
-
#encode_credentials(username, password) ⇒ String
Encodes a username and password for the EXTERNAL mechanism.
Methods inherited from AMQP::AuthMechanismAdapter
Instance Method Details
#encode_credentials(username, password) ⇒ String
Encodes a username and password for the EXTERNAL mechanism. Since authentication is handled by an encapsulating protocol like SSL or UNIX domain sockets, EXTERNAL doesn’t pass along any username or password information at all and this method always returns the empty string.
23 24 25 |
# File 'lib/amqp/auth_mechanism_adapter/external.rb', line 23 def encode_credentials(username, password) "" end |