Class: SASL::Anonymous

Inherits:
Mechanism show all
Defined in:
lib/sasl/anonymous.rb

Overview

SASL ANONYMOUS where you only send a username that may not get evaluated by the server.

RFC 4505: tools.ietf.org/html/rfc4505

Instance Attribute Summary

Attributes inherited from Mechanism

#mechanism, #preferences

Instance Method Summary collapse

Methods inherited from Mechanism

#failure?, #initialize, #receive, #success?

Constructor Details

This class inherits a constructor from SASL::Mechanism

Instance Method Details

#startObject



9
10
11
12
# File 'lib/sasl/anonymous.rb', line 9

def start
  @state = nil
  ['auth', preferences.username.to_s]
end