fromXRDS() 정적인 공개 메소드

* Parse the given document as XRDS looking for OpenID services.
static public fromXRDS ( $uri, $xrds_text )
예제 #1
0
 static function fromDiscoveryResult($discoveryResult)
 {
     if ($discoveryResult->isXRDS()) {
         return Auth_OpenID_ServiceEndpoint::fromXRDS($discoveryResult->normalized_uri, $discoveryResult->response_text);
     } else {
         return Auth_OpenID_ServiceEndpoint::fromHTML($discoveryResult->normalized_uri, $discoveryResult->response_text);
     }
 }