class Restforce::Middleware::Authentication
def call(env)
def call(env) begin return authenticate! if force_authenticate?(env) @app.call(env) rescue Restforce::UnauthorizedError authenticate! @app.call(env) end end
def call(env) begin return authenticate! if force_authenticate?(env) @app.call(env) rescue Restforce::UnauthorizedError authenticate! @app.call(env) end end