-
$cache
-
Instance of Cache_Lite
-
$cdh
-
Optional instance of Crypt_DiffieHellman
-
$cdh
-
The instance of Crypt_DiffieHellman. May be passed into the constructor if you want to use custom keys.
-
$checkAuthResponse
-
The check_authentication response
-
$clockSkew
-
How far off of the current time to allow for nonce checking
-
$clockSkew
-
The clock skew limit for checking nonces.
-
$clockSkew
-
Default clock skew, i.e. how long in the past we're willing to allow for.
-
$created
-
Unix timestamp of when this association was created.
-
checkAuthentication
-
Performs a check_authentication request.
-
checkMessageSignature
-
Checks the signature of an OpenID_Message using this association
-
count
-
Returns the number of service endpoints
-
createNonce
-
Creates a nonce, but does not store it. You may specify the lenth of the random string, as well as the time stamp to use.
-
createNonceAndStore
-
Creates a nonce and also stores it.
-
createTables
-
Creates tables
-
Common.php
-
-
CacheLite.php
-
-
get
-
Gets the value of any key in this message.
-
get
-
Gets a key's value
-
getAlgorithm
-
Gets the algo part of the assoc_type (strips 'HMAC-')
-
getArrayFormat
-
Gets the current message in ARRAY format
-
getAssertionMethod
-
Gets the method used to verify the assertion
-
getAssertionObject
-
Gets an instance of OpenID_Assertion. Abstracted for testing purposes.
-
getAssociation
-
Gets an association from the SQL server
-
getAssociation
-
Gets an OpenID_Assocation instance from storage
-
getAssociation
-
Gets an association from cache if it exists, otherwise, creates one.
-
getAssociation
-
Gets an OpenID_Assocation instance from storage
-
getAssociationRequestObject
-
Gets a new OpenID_Association_Request object. Abstracted for testing.
-
getAssociationType
-
Gets the current association type
-
getAuthorizeURL
-
Gets the auth request message in a URL format suitable for redirection. The decision about whether to use directed identity or not id done here.
-
getCheckAuthResponse
-
Gets the check_authentication response
-
getDH
-
Gets an instance of OpenID_Association_DiffieHellman. If one is not already instanciated, a new one is returned.
-
getDiscover
-
Gets an OpenID_Discover object from storage
-
getDiscover
-
Gets an instance of OpenID_Discover. Abstracted for testing.
-
getDiscover
-
Gets an instance of OpenID_Discover from the SQL server if it exists.
-
getDiscover
-
Gets discovered information from cache if it exists, otherwise performs discovery.
-
getDiscover
-
Static helper method for retrieving discovered information from cache if it exists, otherwise executing discovery and storing results if they are positive.
-
getDiscover
-
Gets an OpenID_Discover object from storage
-
getDiscoverCacheKey
-
Common method for creating a cache key based on the normalized identifier
-
getEndpointURL
-
Gets the OP Endpoint URL
-
getEvents
-
Gets the current array of events
-
getExpiresHeader
-
Gets the Expires header from the response object
-
getExpiresHeader
-
Gets the Expires header value
-
getHTTPFormat
-
Gets the current message in HTTP (url encoded) format
-
getHTTPRequest2
-
Instantiates HTTP_Request2. Abstracted for testing.
-
getHTTPRequest2Instance
-
Instantiates HTTP_Request2. Abstracted for testing.
-
getIdentifier
-
Returns the user-supplied identifier
-
getIterator
-
Returns an ArrayIterator object to traverse the services array
-
getKVFormat
-
Gets the current message in KV format
-
getLastEvent
-
Gets the last event
-
getLocalID
-
Returns the local ID
-
getMessage
-
Gets the message in one of three formats:
-
getMessageForSigning
-
Returns a KV formatted message for signing based on the contents of the openid.signed key. This allows for duplicate entries, which OpenID_Message::getKVFormat() doesn't. (Yahoo! uses duplicates)
-
getMode
-
Gets the current openid.mode value
-
getNamespace
-
Gets the namespace of this extension
-
getNonce
-
Gets a nonce from the SQL server if it exists
-
getNonce
-
Gets a nonce from storage
-
getNonce
-
Gets the OpenID_Nonce instance if set, otherwise instantiates one.
-
getNonce
-
Gets a nonce from storage
-
getNonceCacheKey
-
Common method for creating a nonce key based on both the nonce and the OP endpoint URL
-
getResponse
-
Gets the last association response
-
getServicesYadis
-
Gets the Services_Yadis instance. Abstracted for testing.
-
getSessionType
-
Gets the current session type
-
getSharedSecret
-
Gets the shared secret out of a response
-
getSharedSecretKey
-
Gets the shared secret key in BTWOC format. Computes the key if it has not been computed already.
-
getSource
-
Returns the discovery source
-
getStore
-
Gets the OpenID_Store_Interface instance. If none has been set, then the default store is used (CacheLite).
-
getTypes
-
Returns the service types
-
getURIs
-
Returns the URIs for this endpoint
-
getUserSetupURL
-
Returns the openid.user_setup_url value from the response
-
getVersion
-
Returns the OpenID protocol version this endpoint supports
-
getXRIGlobalSymbols
-
Returns an array of the 5 XRI globals symbols
-
$observers
-
Array of attached observers
-
$opEndpointURL
-
OpenID provider endpoint URL
-
$opEndpointURL
-
The OP Endoint URL a nonce is associated with
-
offsetExists
-
Checks to see if the offset exists in the services array
-
offsetGet
-
Returns the value of the services array at the specified offset
-
offsetSet
-
Sets a value in the services array
-
offsetUnset
-
Removes a particular offset in the services array
-
OpenID
-
OpenID
-
OpenID.php
-
-
OpenID_Assertion
-
Class for verifying assertions. Does basic validation (nonce, return_to, etc), as well as signature verification and check_authentication.
-
OpenID_Assertion_Exception
-
OpenID_Assertion_Exception
-
OpenID_Assertion_Exception_NoClaimedID
-
Identify cases where a claimed id is not present.
-
OpenID_Assertion_Result
-
A class that represents the result of verifying an assertion.
-
OpenID_Association
-
OpenID_Association
-
OpenID_Association_DiffieHellman
-
OpenID_Association_DiffieHellman
-
OpenID_Association_Exception
-
OpenID_Association_Exception
-
OpenID_Association_Request
-
OpenID_Association_Request
-
OpenID_Auth_Exception
-
OpenID_Auth_Exception
-
OpenID_Auth_Request
-
Creates an OpenID authorization request of type "checkid_setup" or "checkid_immediate".
-
OpenID_Discover
-
OpenID_Discover
-
OpenID_Discover_Exception
-
OpenID_Discover_Exception
-
OpenID_Discover_HTML
-
Implements HTML discovery
-
OpenID_Discover_Interface
-
Describes the discovery driver interface
-
OpenID_Discover_Yadis
-
Implements YADIS discovery
-
OpenID_Exception
-
OpenID_Exception
-
OpenID_Extension
-
OpenID_Extension
-
OpenID_Extension_AX
-
Support for the AX extension
-
OpenID_Extension_Exception
-
OpenID_Extension_Exception
-
OpenID_Extension_SREG10
-
-
OpenID_Extension_SREG11
-
Implementation of the Simple Registration Extension, version 1.1 Draft 1.
-
OpenID_Extension_UI
-
Provides support for the UI extension
-
OpenID_Message
-
OpenID_Message
-
OpenID_Message_Exception
-
OpenID_Message_Exception
-
OpenID_Nonce
-
Handles nonce functionality. Requires the OP Endpoint URL nonces are to be associated with.
-
OpenID_Observer_Common
-
Allows for observers to listen in to key events. The most common use case is for logging. To use OpenID_Observe_Log, for example you could do this:
-
OpenID_Observer_Log
-
An observer based on PEAR's Log package. You may either pass in your own Log instance to the constructor, or allow the default file driver to write to /tmp/OpenID_Observer_Log.log by default.
-
OpenID_RelyingParty
-
OpenID_RelyingParty
-
OpenID_ServiceEndpoint
-
OpenID_ServiceEndpoint
-
OpenID_ServiceEndpoints
-
OpenID_ServiceEndpoints
-
OpenID_Store
-
Provides a factory for creating storage classes.
-
OpenID_Store_CacheLite
-
PEAR Cache_Lite driver for storage. This is the default driver used.
-
OpenID_Store_Exception
-
OpenID_Store_Exception
-
OpenID_Store_Interface
-
Defines the OpenID storage interface.
-
OpenID_Store_MDB2
-
A first pass at SQL support via MDB2. This may have some MySQL specific things so it might get refactored a bit to support other DBs.
-
$serviceEndpoint
-
The OP Endpoint we are communicating with
-
$services
-
Instance of OpenID_ServiceEndpoints
-
$sharedKeyComputed
-
Whether or not the sharedSecretKey has been computed or not
-
$sharedSecret
-
In the association response, this is also referred to as the "mac_key", or is derived from the "enc_mac_key" if the session used encryption.
-
$source
-
The source of discovery
-
$store
-
Instance of OpenID_Store_Interface
-
$storeDirectories
-
Sub-directory storage for each type of store
-
$supportedTypes
-
Local list of supported association types.
-
$supportedTypes
-
List of supported discover types
-
SREG10.php
-
-
SREG11.php
-
-
ServiceEndpoint.php
-
-
ServiceEndpoints.php
-
-
Store.php
-
-
sendAssociationRequest
-
Actually sends the assocition request to the OP Endpoing URL.
-
sendRequest
-
Sends the request via HTTP_Request2
-
SERVICE_1_0_SIGNON
-
-
SERVICE_1_1_SIGNON
-
-
SERVICE_2_0_SERVER
-
-
SERVICE_2_0_SIGNON
-
-
SESSION_TYPE_DH_SHA1
-
-
SESSION_TYPE_DH_SHA256
-
-
SESSION_TYPE_NO_ENCRYPTION
-
-
set
-
Sets a key value pair
-
set
-
Adds mode checking to set()
-
set
-
Adds some validation checking when setting a key, then calls the parent set()
-
set
-
Sets a message key value.
-
setAssertionMethod
-
Sets the assertion method used to verify the assertion
-
setAssertionResult
-
Sets the result of verifying the assertion.
-
setAssociation
-
Sets an association in the SQL server
-
setAssociation
-
Stores an OpenID_Association instance. Details (such as endpoint url and expiration) are retrieved from the object itself.
-
setAssociation
-
Stores an OpenID_Association instance. Details (such as endpoint url and exiration) are retrieved from the object itself.
-
setAssociationType
-
Sets he association type for the request. Can be sha1 or sha256.
-
setCheckAuthResponse
-
Sets the check_authentication response in the form of an OpenID_Message instance
-
setClockSkew
-
Sets the clock skew for nonce checking
-
setDiscover
-
Stores an instance of OpenID_Discover
-
setDiscover
-
Stores an instance of OpenID_Discover
-
setDiscover
-
Adds discoverd infomation to the SQL server
-
setEvents
-
Sets a custom array of events to act upon
-
setExpiresHeader
-
Sets the Expires header value
-
setIdentifier
-
Sets the user-supplied indentifier
-
setLastEvent
-
Sets the last event and notifies the observers
-
setLocalID
-
Sets the local ID
-
setMessage
-
Sets message contents. Wipes out any existing message contents. Default source format is Array, but you can also use KV and HTTP formats.
-
setMode
-
Sets the openid.mode parameter. Can be either "checkid_setup" or "checkid_immediate"
-
setNonce
-
Stores a nonce for an OP endpoint URL
-
setNonce
-
Sets the instance of OpenID_Nonce for use with 1.1 return_to nonces
-
setNonce
-
Sets a nonce in the SQL server
-
setNonce
-
Stores a nonce for an OP endpoint URL
-
setOptions
-
Sets options for Cache_Lite based on the needs of the current method.
-
setRequestOptions
-
Sets the HTTP_Request2 options to use
-
setSessionType
-
Sets the session type. Can be sha1, sha256, or no-encryption
-
setSource
-
Sets the source of discovery
-
setStore
-
Sets a custom OpenID_Store_Interface object
-
setTypes
-
Sets the service type
-
setURIs
-
Sets the endpoint URIs
-
setUserSetupURL
-
Sets the openid.user_setup_url from the OP negative response
-
setVersion
-
Sets the OpenID protocol version this endpoint supports
-
signMessage
-
Signs an OpenID_Message instance
-
success
-
Indicates if the assertion was successful (positive) or not (negative)
-
$validFormats
-
-
$validModes
-
Valid modes for AX requests/responses
-
$validModes
-
Valid modes (only 'popup' so far)
-
$values
-
values
-
$version
-
Version of OpenID in use. This determines which algorithms we can use.
-
$version
-
The version of the OpenID protocol this endpoint supports
-
$versionMap
-
A map of which service types (versions) map to which protocol version. 1.0 is mapped to 1.1. This is mostly helpful to see if openid.ns is supported.
-
validate
-
Validates the syntax of a nonce, as well as checks to see if its timestamp is within the allowed clock skew
-
validateDiscover
-
Validates and performs discovery on the openid.claimed_id paramter.
-
validateNonce
-
Validates the openid.response_nonce parameter.
-
validateReturnTo
-
Validates the openid.return_to parameter in the response.
-
validateReturnToNonce
-
Validates the nonce embedded in the openid.return_to paramater and deletes it from storage.. (For use with OpenID 1.1 only)
-
verify
-
Verifies an assertion response from the OP. If the openid.mode is error, an exception is thrown.
-
verifyResponseNonce
-
Checks to see if the response nonce has been seen before. If not, store it and then validate its syntax
-
verifySignature
-
Verifies the signature of this message association.
-
__construct
-
Optionally instanciates this object with the contents of an OpenID message.
-
__construct
-
Calls MDB2::factory(). Connections are lazy loaded upon queries.
-
__construct
-
Allows you to pass in a Log instance and an array of events to log. If no instance of Log is given, the 'file' Log driver will be used, and write to /tmp/OpenID_Observer_Log.log.
-
__construct
-
Sets the OP endpoint URL, and optionally the clock skew and custom storage driver.
-
__construct
-
Sets the identifier, returnTo, and realm to be used for messages. The identifier is normalized before being set.
-
__construct
-
Sets the user-supplied identifier and adds a service if one is passed
-
__construct
-
Sets the basic information used in the message.
-
__construct
-
Sets the arguments passed in, as well as creates the request message.
-
__construct
-
Constructor. Sets the user supplied identifier.
-
__construct
-
Constructor. Sets the
-
__construct
-
Instantiate Cache_Lite. Allows for options to be passed to Cache_Lite.
-
__construct
-
Validates some association values before setting them as member variables.
-
__construct
-
Sets the instance of OpenID_Message being used, and also an optional instance of Crypt_DiffieHellman
-
__construct
-
Constructor. Enables libxml internal errors, normalized the identifier.
-
__construct
-
Sets the request message, url, and clock skew. Then does some basic validation (return_to, nonce, discover).
-
__construct
-
Sets the message type, request or response
-
__get
-
Gets member variables
-
__get
-
Allows access to association data via $assoc->name