class Miasma::Contrib::RackspaceApiCore::Authenticate::Version2

Authentication implementation compatible for v2

Public Instance Methods

authentication_request() click to toggle source

@return [Smash] authentication request body

# 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