lib/frodo/concerns/authentication.rb
def password?
        options[:username] &&
          options[:password] &&
          options[:client_id] &&
          options[:tenant_id]
      end
# Internal: Returns true if oauth password grant
# should be used for authentication.
Returns true if oauth password grant
should be used for authentication.
Returns true if oauth password grant should be used for authentication .
def password?
        options[:username] &&
          options[:password] &&
          options[:client_id] &&
          options[:tenant_id]
      end
def password? options [ :username ] && options [ :password ] && options [ :client_id ] && options [ :tenant_id ] end
Internal: Returns true if oauth password grant
should be used for authentication.
Internal : Returns true if oauth password grant should be used for authentication .