module ActionHook::Security::Headers
Public Instance Methods
headers_with_security(configuration)
click to toggle source
# File lib/actionhook/security/headers.rb, line 8 def headers_with_security(configuration) headers_with_security = headers.dup if digest = fingerprint headers_with_security.merge!(configuration.hash_header_name => digest) end headers_with_security.merge!(authentication.to_h) if authentication headers_with_security end