Lines Matching refs:assoc
413 $assoc = $signatory->getAssociation($this->invalidate_handle,
415 if (!$assoc) {
652 function answer($assoc) argument
657 'expires_in' => sprintf('%d', $assoc->getExpiresIn()),
659 'assoc_handle' => $assoc->handle));
662 $this->session->answer($assoc->secret));
1326 $assoc = $this->getAssociation($assoc_handle, true);
1327 if (!$assoc) {
1333 return $assoc->checkMessageSignature($message);
1347 $assoc = $this->getAssociation($assoc_handle, false, false);
1348 if (!$assoc || ($assoc->getExpiresIn() <= 0)) {
1352 $assoc_type = ($assoc ? $assoc->assoc_type : 'HMAC-SHA1');
1354 if ($assoc && ($assoc->getExpiresIn() <= 0)) {
1358 $assoc = $this->createAssociation(true, $assoc_type);
1362 $assoc = $this->createAssociation(true);
1365 $signed_response->fields = $assoc->signMessage(
1381 $assoc = Auth_OpenID_Association::fromExpiresIn(
1390 $this->store->storeAssociation($key, $assoc);
1391 return $assoc;
1411 $assoc = $this->store->getAssociation($key, $assoc_handle);
1413 if (($assoc !== null) && ($assoc->getExpiresIn() <= 0)) {
1416 $assoc = null;
1420 return $assoc;
1728 $assoc = $this->signatory->createAssociation(false,
1730 return $request->answer($assoc);