コード例 #1
0
 private function _processPape(Auth_OpenID_PAPE_Request $papeRequest, $response)
 {
     if (($image = $this->user->getImage()) && @$_COOKIE['image']) {
         $cidSupportedPolicies = array(PAPE_AUTH_PHISHING_RESISTANT);
         if ($RPPreferredTypes = $papeRequest->preferredTypes($cidSupportedPolicies)) {
             $this->user->getLastLoginUtc();
             $papeResponse = new Auth_OpenID_PAPE_Response($cidSupportedPolicies, $this->user->getLastLoginUtc());
             $papeResponse->toMessage($response->fields);
         }
     }
 }