Lines Matching refs:to_match

1070         $to_match = new Auth_OpenID_ServiceEndpoint();
1071 $to_match->type_uris = [Auth_OpenID_TYPE_1_1];
1072 $to_match->local_id = $message->getArg(Auth_OpenID_OPENID1_NS,
1076 $to_match->claimed_id = $claimed_id;
1078 if ($to_match->local_id === null) {
1083 $to_match_1_0 = $to_match->copy();
1087 $result = $this->_verifyDiscoverySingle($endpoint, $to_match);
1105 return $this->_discoverAndVerify($to_match->claimed_id,
1106 [$to_match, $to_match_1_0]);
1112 * @param Auth_OpenID_ServiceEndpoint $to_match
1115 function _verifyDiscoverySingle($endpoint, $to_match) argument
1119 foreach ($to_match->type_uris as $type_uri) {
1129 list($defragged_claimed_id) = Auth_OpenID::urldefrag($to_match->claimed_id);
1138 if ($to_match->getLocalID() != $endpoint->getLocalID()) {
1141 $to_match->getLocalID(), $endpoint->getLocalID()));
1149 if ($to_match->server_url === null) {
1150 if ($to_match->preferredNamespace() != Auth_OpenID_OPENID1_NS) {
1154 } else if ($to_match->server_url != $endpoint->server_url) {
1157 $to_match->server_url, $endpoint->server_url));
1171 $to_match = new Auth_OpenID_ServiceEndpoint();
1172 $to_match->type_uris = [Auth_OpenID_TYPE_2_0];
1173 $to_match->claimed_id = $message->getArg(Auth_OpenID_OPENID2_NS,
1176 $to_match->local_id = $message->getArg(Auth_OpenID_OPENID2_NS,
1179 $to_match->server_url = $message->getArg(Auth_OpenID_OPENID2_NS,
1182 if ($to_match->server_url === null) {
1189 if (($to_match->claimed_id === null) &&
1190 ($to_match->local_id !== null)) {
1195 if (($to_match->claimed_id !== null) &&
1196 ($to_match->local_id === null)) {
1201 if ($to_match->claimed_id === null) {
1206 $to_match->server_url);
1215 return $this->_discoverAndVerify($to_match->claimed_id,
1216 [$to_match]);
1222 $result = $this->_verifyDiscoverySingle($endpoint, $to_match);
1225 $endpoint = $this->_discoverAndVerify($to_match->claimed_id,
1226 [$to_match]);
1235 if ($endpoint->claimed_id != $to_match->claimed_id) {
1236 $endpoint->claimed_id = $to_match->claimed_id;