API Documentation

OpenId/Extension.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_OpenId
version
$Id: Extension.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_OpenId_Extension

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_OpenId_Extension

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_OpenId
Methods
forAll
prepareRequest
parseRequest
prepareResponse
parseResponse
getTrustData
checkTrustData

Description

Abstract extension class for Zend_OpenId

Methods

checkTrustData

checkTrustData( array $data ) : bool

Method to check if data from trusted servers database is enough to sutisfy request.

Arguments
$data
array
data from tusted servers database
Output
bool
Details
visibility
public
final
false
static
false

forAll

forAll( mixed $extensions, string $func, mixed $params ) : bool

Calls given function with given argument for all extensions

Arguments
$extensions
mixed
list of extensions or one extension
$func
string
function to be called
$params
mixed
&$params argument to pass to given funcion
Output
bool
Details
visibility
public
final
false
static
true

getTrustData

getTrustData( array $data ) : bool

Method to prepare data to store it in trusted servers database.

Arguments
$data
array
&$data data to be stored in tusted servers database
Output
bool
Details
visibility
public
final
false
static
false

parseRequest

parseRequest( array $params ) : bool

Method to parse OpenId 'checkid_immediate' or 'checkid_setup' request and initialize object with passed data. This method parses nothing but inherited class may override this method to do somthing.

Arguments
$params
array
request's var/val pairs
Output
bool
Details
visibility
public
final
false
static
false

parseResponse

parseResponse( array $params ) : bool

Method to parse OpenId 'id_res' response and initialize object with passed data. This method parses nothing but inherited class may override this method to do somthing.

Arguments
$params
array
response's var/val pairs
Output
bool
Details
visibility
public
final
false
static
false

prepareRequest

prepareRequest( array $params ) : bool

Method to add additional data to OpenId 'checkid_immediate' or 'checkid_setup' request. This method addes nothing but inherited class may add additional data into request.

Arguments
$params
array
&$params request's var/val pairs
Output
bool
Details
visibility
public
final
false
static
false

prepareResponse

prepareResponse( array $params ) : bool

Method to add additional data to OpenId 'id_res' response. This method addes nothing but inherited class may add additional data into response.

Arguments
$params
array
&$params response's var/val pairs
Output
bool
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.