Class: Simple::OAuth2::Resource::Bearer
- Inherits:
-
Object
- Object
- Simple::OAuth2::Resource::Bearer
- Defined in:
- lib/simple_oauth2/resource/bearer.rb
Overview
OAuth2 middleware Protected Resource Endpoint
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ Bearer
constructor
A new instance of Bearer.
Constructor Details
#initialize(app) ⇒ Bearer
Returns a new instance of Bearer.
6 7 8 |
# File 'lib/simple_oauth2/resource/bearer.rb', line 6 def initialize(app) @app = app end |