Class: HTTP::Auth0::Middleware
- Inherits:
-
Faraday::Middleware
- Object
- Faraday::Middleware
- HTTP::Auth0::Middleware
- Defined in:
- lib/http/auth0/middleware.rb
Overview
Request middleware for the Auth0 Authorization HTTP header
Constant Summary collapse
- KEY =
"Authorization"
Instance Method Summary collapse
-
#initialize(app) ⇒ Middleware
constructor
A new instance of Middleware.
- #on_request(env) ⇒ Object
Constructor Details
#initialize(app) ⇒ Middleware
13 14 15 |
# File 'lib/http/auth0/middleware.rb', line 13 def initialize(app) super(app) end |