lib/mongo/auth/x509.rb
def login(connection)
        conversation = Conversation.new(user)
        reply = connection.dispatch([ conversation.start(connection) ])
        connection.update_cluster_time(Operation::Result.new(reply))
        conversation.finalize(reply, connection)
      end
# Log the user in on the given connection.
#
# @example Log the user in.
#   user.login(connection)
#
# @param [ Mongo::Connection ] connection The connection to log into.
#   on.
#
# @return [ Protocol::Message ] The authentication response.
#
# @since 2.0.0
Log the user in on the given connection.
Log the user in on the given connection .
def login(connection)
        conversation = Conversation.new(user)
        reply = connection.dispatch([ conversation.start(connection) ])
        connection.update_cluster_time(Operation::Result.new(reply))
        conversation.finalize(reply, connection)
      end
def login ( connection ) conversation = Conversation . new ( user ) reply = connection . dispatch ( [ conversation . start ( connection ) ] ) connection . update_cluster_time ( Operation :: Result . new ( reply ) ) conversation . finalize ( reply , connection ) end
Log the user in on the given connection.
Log the user in on the given connection .
The authentication response.
The authentication response .
 Protocol::Message 
connection
connection The connection to log into. on.
connection The connection to log into . on .
example
Log the user in. user.login(connection)
Log the user in . user . login ( connection )
since
None