OpenId/Extension.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_OpenId  
Version
$Id$  

\Zend_OpenId_Extension

Package: Zend_OpenId
Abstract extension class for Zend_OpenId
Children
\Zend_OpenId_Extension_Sreg
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpubliccheckTrustData(array $data) : bool

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

Parameters
NameTypeDescription
$dataarray

data from tusted servers database

Returns
TypeDescription
bool
methodpublicforAll(mixed $extensions, string $func,  $params) : bool
static

Calls given function with given argument for all extensions

Parameters
NameTypeDescription
$extensionsmixed

list of extensions or one extension

$funcstring

function to be called

$params
Returns
TypeDescription
bool
methodpublicgetTrustData( $data) : bool

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

Parameters
NameTypeDescription
$data
Returns
TypeDescription
bool
methodpublicparseRequest(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.

Parameters
NameTypeDescription
$paramsarray

request's var/val pairs

Returns
TypeDescription
bool
methodpublicparseResponse(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.

Parameters
NameTypeDescription
$paramsarray

response's var/val pairs

Returns
TypeDescription
bool
methodpublicprepareRequest( $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.

Parameters
NameTypeDescription
$params
Returns
TypeDescription
bool
methodpublicprepareResponse( $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.

Parameters
NameTypeDescription
$params
Returns
TypeDescription
bool
Documentation was generated by phpDocumentor 2.2.0 .