Method: Mongo::Auth::SaslConversationBase#start
- Defined in:
- lib/mongo/auth/sasl_conversation_base.rb
#start(connection) ⇒ Protocol::Message
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.
Start the SASL conversation. This returns the first message that needs to be sent to the server.
39 40 41 42 |
# File 'lib/mongo/auth/sasl_conversation_base.rb', line 39 def start(connection) selector = client_first_document (connection, user.auth_source, selector) end |