Class: MAuth::Rack::ResponseSigner
- Inherits:
-
Middleware
- Object
- Middleware
- MAuth::Rack::ResponseSigner
- Defined in:
- lib/mauth/rack.rb
Overview
signs outgoing responses
Instance Method Summary collapse
Methods inherited from Middleware
Constructor Details
This class inherits a constructor from MAuth::Middleware
Instance Method Details
#call(env) ⇒ Object
75 76 77 78 79 |
# File 'lib/mauth/rack.rb', line 75 def call(env) unsigned_response = @app.call(env) signed_response = mauth_client.signed(MAuth::Rack::Response.new(*unsigned_response)) signed_response.status_headers_body end |