Sha256: 4b963564464645e690ea3a99a702ce916cabae84bbc839d2fa945a1935919e2d

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

require 'rubysasl'

module RubyCyrusSASL
  class Client

    def initialize callback
      @callback = callback
      @complete = false
      @mech = nil
    end
    
    def start mech_list
      puts mech_list
      sasl_client_start mech_list
    end
    
    def step challenge
      sasl_client_step challenge
    end
    
    def mech
      @mech
    end
    
    def complete?
      @complete
    end

  end #class Client
end #module RubyCyrusSASL

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-cyrus-sasl-0.0.2 lib/ruby-cyrus-sasl/Client.rb
ruby-cyrus-sasl-0.0.1 lib/ruby-cyrus-sasl/Client.rb