Lines Matching refs:to_match

1013         $to_match = new Auth_OpenID_ServiceEndpoint();
1014 $to_match->type_uris = array(Auth_OpenID_TYPE_1_1);
1015 $to_match->local_id = $message->getArg(Auth_OpenID_OPENID1_NS,
1019 $to_match->claimed_id = $claimed_id;
1021 if ($to_match->local_id === null) {
1026 $to_match_1_0 = $to_match->copy();
1030 $result = $this->_verifyDiscoverySingle($endpoint, $to_match);
1048 return $this->_discoverAndVerify($to_match->claimed_id,
1049 array($to_match, $to_match_1_0));
1055 function _verifyDiscoverySingle($endpoint, $to_match) argument
1059 foreach ($to_match->type_uris as $type_uri) {
1070 Auth_OpenID::urldefrag($to_match->claimed_id);
1079 if ($to_match->getLocalID() != $endpoint->getLocalID()) {
1082 $to_match->getLocalID(), $endpoint->getLocalID()));
1090 if ($to_match->server_url === null) {
1091 if ($to_match->preferredNamespace() != Auth_OpenID_OPENID1_NS) {
1095 } else if ($to_match->server_url != $endpoint->server_url) {
1098 $to_match->server_url, $endpoint->server_url));
1109 $to_match = new Auth_OpenID_ServiceEndpoint();
1110 $to_match->type_uris = array(Auth_OpenID_TYPE_2_0);
1111 $to_match->claimed_id = $message->getArg(Auth_OpenID_OPENID2_NS,
1114 $to_match->local_id = $message->getArg(Auth_OpenID_OPENID2_NS,
1117 $to_match->server_url = $message->getArg(Auth_OpenID_OPENID2_NS,
1120 if ($to_match->server_url === null) {
1127 if (($to_match->claimed_id === null) &&
1128 ($to_match->local_id !== null)) {
1133 if (($to_match->claimed_id !== null) &&
1134 ($to_match->local_id === null)) {
1139 if ($to_match->claimed_id === null) {
1144 $to_match->server_url);
1153 return $this->_discoverAndVerify($to_match->claimed_id,
1154 array($to_match));
1160 $result = $this->_verifyDiscoverySingle($endpoint, $to_match);
1163 $endpoint = $this->_discoverAndVerify($to_match->claimed_id,
1164 array($to_match));
1173 if ($endpoint->claimed_id != $to_match->claimed_id) {
1174 $endpoint->claimed_id = $to_match->claimed_id;