Public Member Functions | Data Fields

Dope_OpenID Class Reference

Public Member Functions

 Dope_OpenID ($identity)
 __construct ($identity)
 setReturnURL ($url)
 setTrustRoot ($url)
 setCancelURL ($url)
 setRequiredInfo ($fields)
 setOptionalInfo ($fields)
 setPapePolicies ($policies)
 setPapeMaxAuthAge ($seconds)
 isError ()
 getError ()
 getOpenIDEndpoint ()
 redirect ()
 validateWithServer ()
 filterUserInfo ($arr_get)
 getRedirectURL ()

Data Fields

 $fields = array('required' => array(),'optional' => array())
 $arr_userinfo = array()

Detailed Description

This file is part of Dope OpenID. Author: Steve Love (http://www.stevelove.org)

Some code has been modified from Simple OpenID: http://www.phpclasses.org/browse/package/3290.html

Yadis Library provided by JanRain: http://www.openidenabled.com/php-openid/

Dope OpenID is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Dope OpenID is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Dope OpenID. If not, see <http://www.gnu.org/licenses/>.

Definition at line 35 of file class.dopeopenid.php.


Constructor & Destructor Documentation

__construct ( identity  ) 

Definition at line 72 of file class.dopeopenid.php.


Member Function Documentation

Dope_OpenID ( identity  ) 

Definition at line 66 of file class.dopeopenid.php.

filterUserInfo ( arr_get  ) 

Definition at line 283 of file class.dopeopenid.php.

getError (  ) 

Definition at line 155 of file class.dopeopenid.php.

getOpenIDEndpoint (  ) 

Definition at line 164 of file class.dopeopenid.php.

getRedirectURL (  ) 

Handle user attribute requests.

Definition at line 459 of file class.dopeopenid.php.

isError (  ) 

Definition at line 145 of file class.dopeopenid.php.

redirect (  ) 

Definition at line 211 of file class.dopeopenid.php.

setCancelURL ( url  ) 

Definition at line 98 of file class.dopeopenid.php.

setOptionalInfo ( fields  ) 

Definition at line 113 of file class.dopeopenid.php.

setPapeMaxAuthAge ( seconds  ) 

Definition at line 133 of file class.dopeopenid.php.

setPapePolicies ( policies  ) 

Definition at line 123 of file class.dopeopenid.php.

setRequiredInfo ( fields  ) 

Definition at line 103 of file class.dopeopenid.php.

setReturnURL ( url  ) 

Definition at line 88 of file class.dopeopenid.php.

setTrustRoot ( url  ) 

Definition at line 93 of file class.dopeopenid.php.

validateWithServer (  ) 

Definition at line 231 of file class.dopeopenid.php.


Field Documentation

$arr_userinfo = array()

Definition at line 39 of file class.dopeopenid.php.

$fields = array('required' => array(),'optional' => array())

Definition at line 37 of file class.dopeopenid.php.


The documentation for this class was generated from the following file: