OpenID_RelyingParty
OpenID_RelyingParty implements all the steps required to verify a claim in two step interface: prepare and verify.
prepare sets up the request, which includes performing discovery on the identifier, establishing an association with the OpenID Provider (optional), and then building an OpenID_Auth_Request object. With this object, you can optionally add OpenID_Extension(s), and then perform the request.
verify takes a Net_URL2 object as an argument, which represents the URL that the end user was redirected to after communicating with the the OpenID Provider. It processes the URL, and if it was a positive response from the OP, tries to verify that assertion.
Example:
Located in /OpenID/RelyingParty.php (line 105)
OpenID | --OpenID_RelyingParty
How far off of the current time to allow for nonce checking
The user supplied identifier, normalized
The URI used for the openid.realm paramater
The URI used for the openid.return_to parameter
Whether or not to use associations
Inherited from OpenID
OpenID::$lastEvent
OpenID::$observers
OpenID::$store
OpenID::$versionMap
Sets the identifier, returnTo, and realm to be used for messages. The identifier is normalized before being set.
Gets an instance of OpenID_Assertion. Abstracted for testing purposes.
Gets an association from cache if it exists, otherwise, creates one.
Gets a new OpenID_Association_Request object. Abstracted for testing.
Gets discovered information from cache if it exists, otherwise performs discovery.
Prepares an OpenID_Auth_Request and returns it. This process includes performing discovery and optionally creating an association before preparing the OpenID_Auth_Request object.
Sets the clock skew for nonce checking
Verifies an assertion response from the OP. If the openid.mode is error, an exception is thrown.
Inherited From OpenID
OpenID::attach()
OpenID::detach()
OpenID::directRequest()
OpenID::getHTTPRequest2Instance()
OpenID::getLastEvent()
OpenID::getStore()
OpenID::getXRIGlobalSymbols()
OpenID::normalizeIdentifier()
OpenID::notify()
OpenID::setLastEvent()
OpenID::setStore()
Inherited from OpenID
OpenID::ASSOC_TYPE_HMAC_SHA1
OpenID::ASSOC_TYPE_HMAC_SHA256
OpenID::HASH_ALGORITHM_1_1
OpenID::HASH_ALGORITHM_2_0
OpenID::MODE_ASSOCIATE
OpenID::MODE_CANCEL
OpenID::MODE_CHECKID_IMMEDIATE
OpenID::MODE_CHECKID_SETUP
OpenID::MODE_CHECK_AUTHENTICATION
OpenID::MODE_ERROR
OpenID::MODE_ID_RES
OpenID::MODE_SETUP_NEEDED
OpenID::NS_1_1
OpenID::NS_2_0
OpenID::NS_2_0_ID_SELECT
OpenID::SERVICE_1_0_SIGNON
OpenID::SERVICE_1_1_SIGNON
OpenID::SERVICE_2_0_SERVER
OpenID::SERVICE_2_0_SIGNON
OpenID::SESSION_TYPE_DH_SHA1
OpenID::SESSION_TYPE_DH_SHA256
OpenID::SESSION_TYPE_NO_ENCRYPTION
Documentation generated on Tue, 15 Dec 2009 19:00:57 -0800 by phpDocumentor 1.4.3