Class: Cinch::Configuration::SASL

Inherits:
Cinch::Configuration show all
Defined in:
lib/cinch/configuration/sasl.rb

Overview

Since:

  • 2.0.0

Constant Summary collapse

KNOWN_OPTIONS =

Since:

  • 2.0.0

[:username, :password, :mechanisms]

Class Method Summary collapse

Methods inherited from Cinch::Configuration

#[], #[]=, #initialize, #load, #load!, #to_h

Constructor Details

This class inherits a constructor from Cinch::Configuration

Class Method Details

.default_configObject

Since:

  • 2.0.0



12
13
14
15
16
17
18
# File 'lib/cinch/configuration/sasl.rb', line 12

def self.default_config
  {
    username: nil,
    password: nil,
    mechanisms: [Cinch::SASL::DhBlowfish, Cinch::SASL::Plain]
  }
end