code: def parse_auth_response(auth_response):
          
  
          auth_dict = dict()
          LOG.debug('Authentication Headers %s', auth_response.headers)
          try:
              auth_dict['os_token'] = auth_response.headers['x-auth-token']
              auth_dict['storage_url'] = urlparse.urlparse(
                  auth_response.headers['x-storage-url']
              )
          except KeyError as exp:
              raise exceptions.AuthenticationProblem(
                  'No token was found in the authentication response. Please'
                  ' check your auth URL, your credentials, and your set auth'
                  ' version. Auth Headers: [ %s ] Error: [ %s ]',
                  auth_response.headers,
                  exp
              )
          else:
              return auth_dict
docs: Parse the auth response and return the tenant, token, and username.
  
          :param auth_response: the full object returned from an auth call
          :returns: ``dict``