Skip to content

Commit 8256979

Browse files
committed
🏷️ Enforce client adapter type in auth exchange
1 parent 7d99d4e commit 8256979

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/net/imap/sasl/authentication_exchange.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def self.build(client, mechanism, *args, sasl_ir: true, **kwargs, &block)
8181
attr_reader :mechanism, :authenticator
8282

8383
def initialize(client, mechanism, authenticator, sasl_ir: true)
84+
client => SASL::ClientAdapter
8485
@client = client
8586
@mechanism = Authenticators.normalize_name(mechanism)
8687
@authenticator = authenticator

0 commit comments

Comments
 (0)