module Restforce::Concerns::Authentication
def authenticate!
def authenticate! unless authentication_middleware raise AuthenticationError, 'No authentication middleware present' end middleware = authentication_middleware.new nil, self, options middleware.authenticate! end