Class: Aliyun::OSS::Authentication::Header

Inherits:
Signature show all
Defined in:
lib/aliyun/oss/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/aliyun/oss/authentication.rb', line 93

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