class
Crabbit::PlainSaslAuthenticator
- Crabbit::PlainSaslAuthenticator
- Crabbit::SaslAuthenticator
- Reference
- Object
Overview
SASL PLAIN authenticator using a username and password.
Defined in:
crabbit/configuration.crConstructors
-
.new(username : String, password : String)
Creates a PLAIN authenticator.
Instance Method Summary
-
#initial_response : Bytes
Returns the PLAIN initial response containing the configured credentials.
-
#mechanism : String
Returns
"PLAIN".
Instance methods inherited from class Crabbit::SaslAuthenticator
challenge(data : Bytes) : Bytes
challenge,
initial_response : Bytes
initial_response,
mechanism : String
mechanism
Constructor Detail
Instance Method Detail
def initial_response : Bytes
#
Returns the PLAIN initial response containing the configured credentials.