Method: Mongo::Auth::ScramConversationBase#initialize
- Defined in:
- lib/mongo/auth/scram_conversation_base.rb
#initialize(user, connection, client_nonce: nil) ⇒ ScramConversationBase
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create the new conversation.
38 39 40 41 |
# File 'lib/mongo/auth/scram_conversation_base.rb', line 38 def initialize(user, connection, client_nonce: nil) super @client_nonce = client_nonce || SecureRandom.base64 end |