Class Auth_OpenID_GenericConsumer
This class is the interface to the OpenID consumer logic. Instances of it maintain no per-request state, so they can be reused (or even used by multiple threads concurrently) as needed.
Copyright: 2005-2008 Janrain, Inc.
License: Apache
Author: JanRain, Inc. openid@janrain.com
Located at zp-extensions/federated_logon/Auth/OpenID/Consumer.php
public
|
#
Auth_OpenID_GenericConsumer(
This method initializes a new |
public
|
#
begin( $service_endpoint )
Called to begin OpenID authentication using the specified
|
public
|
#
complete( $message, $endpoint, $return_to )
Given an |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
_idResGetNonceOpenID1( $message, $endpoint )
Extract the nonce from an OpenID 1 response. Return the nonce from the BARE_NS since we independently check the return_to arguments are the same as those in the response message. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public static
|
|
public
|
|
public
|
|
public
|
#
_extractSupportedAssociationType( $server_error, $endpoint, $assoc_type )
Handle ServerErrors resulting from association requests. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
_getOpenID1SessionType( $assoc_response )
Given an association response message, extract the OpenID 1.X session type. |
public
string
|
$discoverMethod
|
#
'Auth_OpenID_discover'
|
public
|
$store
This consumer's store object. |
|
public
|
$_use_assocs
|
|
public
string
|
$openid1_nonce_query_arg_name
|
#
'janrain_nonce'
|
public
string
|
$openid1_return_to_identifier_name
Another query parameter that gets added to the return_to for OpenID 1; if the user's session state is lost, use this claimed identifier to do discovery when verifying the response. |
#
'openid1_claimed_id'
|