Module: Cinch::SASL Private
- Defined in:
- lib/cinch/sasl.rb,
lib/cinch/sasl/plain.rb,
lib/cinch/sasl/mechanism.rb,
lib/cinch/sasl/dh_blowfish.rb,
lib/cinch/sasl/diffie_hellman.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Note:
All classes and modules in this module are for internal use by Cinch only.
SASL is a modern way of authentication in IRC, solving problems such as transmitting passwords as plain text (see the DH-BLOWFISH mechanism) and fully identifying before joining any channels.
Cinch automatically detects which mechanisms are supported by the IRC network and uses the best available one.
# Supported Mechanisms
# Configuration In order to use SASL one has to set the username and password options as follows:
configure do |c|
c.sasl.username = "foo"
c.sasl.password = "bar"
end
Defined Under Namespace
Classes: DhBlowfish, DiffieHellman, Mechanism, Plain