Class: Aliyun::OSS::Authentication::Header
- 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
-
#initialize(*args) ⇒ Header
constructor
:nodoc:.
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 |