Class: Faraday::Credentials::Middleware
- Inherits:
-
Middleware
- Object
- Middleware
- Faraday::Credentials::Middleware
- Defined in:
- lib/firebase/admin/middleware/request/credentials.rb
Instance Method Summary collapse
Instance Method Details
#on_request(env) ⇒ Object
7 8 9 10 |
# File 'lib/firebase/admin/middleware/request/credentials.rb', line 7 def on_request(env) creds = [:credentials] creds.apply!(env[:request_headers]) end |