Package OpenID
Auth_OpenID | The OpenID utility function class. |
Auth_OpenID_AlreadySigned | An error that indicates that a response was already signed. |
Auth_OpenID_AssociateRequest | A request to associate with the server. |
Auth_OpenID_Association | This class represents an association between a server and a
consumer. In general, users of this library will never see
instances of this object. The only exception is if you implement a
custom |
Auth_OpenID_AuthRequest | This class represents an authentication request from a consumer to an OpenID server. |
Auth_OpenID_AX | AX utility class. |
Auth_OpenID_AX_AttrInfo | Represents a single attribute in an attribute exchange request. This should be added to an AXRequest object in order to request the attribute. |
Auth_OpenID_AX_Error | Results from data that does not meet the attribute exchange 1.0 specification |
Auth_OpenID_AX_FetchRequest | An attribute exchange 'fetch_request' message. This message is sent by a relying party when it wishes to obtain attributes about the subject of an OpenID authentication request. |
Auth_OpenID_AX_FetchResponse | A fetch_response attribute exchange message. |
Auth_OpenID_AX_KeyValueMessage | An abstract class that implements a message that has attribute keys and values. It contains the common code between fetch_response and store_request. |
Auth_OpenID_AX_Message | Abstract class containing common code for attribute exchange messages. |
Auth_OpenID_AX_StoreRequest | A store request attribute exchange message representation. |
Auth_OpenID_AX_StoreResponse | An indication that the store request was processed along with this OpenID transaction. Use make(), NOT the constructor, to create response objects. |
Auth_OpenID_BcMathWrapper | Exposes BCmath math library functionality. |
Auth_OpenID_CancelResponse | A response with a status of Auth_OpenID_CANCEL. Indicates that the user cancelled the OpenID authentication request. This has two relevant attributes: |
Auth_OpenID_CheckAuthRequest | A request to verify the validity of a previous response. |
Auth_OpenID_CheckIDRequest | A request to confirm the identity of a user. |
Auth_OpenID_Consumer | An OpenID consumer implementation that performs discovery and does session management. See the Consumer.php file documentation for more information. |
Auth_OpenID_ConsumerResponse | The base class for responses from the Auth_OpenID_Consumer. |
Auth_OpenID_CryptUtil | |
Auth_OpenID_DatabaseConnection | An empty base class intended to emulate PEAR connection
functionality in applications that supply their own database
abstraction mechanisms. See |
Auth_OpenID_Decoder | Decode an incoming query into an Auth_OpenID_Request. |
Auth_OpenID_DiffieHellman | The Diffie-Hellman key exchange class. This class relies on
|
Auth_OpenID_DiffieHellmanSHA1ConsumerSession | A class implementing HMAC/DH-SHA1 consumer sessions. |
Auth_OpenID_DiffieHellmanSHA1ServerSession | A class implementing DH-SHA1 server sessions. |
Auth_OpenID_DiffieHellmanSHA256ConsumerSession | A class implementing HMAC/DH-SHA256 consumer sessions. |
Auth_OpenID_DiffieHellmanSHA256ServerSession | A class implementing DH-SHA256 server sessions. |
Auth_OpenID_DumbStore | This is a store for use in the worst case, when you have no way of saving state on the consumer site. Using this store makes the consumer vulnerable to replay attacks, as it's unable to use nonces. Avoid using this store if it is at all possible. |
Auth_OpenID_Encoder | Encode an |
Auth_OpenID_EncodingError | An error that indicates an encoding problem occurred. |
Auth_OpenID_Extension | A base class for accessing extension request and response data for the OpenID 2 protocol. |
Auth_OpenID_FailureResponse | A response with a status of Auth_OpenID_FAILURE. Indicates that the OpenID protocol has failed. This could be locally or remotely triggered. This has three relevant attributes: |
Auth_OpenID_FileStore | This is a filesystem-based store for OpenID associations and nonces. This store should be safe for use in concurrent systems on both windows and unix (excluding NFS filesystems). There are a couple race conditions in the system, but those failure cases have been set up in such a way that the worst-case behavior is someone having to try to log in a second time. |
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. |
Auth_OpenID_GmpMathWrapper | Exposes GMP math library functionality. |
Auth_OpenID_KVForm | Container for key-value/comma-newline OpenID format and parsing |
Auth_OpenID_MalformedReturnURL | An error indicating that the return_to URL is malformed. |
Auth_OpenID_MalformedTrustRoot | This error is returned when the trust_root value is malformed. |
Auth_OpenID_Mapping | An Auth_OpenID_Mapping maintains a mapping from arbitrary keys to arbitrary values. (This is unlike an ordinary PHP array, whose keys may be only simple scalars.) |
Auth_OpenID_MathLibrary | The superclass of all big-integer math implementations |
Auth_OpenID_MDB2Store | This store uses a PEAR::MDB2 connection to store persistence information. |
Auth_OpenID_MemcachedStore | This is a memcached-based store for OpenID associations and nonces. |
Auth_OpenID_Message | In the implementation of this object, null represents the global namespace as well as a namespace with no key. |
Auth_OpenID_MySQLStore | An SQL store that uses MySQL as its backend. |
Auth_OpenID_NamespaceMap | Maintains a bijective map between namespace uris and aliases. |
Auth_OpenID_NoReturnToError | Error returned by the server code when a return_to is absent from a request. |
Auth_OpenID_OpenIDStore | This is the interface for the store objects the OpenID library
uses. It is a single class that provides all of the persistence
mechanisms that the OpenID library needs, for both servers and
consumers. If you want to create an SQL-driven store, please see
then |
Auth_OpenID_Parse | |
Auth_OpenID_PlainTextConsumerSession | A class implementing plaintext consumer sessions. |
Auth_OpenID_PlainTextServerSession | A class implementing plaintext server sessions. |
Auth_OpenID_PostgreSQLStore | An SQL store that uses PostgreSQL as its backend. |
Auth_OpenID_Request | The base class for all server request classes. |
Auth_OpenID_Server | I handle requests for an OpenID server. |
Auth_OpenID_ServerError | An error class which gets instantiated and returned whenever an OpenID protocol error occurs. Be prepared to use this in place of an ordinary server response. |
Auth_OpenID_ServerErrorContainer | Exception that is raised when the server returns a 400 response code to a direct request. |
Auth_OpenID_ServerRequest | Object that holds the state of a request to the OpenID server |
Auth_OpenID_ServerResponse | This class encapsulates the response to an OpenID server request. |
Auth_OpenID_ServiceEndpointLoader | A concrete loader implementation for Auth_OpenID_ServiceEndpoints. |
Auth_OpenID_SessionNegotiator | A session negotiator controls the allowed and preferred association
types and association session types. Both the |
Auth_OpenID_SetupNeededResponse | A response with a status of Auth_OpenID_SETUP_NEEDED. Indicates that the request was in immediate mode, and the server is unable to authenticate the user without further interaction. |
Auth_OpenID_Signatory | Responsible for the signature of query data and the verification of OpenID signature values. |
Auth_OpenID_SigningEncoder | An encoder which also takes care of signing fields when required. |
Auth_OpenID_SQLiteStore | An SQL store that uses SQLite as its backend. |
Auth_OpenID_SQLStore | This is the parent class for the SQL stores, which contains the logic common to all of the SQL stores. |
Auth_OpenID_SRegBase | A base class for classes dealing with Simple Registration protocol messages. |
Auth_OpenID_SRegRequest | An object to hold the state of a simple registration request. |
Auth_OpenID_SRegResponse | Represents the data returned in a simple registration response inside of an OpenID C{id_res} response. This object will be created by the OpenID server, added to the C{id_res} response object, and then extracted from the C{id_res} message by the Consumer. |
Auth_OpenID_SuccessResponse | A response with a status of Auth_OpenID_SUCCESS. Indicates that this request is a successful acknowledgement from the OpenID server that the supplied URL is, indeed controlled by the requesting agent. This has three relevant attributes: |
Auth_OpenID_TrustRoot | A wrapper for trust-root related functions |
Auth_OpenID_TypeURIMismatch | A specific, internal failure used to detect type URI mismatch. |
Auth_OpenID_UntrustedReturnURL | An error that indicates that the given return_to is not under the given trust_root. |
Auth_OpenID_WebResponse | A web-capable response object which you can use to generate a user-agent response. |
Auth_Yadis_Discovery | State management for discovery. |
Auth_Yadis_DiscoveryResult | Contains the result of performing Yadis discovery on a URI. |
Auth_Yadis_dom | This concrete implementation of Auth_Yadis_XMLParser implements the appropriate API for the 'dom' extension which is typically packaged with PHP 5. This class will be used whenever the 'dom' extension is detected. See the Auth_Yadis_XMLParser class for details on this class's methods. |
Auth_Yadis_domxml | This concrete implementation of Auth_Yadis_XMLParser implements the appropriate API for the 'domxml' extension which is typically packaged with PHP 4. This class will be used whenever the 'domxml' extension is detected. See the Auth_Yadis_XMLParser class for details on this class's methods. |
Auth_Yadis_HTTPFetcher | This class is the interface for HTTP fetchers the Yadis library uses. This interface is only important if you need to write a new fetcher for some reason. |
Auth_Yadis_HTTPResponse | |
Auth_Yadis_Manager | The Yadis service manager which stores state in a session and
iterates over |
Auth_Yadis_ManagerLoader | A concrete loader implementation for Auth_Yadis_Managers. |
Auth_Yadis_ParanoidHTTPFetcher | A paranoid |
Auth_Yadis_ParseHTML | This class is responsible for scanning an HTML string to find META tags and their attributes. This is used by the Yadis discovery process. This class must be instantiated to be used. |
Auth_Yadis_PHPSession | The base session class used by the Auth_Yadis_Manager. This class wraps the default PHP session machinery and should be subclassed if your application doesn't use PHP sessioning. |
Auth_Yadis_PlainHTTPFetcher | This class implements a plain, hand-built socket-based fetcher which will be used in the event that CURL is unavailable. |
Auth_Yadis_Service | This class represents a |
Auth_Yadis_SessionLoader | A session helper class designed to translate between arrays and objects. Note that the class used must have a constructor that takes no parameters. This is not a general solution, but it works for dumb objects that just need to have attributes set. The idea is that you'll subclass this and override $this->check($data) -> bool to implement your own session data validation. |
Auth_Yadis_XMLParser | The base class for wrappers for available PHP XML-parsing extensions. To work with this Yadis library, subclasses of this class MUST implement the API as defined in the remarks for this class. Subclasses of Auth_Yadis_XMLParser are used to wrap particular PHP XML extensions such as 'domxml'. These are used internally by the library depending on the availability of supported PHP XML extensions. |
Auth_Yadis_XRDS | This class performs parsing of XRDS documents. |
Auth_Yadis_Yadis | This is the core of the PHP Yadis library. This is the only class a user needs to use to perform Yadis discovery. This class performs the discovery AND stores the result of the discovery. |
_escape_xref | |
Auth_OpenID_AX_checkAlias | Check an alias for invalid characters; raise AXError if any are found. Return None if the alias is valid. |
Auth_OpenID_AX_toTypeURIs | Given a namespace mapping and a string containing a comma-separated list of namespace aliases, return a list of type URIs that correspond to those aliases. |
Auth_OpenID_checkFieldName | Check to see that the given value is a valid simple registration data field name. Return true if so, false if not. |
Auth_OpenID_checkSessionType | |
Auth_OpenID_checkTimestamp | |
Auth_OpenID_detectMathLibrary | Detect which (if any) math library is available |
Auth_OpenID_extractReturnURL | |
Auth_OpenID_getAllAssociationTypes | |
Auth_OpenID_getAllowedReturnURLs | |
Auth_OpenID_getAuthorityPattern | |
Auth_OpenID_getAvailableSessionTypes | Returns available session types. |
Auth_OpenID_getDefaultAssociationOrder | |
Auth_OpenID_getDefaultGen | |
Auth_OpenID_getDefaultMod | |
Auth_OpenID_getDefaultNegotiator | |
Auth_OpenID_getEncodedPattern | |
Auth_OpenID_getEncryptedNegotiator | |
Auth_OpenID_getEscapeRE | |
Auth_OpenID_getMathLib |
|
Auth_OpenID_getOnlyEncryptedOrder | |
Auth_OpenID_getSecretSize | |
Auth_OpenID_getSessionTypes | |
Auth_OpenID_getSupportedAssociationTypes | |
Auth_OpenID_getUnreserved | |
Auth_OpenID_getURIPattern | |
Auth_OpenID_getURLIllegalCharRE | |
Auth_OpenID_HMACSHA1 | Compute an HMAC/SHA1 hash. |
Auth_OpenID_HMACSHA256 | |
Auth_OpenID_include_init | |
Auth_OpenID_isError | |
Auth_OpenID_isOpenID1 | |
Auth_OpenID_legacy_discover | |
Auth_OpenID_math_extensions | Define the supported extensions. An extension array has keys 'modules', 'extension', and 'class'. 'modules' is an array of PHP module names which the loading code will attempt to load. These values will be suffixed with a library file extension (e.g. ".so"). 'extension' is the name of a PHP extension which will be tested before 'modules' are loaded. 'class' is the string name of a Auth_OpenID_MathWrapper subclass which should be instantiated if a given extension is present. |
Auth_OpenID_mkNonce | |
Auth_OpenID_noMathSupport | |
Auth_OpenID_pct_encoded_replace | |
Auth_OpenID_pct_encoded_replace_unreserved | |
Auth_OpenID_registerNamespaceAlias | Registers a (namespace URI, alias) mapping in a global namespace alias map. Raises NamespaceAliasRegistrationError if either the namespace URI or alias has already been registered with a different value. This function is required if you want to use a namespace with an OpenID 1 message. |
Auth_OpenID_remove_dot_segments | |
Auth_OpenID_removeNamespaceAlias | Removes a (namespace_uri, alias) registration from the global namespace alias map. Returns true if the removal succeeded; false if not (if the mapping did not exist). |
Auth_OpenID_returnToMatches | |
Auth_OpenID_setNoMathSupport | |
Auth_OpenID_SHA1 | |
Auth_OpenID_SHA256 | |
Auth_OpenID_splitNonce | |
Auth_OpenID_supportsSReg | Does the given endpoint advertise support for simple registration? |
Auth_OpenID_urinorm | |
Auth_OpenID_verifyReturnTo | |
Auth_Yadis_array_scramble | |
Auth_Yadis_escapeForIRI | |
Auth_Yadis_getCanonicalID | |
Auth_Yadis_getDefaultProxy | |
Auth_Yadis_getEscapeRE | |
Auth_Yadis_getNSMap | |
Auth_Yadis_getServiceEndpoints | |
Auth_Yadis_getSupportedExtensions | |
Auth_Yadis_getUCSChars | Miscellaneous utility values and functions for OpenID and Yadis. |
Auth_Yadis_getXMLParser | Returns an instance of a Auth_Yadis_XMLParser subclass based on the availability of PHP extensions for XML parsing. If Auth_Yadis_setDefaultParser has been called, the parser used in that call will be returned instead. |
Auth_Yadis_getXRDExpiration | |
Auth_Yadis_getXrefRE | |
Auth_Yadis_getXRIAuthorities | |
Auth_Yadis_identifierScheme | |
Auth_Yadis_iriToURI | |
Auth_Yadis_providerIsAuthoritative | |
Auth_Yadis_rootAuthority | |
Auth_Yadis_setDefaultParser | Set a default parser to override the extension-driven selection of available parser classes. This is helpful in a test environment or one in which multiple parsers can be used but one is more desirable. |
Auth_Yadis_toIRINormal | |
Auth_Yadis_toURINormal | |
Auth_Yadis_XRI | |
Auth_Yadis_XRIAppendArgs | |
filter_extractReturnURL |