Class: Net::IMAP::SASL::AuthenticationIncomplete

Inherits:
AuthenticationFailed
  • Object
show all
Defined in:
lib/net/imap/sasl.rb

Overview

Indicates that authentication cannot proceed because one of the server’s ended authentication prematurely.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, message = "authentication ended prematurely") ⇒ AuthenticationIncomplete

Returns a new instance of AuthenticationIncomplete.



123
124
125
126
# File 'lib/net/imap/sasl.rb', line 123

def initialize(response, message = "authentication ended prematurely")
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

The success response from the server



121
122
123
# File 'lib/net/imap/sasl.rb', line 121

def response
  @response
end