README.md in 3scale_client-2.4.2 vs README.md in 3scale_client-2.5.0.pre1

- old
+ new

@@ -4,13 +4,13 @@ [<img src="https://secure.travis-ci.org/3scale/3scale_ws_api_for_ruby.png?branch=master" alt="Build Status" />](http://travis-ci.org/3scale/3scale_ws_api_for_ruby) 3scale is an API Infrastructure service which handles API Keys, Rate Limiting, Analytics, Billing Payments and Developer Management. Includes a configurable API dashboard and developer portal CMS. More product stuff at http://www.3scale.net/, support information at http://support.3scale.net/. ### Tutorials -Plugin Setup: https://support.3scale.net/howtos/api-configuration/plugin-setup -Rate Limiting: https://support.3scale.net/howtos/basics/provision-rate-limits -Analytics Setup: https://support.3scale.net/quickstarts/3scale-api-analytics +Plugin Setup: https://support.3scale.net/howtos/api-configuration/plugin-setup +Rate Limiting: https://support.3scale.net/howtos/basics/provision-rate-limits +Analytics Setup: https://support.3scale.net/quickstarts/3scale-api-analytics ## Installation This library is distributed as a gem: ```sh @@ -250,7 +250,15 @@ human readable error description: ```ruby response.error_code # "provider_key_invalid" response.error_message # "provider key \"foo\" is invalid" -``` - +``` + + +## Rack Middleware + +You can use our Rack middleware to automatically authenticate your Rack applications. + +```ruby +use ThreeScale::Middleware, provider_key, :user_key # or :app_id +```