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

Inherits:
Signature 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, #options, #request, #secret_access_key

Instance Method Summary collapse

Methods inherited from String

#previous, #previous!, #remove_extended, #remove_extended!, #tap, #to_header, #underscore, #valid_utf8?

Constructor Details

#initialize(*args) ⇒ Header

:nodoc:



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

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