Skip to content

Commit

Permalink
🏷️ Enforce client adapter type in auth exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
nevans committed Jun 30, 2024
1 parent b69c347 commit 4ba5f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/net/imap/sasl/authentication_exchange.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def self.build(client, mechanism, *args, sasl_ir: true, **kwargs, &block)
attr_reader :mechanism, :authenticator

def initialize(client, mechanism, authenticator, sasl_ir: true)
client => SASL::ClientAdapter
@client = client
@mechanism = Authenticators.normalize_name(mechanism)
@authenticator = authenticator
Expand Down

0 comments on commit 4ba5f94

Please sign in to comment.