Auth_OpenID_AssociateRequest 클래스 참조

Auth_OpenID_AssociateRequest에 대한 상속 다이어그램 :
Inheritance graph
Auth_OpenID_AssociateRequest에 대한 협력 다이어그램:
Collaboration graph

모든 멤버 목록

Public 멤버 함수

 Auth_OpenID_AssociateRequest (&$session)
 fromQuery ($query)
 answer ($assoc)

Public 속성

 $mode = "associate"
 $assoc_type = 'HMAC-SHA1'

상세한 설명

Server.php 파일의 478 번째 라인에서 정의되었습니다.


멤버 함수 문서화

Auth_OpenID_AssociateRequest::answer ( assoc  ) 

Server.php 파일의 520 번째 라인에서 정의되었습니다.

다음을 참조함 : Auth_OpenID_getMathLib().

00521     {
00522         $ml =& Auth_OpenID_getMathLib();
00523         $response = new Auth_OpenID_ServerResponse($this);
00524 
00525         $response->fields = array('expires_in' => $assoc->getExpiresIn(),
00526                                   'assoc_type' => 'HMAC-SHA1',
00527                                   'assoc_handle' => $assoc->handle);
00528 
00529         $r = $this->session->answer($assoc->secret);
00530         foreach ($r as $k => $v) {
00531             $response->fields[$k] = $v;
00532         }
00533 
00534         if ($this->session->session_type != 'plaintext') {
00535             $response->fields['session_type'] = $this->session->session_type;
00536         }
00537 
00538         return $response;
00539     }

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

Auth_OpenID_AssociateRequest::Auth_OpenID_AssociateRequest ( &$  session  ) 

Server.php 파일의 482 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : fromQuery().

00483     {
00484         $this->session =& $session;
00485     }

Auth_OpenID_AssociateRequest::fromQuery ( query  ) 

Server.php 파일의 487 번째 라인에서 정의되었습니다.

다음을 참조함 : $_Auth_OpenID_OpenID_Prefix, _isError(), Auth_OpenID_AssociateRequest(), null.

00488     {
00489         global $_Auth_OpenID_OpenID_Prefix;
00490 
00491         $session_classes = array(
00492                  'DH-SHA1' => 'Auth_OpenID_DiffieHellmanServerSession',
00493                  null => 'Auth_OpenID_PlainTextServerSession');
00494 
00495         $session_type = null;
00496 
00497         if (array_key_exists($_Auth_OpenID_OpenID_Prefix . 'session_type',
00498                              $query)) {
00499             $session_type = $query[$_Auth_OpenID_OpenID_Prefix .
00500                                    'session_type'];
00501         }
00502 
00503         if (!array_key_exists($session_type, $session_classes)) {
00504             return new Auth_OpenID_ServerError($query,
00505                                     "Unknown session type $session_type");
00506         }
00507 
00508         $session_cls = $session_classes[$session_type];
00509         $session = call_user_func_array(array($session_cls, 'fromQuery'),
00510                                         array($query));
00511 
00512         if (($session === null) || (_isError($session))) {
00513             return new Auth_OpenID_ServerError($query,
00514                                      "Error parsing $session_type session");
00515         }
00516 
00517         return new Auth_OpenID_AssociateRequest($session);
00518     }

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:


멤버 데이타 문서화

Auth_OpenID_AssociateRequest::$assoc_type = 'HMAC-SHA1'

Server.php 파일의 480 번째 라인에서 정의되었습니다.

Auth_OpenID_AssociateRequest::$mode = "associate"

Auth_OpenID_Request(으)로부터 재구현되었습니다.

Server.php 파일의 479 번째 라인에서 정의되었습니다.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.:

생성시간 : Wed Oct 28 22:59:43 2009, 프로젝트명 : XpressEngine, 생성자 :   doxygen 1.6.1