Class: AWS::S3::Authentication::Header

Inherits:
Signature
  • Object
show all
Defined in:
lib/aws/s3/authentication.rb

Overview

Provides header authentication by computing the value of the Authorization header. More details about the various authentication schemes can be found in the docs for its containing module, Authentication.

Instance Attribute Summary

Attributes inherited from Signature

#access_key_id, #current_host, #options, #request, #secret_access_key

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Header

:nodoc:



92
93
94
95
# File 'lib/aws/s3/authentication.rb', line 92

def initialize(*args)
  super
  self << "AWS #{access_key_id}:#{encoded_canonical}"
end