    # File lib/fog/openstack.rb, line 155
        def self.retrieve_tokens_v2(connection, request_body, uri)
          response = connection.request({
            :expects  => [200, 204],
            :headers  => {'Content-Type' => 'application/json'},
            :body     => Fog::JSON.encode(request_body),
            :host     => uri.host,
            :method   => 'POST',
            :path     =>  (uri.path and not uri.path.empty?) ? uri.path : 'v2.0'
          })

          Fog::JSON.decode(response.body)
        end