class Azure::Core::Http::SignerFilter

A HttpFilter implementation that creates a authorization signature which is added to the request headers

Public Class Methods

new(signer) click to toggle source
# File lib/azure/core/http/signer_filter.rb, line 22
def initialize(signer)
  @signer = signer
end

Public Instance Methods

call(req, _next) click to toggle source
# File lib/azure/core/http/signer_filter.rb, line 26
def call(req, _next)
  @signer.sign_request(req)
  _next.call
end