def []=(url,auth)
      # normalize the url
      url = URI(url)

      # normalize the URL path
      path = URI.expand_path(url.path)

      key = [url.scheme, url.host, url.port]

      @credentials[key] ||= {}
      @credentials[key][path.split('/')] = auth
      return auth
    end
def []=(url,auth)
      # normalize the url
      url = URI(url)

      # normalize the URL path
      path = URI.expand_path(url.path)

      key = [url.scheme, url.host, url.port]

      @credentials[key] ||= {}
      @credentials[key][path.split('/')] = auth
      return auth
    end
Add an auth credential to the store for supplied base URL.

 @param [URI] url
   A URL pattern to associate with a set of auth credentials.

 @param [AuthCredential] auth
   The auth credential for this URL pattern.

 @return [AuthCredential]
   The newly added auth credential.

 @since 0.2.2