module Restforce::Concerns::Authentication

def username_password?

authentication.
Internal: Returns true if username/password (autonomous) flow should be used for
def username_password?
  options[:username] &&
    options[:password] &&
    options[:client_id] &&
    options[:client_secret]
end