Module: Rack::OAuth2::Rails
- Defined in:
- lib/rack/oauth2/rails.rb
Overview
Rails support.
Adds oauth instance method that returns Rack::OAuth2::Helper, see there for more details.
Adds oauth_required filter method. Use this filter with actions that require authentication, and with actions that require client to have a specific access scope.
Adds oauth setting you can use to configure the module (e.g. setting available scope, see example).
Defined Under Namespace
Modules: Configuration, Filters, Helpers