<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -62,7 +62,7 @@ class YahooOAuthApplication
     $this-&gt;signature_method_hmac_sha1 = new OAuthSignatureMethod_HMAC_SHA1();
   }
 
-  public function getOpenIDUrl($return_to = false, $lang = 'en')
+  public function getOpenIDUrl($return_to = false, $lang = 'en', $openIdEndpoint = 'https://open.login.yahooapis.com/openid/op/auth')
   {
     $openid_request = array(
       'openid.ns'                =&gt; 'http://specs.openid.net/auth/2.0',
@@ -90,13 +90,7 @@ class YahooOAuthApplication
       'xopenid_lang_pref'        =&gt; $lang,
    );
 
-    return 'https://open.login.yahooapis.com/openid/op/auth?'.http_build_query($openid_request);
-  }
-
-
-  public function validateOpenID()
-  {
-
+    return $openIdEndpoint.'?'.http_build_query($openid_request);
   }
 
   public function getRequestToken($callback = &quot;oob&quot;)
@@ -273,7 +267,7 @@ class YahooOAuthApplication
     {
       $guid = $this-&gt;token-&gt;yahoo_guid;
     }
-    
+
     $url = sprintf(YahooOAuthClient::SOCIAL_API_URL.'/user/%s/contact/%s', $guid, $cid);
 	$parameters = array('format' =&gt; 'json');
 
@@ -309,7 +303,7 @@ class YahooOAuthApplication
     {
       $guid = $this-&gt;token-&gt;yahoo_guid;
     }
-    
+
     $url = sprintf(YahooOAuthClient::SOCIAL_API_URL.'/user/%s/contacts', $guid);
     $parameters = array('format' =&gt; 'json');
 
@@ -323,7 +317,7 @@ class YahooOAuthApplication
 
     return $http['response_body'];
   }
-  
+
   public function addContact($guid, $contact)
   {
     if($guid == null &amp;&amp; !is_null($this-&gt;token))</diff>
      <filename>lib/Yahoo/YahooOAuthApplication.class.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9a1eb560b0df8f458ab38abb3271730f26cb5909</id>
    </parent>
  </parents>
  <author>
    <name>Dustin Whittle</name>
    <email>dustin.whittle@gmail.com</email>
  </author>
  <url>http://github.com/yahoo/yos-social-php5/commit/e18f91668220b7edc710b00c84149f1b9132ba2d</url>
  <id>e18f91668220b7edc710b00c84149f1b9132ba2d</id>
  <committed-date>2009-10-12T17:45:24-07:00</committed-date>
  <authored-date>2009-10-12T17:43:04-07:00</authored-date>
  <message>made openid endpoint customizable to work with other providers</message>
  <tree>cafe91efba8a488cb2937cff8a99e0b7f649c90c</tree>
  <committer>
    <name>Yahoo!</name>
    <email>sadaf@yahoo-inc.com</email>
  </committer>
</commit>
