Class: Doorkeeper::Grape::AuthorizationDecorator
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Doorkeeper::Grape::AuthorizationDecorator
- Defined in:
- lib/doorkeeper/grape/authorization_decorator.rb
Instance Method Summary collapse
Instance Method Details
#authorization ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/doorkeeper/grape/authorization_decorator.rb', line 10 def env = __getobj__.env env["HTTP_AUTHORIZATION"] || env["X-HTTP_AUTHORIZATION"] || env["X_HTTP_AUTHORIZATION"] || env["REDIRECT_X_HTTP_AUTHORIZATION"] end |
#parameters ⇒ Object
6 7 8 |
# File 'lib/doorkeeper/grape/authorization_decorator.rb', line 6 def parameters params end |