Method: Mongo::Auth::Base#user

Defined in:
lib/mongo/auth/base.rb

#userMongo::Auth::User (readonly)

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.

Returns The user to authenticate.

Returns:

Since:

  • 2.0.0



30
31
32
# File 'lib/mongo/auth/base.rb', line 30

def user
  @user
end