Class: Miasma::Contrib::RackspaceApiCore::Authenticate::Version2
- Inherits:
-
OpenStackApiCore::Authenticate::Version2
- Object
- OpenStackApiCore::Authenticate
- OpenStackApiCore::Authenticate::Version2
- Miasma::Contrib::RackspaceApiCore::Authenticate::Version2
- Defined in:
- lib/miasma/contrib/rackspace.rb
Overview
Authentication implementation compatible for v2
Instance Attribute Summary
Attributes inherited from OpenStackApiCore::Authenticate
Instance Method Summary collapse
-
#authentication_request ⇒ Smash
Authentication request body.
Methods inherited from OpenStackApiCore::Authenticate::Version2
Methods inherited from OpenStackApiCore::Authenticate
#api_token, #identity_and_load, #initialize, #service_catalog, #user
Constructor Details
This class inherits a constructor from Miasma::Contrib::OpenStackApiCore::Authenticate
Instance Method Details
#authentication_request ⇒ Smash
Returns authentication request body.
16 17 18 19 20 21 22 23 |
# File 'lib/miasma/contrib/rackspace.rb', line 16 def authentication_request Smash.new( 'RAX-KSKEY:apiKeyCredentials' => Smash.new( 'username' => credentials[:open_stack_username], 'apiKey' => credentials[:open_stack_token] ) ) end |