Class: Cinch::Configuration::SASL

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

Overview

Since:

  • 2.0.0

Constant Summary collapse

KnownOptions =

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


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

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