ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 6681


Ignore:
Timestamp:
Apr 20, 2008, 8:26:17 PM (12 years ago)
Author:
ogawa
Message:

#1762:Auth_OpenID_ServerにendpointのURLも渡すよう変更

Location:
OpenPNE/branches/work/ogawa/openid/webapp/modules/openid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ogawa/openid/webapp/modules/openid/do/confirm.php

    r6675 r6681  
    2020        $req_url = $info->identity;
    2121
    22         $server =& new Auth_OpenID_Server(new Auth_OpenID_FileStore(OPENPNE_VAR_DIR . '/tmp'));
     22        $op_endpoint = openpne_gen_url('openid', 'page_auth', $requests);
     23        $server =& new Auth_OpenID_Server(new Auth_OpenID_FileStore(OPENPNE_VAR_DIR . '/tmp'), $op_endpoint);
    2324        $response =& $info->answer(true, null, $req_url);
    2425        $webresponse =& $server->encodeResponse($response);
  • OpenPNE/branches/work/ogawa/openid/webapp/modules/openid/page/auth.php

    r6675 r6681  
    1717    function execute($requests)
    1818    {
    19         $oserver =& new Auth_OpenID_Server(new Auth_OpenID_FileStore(OPENPNE_VAR_DIR . '/tmp'));
     19        $op_endpoint = openpne_gen_url('openid', 'page_auth', $requests);
     20        $oserver =& new Auth_OpenID_Server(new Auth_OpenID_FileStore(OPENPNE_VAR_DIR . '/tmp'), $op_endpoint);
    2021        $request = $oserver->decodeRequest();
    2122
Note: See TracChangeset for help on using the changeset viewer.