module Restforce::Concerns::Authentication

def authenticate!

Public: Force an authentication
def authenticate!
  raise AuthenticationError, 'No authentication middleware present' unless authentication_middleware
  middleware = authentication_middleware.new nil, self, options
  middleware.authenticate!
end