Inheritances
Files
Overview
FRAMES
NO FRAMES

Class Zend_Auth_Adapter_OpenId

Zend_Auth
|-Zend_Auth_Zend_Auth_Adapter
|- class Zend_Auth_Adapter_OpenId implements Zend_Auth_Adapter_Interface
Defined in line 46 of file Auth/Adapter/OpenId.php.
A Zend_Auth Authentication Adapter allowing the use of OpenID protocol as an
authentication mechanism
CategoryZend
PackageZend_Auth
SubpackageZend_Auth_Adapter
CopyrightCopyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
Licensehttp://framework.zend.com/license/new-bsd New BSD License

Summary

Instance fields
- $_check_immediate Enables or disables interaction with user during authentication on
- $_extensions Extension object or array of extensions objects
- $_httpClient HTTP client to make HTTP requests
- $_id The identity value being authenticated
- $_response The response object to perform HTTP or HTML form redirection
- $_returnTo The URL to redirect response from server to
- $_root The HTTP URL to identify consumer on server
- $_storage Reference to an implementation of a storage object
Instance methods
+ __construct() Constructor
+ authenticate() Authenticates the given OpenId identity.
+ setCheckImmediate() Enables or disables interaction with user during authentication on
+ setExtensions() Sets OpenID extension(s)
+ setHttpClient() Sets HTTP client object to make HTTP requests
+ setIdentity() Sets the value to be used as the identity
+ setResponse() Sets an optional response object to perform HTTP or HTML form redirection
+ setReturnTo() Sets the HTTP URL to redirect response from server to
+ setRoot() Sets HTTP URL to identify consumer on server
+ setStorage() Sets the storage implementation which will be use by OpenId

Details

Instance fields

$_check_immediate
private $_check_immediate = false
Enables or disables interaction with user during authentication on
OpenID provider.
Var bool
$_extensions
private $_extensions = null
Extension object or array of extensions objects
Var string
$_httpClient
private $_httpClient = null
HTTP client to make HTTP requests
Var Zend_Http_Client $_httpClient
$_id
private $_id = null
The identity value being authenticated
Var string
$_response
private $_response = null
The response object to perform HTTP or HTML form redirection
$_returnTo
private $_returnTo = null
The URL to redirect response from server to
Var string
$_root
private $_root = null
The HTTP URL to identify consumer on server
Var string
$_storage
private $_storage = null
Reference to an implementation of a storage object

Instance methods

__construct()
public function __construct( $id = null
Zend_OpenId_Consumer_Storage $storage = null
$returnTo = null
$root = null
$extensions = null
Zend_Controller_Response_Abstract $response = null
)
Constructor
Parameters
string $id the identity value
Zend_OpenId_Consumer_Storage $storage
string $returnTo HTTP URL to redirect response from server to
string $root HTTP URL to identify consumer on server
mixed $extensions extension object or array of extensions objects
Zend_Controller_Response_Abstract $response
Returns void
authenticate()
public function authenticate( )
Authenticates the given OpenId identity.
Defined by Zend_Auth_Adapter_Interface.
Throws Zend_Auth_Adapter_Exception If answering the authentication query is impossible
setCheckImmediate()
public function setCheckImmediate( $check_immediate)
Enables or disables interaction with user during authentication on
OpenID provider.
Parameters
bool $check_immediate
Returns Zend_Auth_Adapter_OpenId Provides a fluent interface
setExtensions()
public function setExtensions( $extensions)
Sets OpenID extension(s)
Parameters
mixed $extensions
Returns Zend_Auth_Adapter_OpenId Provides a fluent interface
setHttpClient()
public function setHttpClient( $client)
Sets HTTP client object to make HTTP requests
Parameters
Zend_Http_Client $client HTTP client object to be used
setIdentity()
public function setIdentity( $id)
Sets the value to be used as the identity
Parameters
string $id the identity value
Returns Zend_Auth_Adapter_OpenId Provides a fluent interface
setResponse()
public function setResponse( $response)
Sets an optional response object to perform HTTP or HTML form redirection
Parameters
$response
Returns Zend_Auth_Adapter_OpenId Provides a fluent interface
setReturnTo()
public function setReturnTo( $returnTo)
Sets the HTTP URL to redirect response from server to
Parameters
string $returnTo
Returns Zend_Auth_Adapter_OpenId Provides a fluent interface
setRoot()
public function setRoot( $root)
Sets HTTP URL to identify consumer on server
Parameters
string $root
Returns Zend_Auth_Adapter_OpenId Provides a fluent interface
setStorage()
public function setStorage( Zend_OpenId_Consumer_Storage $storage)
Sets the storage implementation which will be use by OpenId
Parameters
Zend_OpenId_Consumer_Storage $storage
Returns Zend_Auth_Adapter_OpenId Provides a fluent interface