Class: Nucleus::Adapters::V1::CloudControl::Token
- Inherits:
-
ExpiringTokenAuthClient
- Object
- AuthClient
- TokenAuthClient
- ExpiringTokenAuthClient
- Nucleus::Adapters::V1::CloudControl::Token
- Defined in:
- lib/nucleus/adapters/v1/cloud_control/token.rb
Overview
cloud control specific token, which requires a specific cc_auth_token
value in the Authorization
header.
Instance Attribute Summary
Attributes inherited from TokenAuthClient
Attributes inherited from AuthClient
Instance Method Summary collapse
Methods inherited from ExpiringTokenAuthClient
Methods inherited from TokenAuthClient
Methods inherited from AuthClient
#authenticate, #initialize, #refresh
Constructor Details
This class inherits a constructor from Nucleus::Adapters::ExpiringTokenAuthClient
Instance Method Details
#auth_header ⇒ Object
8 9 10 11 12 |
# File 'lib/nucleus/adapters/v1/cloud_control/token.rb', line 8 def auth_header # call super for error checks, but ignore returned header super { 'Authorization' => "cc_auth_token=\"#{api_token}\"" } end |