Skip to content

Commit

Permalink
🚧 touch up Authenticator
Browse files Browse the repository at this point in the history
  • Loading branch information
nevans committed Dec 1, 2022
1 parent dcf5704 commit 87a0365
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/net/imap/sasl/authenticator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ module SASL
# * +scram_sha1_salted_passwords+, +scram_sha256_salted_password+ ---
# Salted password(s) (with salt and iteration count) for the +SCRAM-*+
# mechanism family. <tt>[salt, iterations, pbkdf2_hmac]</tt> tuple.
# <em>(not implemented yet...)</em>
# * +passcode+ --- passcode for SecurID 2FA <em>(not implemented)</em>
# * +pin+ --- Personal Identification number, e.g. for SecurID 2FA
# <em>(not implemented)</em>
Expand Down Expand Up @@ -306,7 +307,7 @@ def initialize(*, **, &callback)
# See PlainAuthenticator or DigestMD5Authenticator for example
# authenticator implementations.
def process(server_challenge_string)
raise NoMethodError, "#{__method__} is defined by subclasses"
raise NotImplementedError, "#{__method__} is defined by subclasses"
end

# :call-seq:
Expand Down

0 comments on commit 87a0365

Please sign in to comment.