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

source: OpenPNE/branches/work/ogawa/openid/webapp/modules/openid/page/server_confirm.php @ 6690

Last change on this file since 6690 was 6690, checked in by ogawa, 13 years ago

#1762:webapp/modules/openid/lib作成

File size: 549 bytes
Line 
1<?php
2/**
3 * @copyright 2005-2008 OpenPNE Project
4 * @license   http://www.php.net/license/3_01.txt PHP License 3.01
5 */
6
7class openid_page_server_confirm extends OpenPNE_Action
8{
9    function execute($requests)
10    {
11        if ($requests['id'] != $GLOBALS['AUTH']->uid()) {
12            openpne_redirect('openid', 'page_server_error');
13        }
14
15        $server =& openid_util_get_server($requests['id']);
16        $openid_request = $server->decodeRequest();
17        openid_util_set_session($openid_request);
18
19        return 'success';
20    }
21}
22
23?>
Note: See TracBrowser for help on using the repository browser.