In Files

Parent

SASL::Preferences

You must derive from class Preferences and overwrite methods you want to implement.

Attributes

config[R]

Public Class Methods

new(config) click to toggle source

key in config hash authzid: Authorization identitiy (‘username@domain’ in XMPP) realm: Realm (‘domain’ in XMPP) digest-uri: : serv-type/serv-name | serv-type/host/serv-name (‘xmpp/domain’ in XMPP) username has_password? allow_plaintext? password want_anonymous?

# File lib/sasl/base.rb, line 20
def initialize (config)
  @config = {:has_password? => false, :allow_plaintext? => false, :want_anonymous? => false}.merge(config.dup)
end

Public Instance Methods

method_missing(sym, *args, &block) click to toggle source
# File lib/sasl/base.rb, line 23
def method_missing(sym, *args, &block)
  @config.send "[]", sym, &block
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.