Support Joomla!

Packages

Package: OpenID

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.
Element index for package OpenID

Other package element indexes


a b c d e f g h i k l m n o p q r s t u v w x y _
_
Variable $_attr_find
Variable $_close_tag_expr
Variable $_macs
Variable $_open_tag_expr
Variable $_removed_re
Stuff to remove before we start looking for tags
Variable $_re_flags
Specify some flags for use with regex matching.
Variable $_tag_expr
Starts with the tag name at a word boundary, where the tag name
Function _escape_xref
_escape_xref() in XRI.php
Method _getDefaultNamespace
a
Variable $allowed_assoc_types
Variable $allowed_assoc_types
Variable $allowed_assoc_types
Variable $allowed_assoc_types
Variable $allowed_assoc_types
Variable $allowed_assoc_types
Method add
Method add
Add an attribute to this attribute exchange request.
Method addAlias
Method addExtension
Method addExtension
Add an extension to this checkid request.
Method addExtensionArg
Add an extension argument to this OpenID authentication request.
Method addPolicyURI
Add a authentication policy to this response
Method addPolicyURI
Add an acceptable authentication policy URI to this request
Method addValue
Add a single value for the given attribute type to the message. If there are already values specified for this type, this value will be sent in addition to the values already specified.
Method allRequestedFields
A list of all of the simple registration fields that were requested, whether they were required or optional.
Method answer
Method answer
Method answer
Method answer
Method answer
Respond to this request. Return either an Auth_OpenID_ServerResponse or Auth_OpenID_ServerError.
Method answerUnsupported
Method associationKey
Memcache key is prefixed with 'openid_association_' string.
Method associationServerKey
Memcache key is prefixed with 'openid_association_' string.
Method attributes
Return the attributes of a specified node.
Method attributes
Method attributes
Class Auth_OpenID_AlreadySigned
An error that indicates that a response was already signed.
Constructor Auth_OpenID_AssociateRequest
Class Auth_OpenID_AssociateRequest
A request to associate with the server.
Class Auth_OpenID_Association
Auth_OpenID_Association in Association.php
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_OpenIDStore.
Constructor Auth_OpenID_AuthRequest
Initialize an authentication request with the specified token, association, and endpoint.
Class Auth_OpenID_AuthRequest
Auth_OpenID_AuthRequest in Consumer.php
This class represents an authentication request from a consumer to an OpenID server.
Class Auth_OpenID_AX
Auth_OpenID_AX in AX.php
AX utility class.
Constructor Auth_OpenID_AX_AttrInfo
Construct an attribute information object. Do not call this directly; call make(...) instead.
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.
Function Auth_OpenID_AX_checkAlias
Check an alias for invalid characters; raise AXError if any are found. Return None if the alias is valid.
Class Auth_OpenID_AX_Error
Results from data that does not meet the attribute exchange 1.0 specification
Constructor Auth_OpenID_AX_Error
Class 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.
Constructor Auth_OpenID_AX_FetchRequest
Class Auth_OpenID_AX_FetchResponse
A fetch_response attribute exchange message.
Constructor Auth_OpenID_AX_FetchResponse
Class 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.
Constructor Auth_OpenID_AX_KeyValueMessage
Class Auth_OpenID_AX_Message
Abstract class containing common code for attribute exchange messages.
Constant Auth_OpenID_AX_MINIMUM_SUPPORTED_ALIAS_LENGTH
Constant Auth_OpenID_AX_NS_URI
Class Auth_OpenID_AX_StoreRequest
A store request attribute exchange message representation.
Constructor Auth_OpenID_AX_StoreResponse
Class 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.
Function 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.
Constant Auth_OpenID_AX_UNLIMITED_VALUES
Constant Auth_OpenID_BARE_NS
Auth_OpenID_BARE_NS in Message.php
Constant Auth_OpenID_CANCEL
Auth_OpenID_CANCEL in Consumer.php
Status to indicate cancellation of OpenID authentication.
Class 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:
Constructor Auth_OpenID_CancelResponse
Class Auth_OpenID_CheckAuthRequest
A request to verify the validity of a previous response.
Constructor Auth_OpenID_CheckAuthRequest
Function 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.
Class Auth_OpenID_CheckIDRequest
A request to confirm the identity of a user.
Constructor Auth_OpenID_CheckIDRequest
Function Auth_OpenID_checkSessionType
Function Auth_OpenID_checkTimestamp
Constructor Auth_OpenID_Consumer
Initialize a Consumer instance.
Class Auth_OpenID_Consumer
Auth_OpenID_Consumer in Consumer.php
An OpenID consumer implementation that performs discovery and does session management. See the Consumer.php file documentation for more information.
Class Auth_OpenID_ConsumerResponse
The base class for responses from the Auth_OpenID_Consumer.
Class Auth_OpenID_CryptUtil
Auth_OpenID_CryptUtil in CryptUtil.php
Class Auth_OpenID_DatabaseConnection
Auth_OpenID_DatabaseConnection in DatabaseConnection.php
An empty base class intended to emulate PEAR connection
Class Auth_OpenID_Decoder
Auth_OpenID_Decoder in Server.php
Decode an incoming query into an Auth_OpenID_Request.
Constructor Auth_OpenID_Decoder
Class Auth_OpenID_DiffieHellmanSHA1ConsumerSession
A class implementing HMAC/DH-SHA1 consumer sessions.
Constructor Auth_OpenID_DiffieHellmanSHA1ConsumerSession
Constructor Auth_OpenID_DiffieHellmanSHA1ServerSession
Class Auth_OpenID_DiffieHellmanSHA1ServerSession
A class implementing DH-SHA1 server sessions.
Class Auth_OpenID_DiffieHellmanSHA256ConsumerSession
A class implementing HMAC/DH-SHA256 consumer sessions.
Class Auth_OpenID_DiffieHellmanSHA256ServerSession
A class implementing DH-SHA256 server sessions.
Constant Auth_OpenID_digits
Auth_OpenID_digits in OpenID.php
Constant Auth_OpenID_DO_ABOUT
Auth_OpenID_DO_ABOUT in OpenID.php
Status code returned when there were no OpenID arguments passed. This code indicates that the caller should return a 200 OK response and display an HTML page that says that this is an OpenID server endpoint.
Constant Auth_OpenID_DO_AUTH
Auth_OpenID_DO_AUTH in OpenID.php
Status code returned when the caller needs to authenticate the
Class Auth_OpenID_DumbStore
Auth_OpenID_DumbStore in DumbStore.php
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.
Constructor Auth_OpenID_DumbStore
Creates a new Auth_OpenID_DumbStore instance. For the security of the tokens generated by the library, this class attempts to at least have a secure implementation of getAuthKey.
Class Auth_OpenID_Encoder
Auth_OpenID_Encoder in Server.php
Class Auth_OpenID_EncodingError
An error that indicates an encoding problem occurred.
Constructor Auth_OpenID_EncodingError
Class Auth_OpenID_Extension
Auth_OpenID_Extension in Extension.php
A base class for accessing extension request and response data for the OpenID 2 protocol.
Function Auth_OpenID_extractReturnURL
Constant Auth_OpenID_FAILURE
Auth_OpenID_FAILURE in Consumer.php
This is the status code completeAuth returns when the value it received indicated an invalid login.
Class 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:
Constructor Auth_OpenID_FailureResponse
Constant Auth_OpenID_FETCHER_MAX_RESPONSE_KB
Constructor Auth_OpenID_FileStore
Initializes a new Auth_OpenID_FileStore. This initializes the nonce and association directories, which are subdirectories of the directory passed in.
Class Auth_OpenID_FileStore
Auth_OpenID_FileStore in FileStore.php
This is a filesystem-based store for OpenID associations and
Constructor Auth_OpenID_GenericConsumer
This method initializes a new Auth_OpenID_Consumer instance to access the library.
Class Auth_OpenID_GenericConsumer
This class is the interface to the OpenID consumer logic.
Function Auth_OpenID_getAllAssociationTypes
Function Auth_OpenID_getAllowedReturnURLs
Function Auth_OpenID_getAuthorityPattern
Function Auth_OpenID_getAvailableSessionTypes
Returns available session types.
Function Auth_OpenID_getDefaultAssociationOrder
Function Auth_OpenID_getDefaultNegotiator
Function Auth_OpenID_getEncodedPattern
Function Auth_OpenID_getEncryptedNegotiator
Function Auth_OpenID_getEscapeRE
Function Auth_OpenID_getOnlyEncryptedOrder
Function Auth_OpenID_getSecretSize
Auth_OpenID_getSecretSize() in Association.php
Function Auth_OpenID_getSessionTypes
Function Auth_OpenID_getSupportedAssociationTypes
Function Auth_OpenID_getUnreserved
Function Auth_OpenID_getURIPattern
Function Auth_OpenID_getURLIllegalCharRE
Constant AUTH_OPENID_HTTP_ERROR
Constant AUTH_OPENID_HTTP_OK
AUTH_OPENID_HTTP_OK in Server.php
Constant AUTH_OPENID_HTTP_REDIRECT
Constant Auth_OpenID_IDENTIFIER_SELECT
Function Auth_OpenID_isOpenID1
Class Auth_OpenID_KVForm
Auth_OpenID_KVForm in KVForm.php
Container for key-value/comma-newline OpenID format and parsing
Constant Auth_OpenID_letters
Auth_OpenID_letters in OpenID.php
Defines for regexes and format checking.
Constant Auth_OpenID_LOCAL_ERROR
Status code returned by the server when the only option is to show an error page, since we do not have enough information to redirect back to the consumer. The associated value is an error message that should be displayed on an HTML error page.
Class Auth_OpenID_MalformedReturnURL
An error indicating that the return_to URL is malformed.
Constructor Auth_OpenID_MalformedReturnURL
Class Auth_OpenID_MalformedTrustRoot
This error is returned when the trust_root value is malformed.
Constructor Auth_OpenID_MalformedTrustRoot
Constructor Auth_OpenID_Mapping
Initialize a mapping. If $classic_array is specified, its keys and values are used to populate the mapping.
Class Auth_OpenID_Mapping
Auth_OpenID_Mapping in Message.php
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.)
Class Auth_OpenID_MemcachedStore
Auth_OpenID_MemcachedStore in MemcachedStore.php
This is a memcached-based store for OpenID associations and nonces.
Constructor Auth_OpenID_MemcachedStore
Initializes a new Auth_OpenID_MemcachedStore instance.
Constructor Auth_OpenID_Message
Class Auth_OpenID_Message
Auth_OpenID_Message in Message.php
In the implementation of this object, null represents the global namespace as well as a namespace with no key.
Function Auth_OpenID_mkNonce
Class Auth_OpenID_MySQLStore
Auth_OpenID_MySQLStore in MySQLStore.php
An SQL store that uses MySQL as its backend.
Constructor Auth_OpenID_NamespaceMap
Class Auth_OpenID_NamespaceMap
Maintains a bijective map between namespace uris and aliases.
Constant Auth_OpenID_Nonce_CHRS
This is the characters that the nonces are made from.
Constant Auth_OpenID_Nonce_REGEX
Constant Auth_OpenID_Nonce_TIME_FMT
Constructor Auth_OpenID_NoReturnToError
Class Auth_OpenID_NoReturnToError
Error returned by the server code when a return_to is absent from a request.
Constant Auth_OpenID_NO_DEFAULT
Auth_OpenID_NO_DEFAULT in Message.php
Constant Auth_OpenID_NULL_NAMESPACE
Constant Auth_OpenID_OPENID1_NS
Auth_OpenID_OPENID1_NS in Message.php
Constant Auth_OpenID_OPENID1_URL_LIMIT
Constant Auth_OpenID_OPENID2_NS
Auth_OpenID_OPENID2_NS in Message.php
Class Auth_OpenID_OpenIDStore
Auth_OpenID_OpenIDStore in Interface.php
This is the interface for the store objects the OpenID library
Constant Auth_OpenID_OPENID_NS
Auth_OpenID_OPENID_NS in Message.php
Constructor Auth_OpenID_PAPE_Request
Class Auth_OpenID_PAPE_Request
A Provider Authentication Policy request, sent from a relying party to a provider
Class Auth_OpenID_PAPE_Response
A Provider Authentication Policy response, sent from a provider to
Constructor Auth_OpenID_PAPE_Response
Class Auth_OpenID_Parse
Auth_OpenID_Parse in Parse.php
Constructor Auth_OpenID_Parse
Constant Auth_OpenID_PARSE_ERROR
Auth_OpenID_PARSE_ERROR in Consumer.php
This is the status code beginAuth returns when the page fetched from the entered OpenID URL doesn't contain the necessary link tags to function as an identity page.
Function Auth_OpenID_pct_encoded_replace
Function Auth_OpenID_pct_encoded_replace_unreserved
Class Auth_OpenID_PlainTextConsumerSession
A class implementing plaintext consumer sessions.
Class Auth_OpenID_PlainTextServerSession
A class implementing plaintext server sessions.
Class Auth_OpenID_PostgreSQLStore
Auth_OpenID_PostgreSQLStore in PostgreSQLStore.php
An SQL store that uses PostgreSQL as its backend.
Constant Auth_OpenID_punct
Auth_OpenID_punct in OpenID.php
Constant Auth_OpenID_REDIRECT
Auth_OpenID_REDIRECT in OpenID.php
Status code returned when there is a redirect back to the consumer. The value is the URL to redirect back to. The caller should return a 302 Found redirect with a Location: header containing the URL.
Function Auth_OpenID_registerNamespaceAlias
Registers a (namespace URI, alias) mapping in a global namespace
Constant Auth_OpenID_REMOTE_ERROR
Status code returned when there is an error to return in key-value form to the consumer. The caller should return a 400 Bad Request response with content-type text/plain and the value as the body.
Constant Auth_OpenID_REMOTE_OK
Auth_OpenID_REMOTE_OK in OpenID.php
Status code returned when there is a key-value form OK response to the consumer. The value associated with this code is the response. The caller should return a 200 OK response with content-type text/plain and the value as the body.
Function 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).
Function Auth_OpenID_remove_dot_segments
Class Auth_OpenID_Request
Auth_OpenID_Request in Server.php
The base class for all server request classes.
Function Auth_OpenID_returnToMatches
Class Auth_OpenID_Server
Auth_OpenID_Server in Server.php
I handle requests for an OpenID server.
Constructor Auth_OpenID_Server
Class 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.
Class Auth_OpenID_ServerErrorContainer
Exception that is raised when the server returns a 400 response code to a direct request.
Constructor Auth_OpenID_ServerErrorContainer
Class Auth_OpenID_ServerRequest
Auth_OpenID_ServerRequest in ServerRequest.php
Object that holds the state of a request to the OpenID server
Constructor Auth_OpenID_ServerRequest
Constructor Auth_OpenID_ServerResponse
Class Auth_OpenID_ServerResponse
This class encapsulates the response to an OpenID server request.
Class Auth_OpenID_ServiceEndpointLoader
A concrete loader implementation for Auth_OpenID_ServiceEndpoints.
Class Auth_OpenID_SessionNegotiator
A session negotiator controls the allowed and preferred association types and association session types. Both the Auth_OpenID_Consumer and Auth_OpenID_Server use negotiators when creating associations.
Constructor Auth_OpenID_SessionNegotiator
Constructor Auth_OpenID_SetupNeededResponse
Class 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.
Constant Auth_OpenID_SETUP_NEEDED
Auth_OpenID_SETUP_NEEDED in Consumer.php
This is the status code completeAuth returns when the Auth_OpenID_Consumer instance is in immediate mode, and the identity server sends back a URL to send the user to to complete his or her login.
Constructor Auth_OpenID_Signatory
Create a new signatory using a given store.
Class Auth_OpenID_Signatory
Auth_OpenID_Signatory in Server.php
Responsible for the signature of query data and the verification of OpenID signature values.
Constructor Auth_OpenID_SigningEncoder
Class Auth_OpenID_SigningEncoder
An encoder which also takes care of signing fields when required.
Function Auth_OpenID_splitNonce
Class Auth_OpenID_SQLiteStore
Auth_OpenID_SQLiteStore in SQLiteStore.php
An SQL store that uses SQLite as its backend.
Constructor Auth_OpenID_SQLStore
This creates a new SQLStore instance. It requires an established database connection be given to it, and it allows overriding the default table names.
Class Auth_OpenID_SQLStore
Auth_OpenID_SQLStore in SQLStore.php
This is the parent class for the SQL stores, which contains the logic common to all of the SQL stores.
Class Auth_OpenID_SRegBase
A base class for classes dealing with Simple Registration protocol messages.
Class Auth_OpenID_SRegRequest
An object to hold the state of a simple registration request.
Class 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.
Constructor Auth_OpenID_SRegResponse
Constant Auth_OpenID_SREG_NS_URI
Constant Auth_OpenID_SREG_NS_URI_1_0
Constant Auth_OpenID_SREG_NS_URI_1_1
Constant Auth_OpenID_SREG_URI
Auth_OpenID_SREG_URI in Message.php
Constant Auth_OpenID_SUCCESS
Auth_OpenID_SUCCESS in Consumer.php
This is the status code returned when the complete method returns successfully.
Class Auth_OpenID_SuccessResponse
A response with a status of Auth_OpenID_SUCCESS. Indicates that
Function Auth_OpenID_supportsSReg
Does the given endpoint advertise support for simple registration?
Constant Auth_OpenID_THE_OTHER_OPENID1_NS
Class Auth_OpenID_TrustRoot
Auth_OpenID_TrustRoot in TrustRoot.php
A wrapper for trust-root related functions
Class Auth_OpenID_TypeURIMismatch
A specific, internal failure used to detect type URI mismatch.
Class Auth_OpenID_UntrustedReturnURL
An error that indicates that the given return_to is not under the given trust_root.
Constructor Auth_OpenID_UntrustedReturnURL
Function Auth_OpenID_urinorm
Auth_OpenID_urinorm() in URINorm.php
Constant Auth_OpenID_USER_AGENT
Auth_OpenID_USER_AGENT in HTTPFetcher.php
Function Auth_OpenID_verifyReturnTo
Constant Auth_OpenID_VERSION
Auth_OpenID_VERSION in OpenID.php
The library version string
Class Auth_OpenID_WebResponse
A web-capable response object which you can use to generate a user-agent response.
Constructor Auth_OpenID_WebResponse
Constant Auth_OpenID___HostSegmentRe
Constant Auth_Yadis_CONTENT_TYPE
XRDS (yadis) content type
Class Auth_Yadis_Discovery
Auth_Yadis_Discovery in Manager.php
State management for discovery.
Constructor Auth_Yadis_Discovery
Initialize a discovery object.
Class Auth_Yadis_DiscoveryResult
Contains the result of performing Yadis discovery on a URI.
Constructor Auth_Yadis_DiscoveryResult
Constructor Auth_Yadis_dom
Class Auth_Yadis_dom
Auth_Yadis_dom in XML.php
This concrete implementation of Auth_Yadis_XMLParser implements
Constructor Auth_Yadis_domxml
Class Auth_Yadis_domxml
This concrete implementation of Auth_Yadis_XMLParser implements
Function Auth_Yadis_escapeForIRI
Function Auth_Yadis_getCanonicalID
Function Auth_Yadis_getDefaultProxy
Function Auth_Yadis_getEscapeRE
Function Auth_Yadis_getIPrivateChars
Function Auth_Yadis_getNSMap
Function Auth_Yadis_getServiceEndpoints
Perform the Yadis protocol on the input URL and return an iterable of resulting endpoint objects.
Function Auth_Yadis_getSupportedExtensions
Function Auth_Yadis_getUCSChars
Miscellaneous utility values and functions for OpenID and Yadis.
Function 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.
Function Auth_Yadis_getXRDExpiration
Function Auth_Yadis_getXrefRE
Function Auth_Yadis_getXRIAuthorities
Constant Auth_Yadis_HEADER_NAME
Yadis header
Constructor Auth_Yadis_HTTPResponse
Class Auth_Yadis_HTTPResponse
Auth_Yadis_HTTPResponse in HTTPFetcher.php
Function Auth_Yadis_identifierScheme
Function Auth_Yadis_iriToURI
Class Auth_Yadis_Manager
Auth_Yadis_Manager in Manager.php
The Yadis service manager which stores state in a session and iterates over <Service> elements in a Yadis XRDS document and lets a caller attempt to use each one. This is used by the Yadis library internally.
Class Auth_Yadis_ManagerLoader
A concrete loader implementation for Auth_Yadis_Managers.
Constructor Auth_Yadis_ParanoidHTTPFetcher
Class Auth_Yadis_ParanoidHTTPFetcher
Auth_Yadis_ParanoidHTTPFetcher in ParanoidHTTPFetcher.php
A paranoid Auth_Yadis_HTTPFetcher class which uses CURL for fetching.
Constructor Auth_Yadis_ParseHTML
Class Auth_Yadis_ParseHTML
Auth_Yadis_ParseHTML in ParseHTML.php
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.
Function Auth_Yadis_pct_escape_unicode
Class Auth_Yadis_PHPSession
Auth_Yadis_PHPSession in Manager.php
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.
Class Auth_Yadis_PlainHTTPFetcher
Auth_Yadis_PlainHTTPFetcher in PlainHTTPFetcher.php
This class implements a plain, hand-built socket-based fetcher which will be used in the event that CURL is unavailable.
Function Auth_Yadis_providerIsAuthoritative
Function Auth_Yadis_rootAuthority
Class Auth_Yadis_Service
Auth_Yadis_Service in XRDS.php
This class represents a <Service> element in an XRDS document.
Constructor Auth_Yadis_Service
Creates an empty service object.
Class Auth_Yadis_SessionLoader
A session helper class designed to translate between arrays and
Function 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.
Function Auth_Yadis_startswith
Function Auth_Yadis_toIRINormal
Function Auth_Yadis_toURINormal
Constant Auth_Yadis_XMLNS_XRDS
XRDS XML namespace
Constant Auth_Yadis_XMLNS_XRD_2_0
XRD XML namespace
Class Auth_Yadis_XMLParser
The base class for wrappers for available PHP XML-parsing
Constructor Auth_Yadis_XRDS
Instantiate a Auth_Yadis_XRDS object. Requires an XPath instance which has been used to parse a valid XRDS document.
Class Auth_Yadis_XRDS
Auth_Yadis_XRDS in XRDS.php
This class performs parsing of XRDS documents.
Function Auth_Yadis_XRI
Auth_Yadis_XRI() in XRI.php
Function Auth_Yadis_XRIAppendArgs
Class Auth_Yadis_Yadis
Auth_Yadis_Yadis in Yadis.php
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.
Method autoCommit
Sets auto-commit mode on this database connection.
File Association.php
Association.php in Association.php
File AX.php
AX.php in AX.php
b
Variable $body
Method begin
Start the OpenID authentication process. See steps 1-2 in the overview at the top of this file.
Method begin
Auth_OpenID_DatabaseConnection::begin() in DatabaseConnection.php
Starts a transaction on this connection, if supported.
Method beginWithoutDiscovery
Start OpenID verification without doing OpenID server
Method blobDecode
Method blobEncode
Method build
Initialize an empty simple registration request.
Method buildDiscoveryURL
c
Variable $code
Variable $content_type
Method check
Method check
Method clean
Method cleanup
Method cleanup
Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists.
Method cleanupAssociations
Method cleanupAssociations
Method cleanupAssociations
Method cleanupNonces
Method cleanupNonces
Method cleanupNonces
Method closeTag
Method commit
Commits a transaction on this connection, if supported.
Method complete
Called to interpret the server's response to an OpenID request. It is called in step 4 of the flow described in the consumer overview.
Method contains
Method contains
Was this field in the request?
Method contains
Returns true if the specified value has a key in the mapping; false if not.
Method contains
Is the given type URI present in this fetch_request?
Method content
Method content
Return the textual content of a specified node.
Method content
Method contents
Return the contents of the session in array form.
Method contents
Method copy
Method count
Get the number of responses for a particular attribute in this fetch_response message.
Method createAssociation
Make a new association.
Method createTables
Method create_assoc_table
Method create_nonce_table
Method curlPresent
File Consumer.php
Consumer.php in Consumer.php
File CryptUtil.php
CryptUtil.php in CryptUtil.php
d
Variable $dumb_key
Method decode
Given an HTTP query in an array (key-value pairs), decode it into an Auth_OpenID_Request object.
Method decodeRequest
Decodes a query args array into the appropriate Auth_OpenID_Request object.
Method defaultDecoder
Method del
Deletes a key-value pair from the mapping with the specified key.
Method del
Remove a key/value pair from the session.
Method delArg
Method deserialize
Parse an association as stored by serialize(). This is the inverse of serialize.
Method destroy
Method discover
This should be called statically and will build a Yadis instance if the discovery process succeeds. This implements Yadis discovery as specified in the Yadis specification.
File DatabaseConnection.php
DatabaseConnection.php in DatabaseConnection.php
File DumbStore.php
DumbStore.php in DumbStore.php
e
Method encode
Method encode
Method encodeResponse
Encodes as response in the appropriate format suitable for sending to the user agent.
Method encodeToKVForm
Encodes the response to key-value form. This is a machine-readable format used to respond to messages which came directly from the consumer and not through the user-agent. See the OpenID specification.
Method encodeToKVForm
Method encodeToURL
Method encodeToURL
Encodes this error's response as a URL suitable for redirection. If the response has no return_to, another Auth_OpenID_ServerError is returned.
Method encodeToURL
Method equal
This checks to see if two Auth_OpenID_Association instances represent the same association.
Method equals
Method evalXPath
Method evalXPath
Evaluate an XPath expression and return the resulting node list. This should be overridden by subclasses.
Method evalXPath
Method extensionResponse
Extract signed extension data from the server's response.
Method extractResponse
Take a C{L{SRegRequest}} and a dictionary of simple registration values and create a C{L{SRegResponse}} object containing that data.
Method extractSecret
Method extractSecret
File Extension.php
Extension.php in Extension.php
f
Variable $failed
Variable $FAILURE_MODE
Method fail
Function filter_extractReturnURL
filter_extractReturnURL() in TrustRoot.php
Method findFirstHref
Method findLinksRel
Method formMarkup
Get html for a form to submit this request to the IDP.
Method fromKVForm
Method fromMessage
Method fromMessage
Method fromMessage
Method fromMessage
Method fromMessage
Method fromMessage
Method fromOpenIDArgs
Method fromOpenIDRequest
Create a simple registration request that contains the fields that were requested in the OpenID request with the given arguments
Method fromOpenIDRequest
Instantiate a Request object from the arguments in a checkid_*
Method fromOpenIDRequest
Extract a FetchRequest from an OpenID message
Method fromPostArgs
Method fromSuccessResponse
Construct a FetchResponse object from an OpenID library SuccessResponse object.
Method fromSuccessResponse
Create a C{L{SRegResponse}} object from a successful OpenID
Method fromSuccessResponse
Create an Auth_OpenID_PAPE_Response object from a successful OpenID library response.
File FileStore.php
FileStore.php in FileStore.php
g
Method get
Gets a specified value from the mapping, associated with the specified key. If the key does not exist in the mapping, $default is returned instead.
Method get
Auth_Yadis_ParanoidHTTPFetcher::get() in ParanoidHTTPFetcher.php
Method get
Auth_Yadis_PlainHTTPFetcher::get() in PlainHTTPFetcher.php
Method get
Method get
Get the list of values for this attribute in the fetch_response.
Method get
Get a key's value from the session.
Method getAlias
Method getAliasedArg
Method getAll
Run an SQL query with the specified parameters, if any.
Method getAllowedType
Get a pair of assocation type and session type that are supported.
Method getArg
Method getArgs
Method getAssociation
Given an association handle, get the association from the store, or return a ServerError or null if something goes wrong.
Method getAssociation
This implementation always returns null.
Method getAssociation
Read association from memcached. If no handle given
Method getAssociation
Method getAssociation
This method returns an Association object from storage that matches the server URL and, if specified, handle. It returns null if no such association is found or if the matching association is expired.
Method getAssociation
Retrieve an association. If no handle is specified, return the association with the most recent issue time.
Method getAssociationFilename
Create a unique filename for a given server url and
Method getAuthKey
This method returns the auth key generated by the constructor.
Method getBytes
Get the specified number of random bytes.
Method getCancelURL
Method getDH
Method getDisplayIdentifier
Return the display identifier for this response.
Method getElements
Used to get XML elements from this object's <Service> element.
Method getExpiresIn
This returns the number of seconds this association is still valid for, or 0 if the association is no longer valid.
Method getExtensionArgs
Get the serialized form of this attribute fetch request.
Method getExtensionArgs
Method getExtensionArgs
Method getExtensionArgs
Method getExtensionArgs
Method getExtensionArgs
Method getExtensionArgs
Get the string arguments that should be added to an OpenID message for this extension.
Method getExtensionArgs
Serialize this object into arguments in the attribute exchange namespace
Method getExtensionArgs
Get a dictionary of unqualified simple registration arguments representing this request.
Method getHTTPEquiv
Looks for a META tag with an "http-equiv" attribute whose value is one of ("x-xrds-location", "x-yadis-location"), ignoring case. If such a META tag is found, its "content" attribute value is returned.
Method getHTTPFetcher
Returns an HTTP fetcher object. If the CURL extension is present, an instance of Auth_Yadis_ParanoidHTTPFetcher is returned. If not, an instance of Auth_Yadis_PlainHTTPFetcher is returned.
Method getKey
Method getMessage
Produce a Auth_OpenID_Message representing this request.
Method getNamespaceURI
Method getNextService
Return the next authentication service for the pair of user_input and session. This function handles fallback.
Method getOne
Run an SQL query and return the first column of the first row of the result set, if any.
Method getOpenIDNamespace
Method getPriority
Returns the "priority" attribute value of this <Service> element, if the attribute is present. Returns null if not.
Method getRequest
Method getRequest
Method getRequiredAttrs
Get the type URIs for all attributes that have been marked as required.
Method getReturnTo
Get the openid.return_to argument from this response.
Method getReturnTo
Method getRow
Run an SQL query and return the first row of the result set, if any.
Method getSessionClasses
Method getSigned
Method getSignedNS
Method getSingle
Get a single value for an attribute. If no value was sent for this attribute, use the supplied default. If there is more than one value for this attribute, this method will fail.
Method getTypes
Return the URIs in the "Type" elements, if any, of this Service element.
Method getURIs
Return the URIs in the "URI" elements, if any, of this Service element. The URIs are returned sorted in priority order.
h
Variable $hash_func
Variable $hash_func
Variable $hash_func
Variable $hash_func
Method handleRequest
Handle a request. Given an Auth_OpenID_Request object, call the appropriate Auth_OpenID_Server method to process the request and generate a response.
Method hasKey
Method hasReturnTo
Returns the return_to URL for the request which caused this error.
Method headFind
Method htmlBegin
Method htmlEnd
Method htmlMarkup
Get a complete html document that will autosubmit the request to the IDP.
File HTTPFetcher.php
HTTPFetcher.php in HTTPFetcher.php
i
Variable $immediate
Whether this request is for immediate mode.
Variable $invalidate_handle
Method idSelect
Method init
Initialize an instance of Auth_Yadis_XMLParser with some XML and namespaces. This SHOULD NOT be overridden by subclasses.
Method invalidate
Invalidate a given association handle.
Method isA
Returns true if $thing is an Auth_OpenID_Mapping object; false if not.
Method isAllowed
Method isDefined
Method isError
Method isError
Returns true if $value constitutes a database error; returns false otherwise.
Method isFailure
Method isImplicit
Method isOpenID1
Method isOpenID1
Method isOpenID2
Method isSane
Is this trust root sane?
Method isSigned
Method isXRDS
Method items
Returns an array of (key, value) pairs in the mapping.
Method iterAliases
Method iterAttrs
Iterate over the AttrInfo objects that are contained in this fetch_request.
Method iteritems
Method iterNamespaceURIs
Method iterTypes
File Interface.php
Interface.php in Interface.php
k
Method keys
Returns an array of the keys in the mapping.
File KVForm.php
KVForm.php in KVForm.php
l
Method len
Returns the "length" of the mapping, or the number of keys.
Method linkHasRel
m
Variable $mode
Variable $mode
Variable $mode
The mode of this request.
Variable $mode
Variable $mode
mode: The type of this attribute exchange message. This must be overridden in subclasses.
Variable $mode
Variable $mode
Variable $mode
Method make
Returns Auth_OpenID_AX_Error on error or an Auth_OpenID_AX_StoreResponse object on success.
Method make
Method make
Construct an attribute information object. For parameter details, see the constructor.
Method match
Does this URL match the given trust root?
Method matchTypes
File MemcachedStore.php
MemcachedStore.php in MemcachedStore.php
File Message.php
Message.php in Message.php
File MySQLStore.php
MySQLStore.php in MySQLStore.php
File Manager.php
Manager.php in Manager.php
File Misc.php
Misc.php in Misc.php
n
Variable $namespace
The OpenID namespace for this request.
Variable $needs_math
Variable $needs_math
Variable $normalized_uri
Variable $normal_key
Variable $ns_alias
ns_alias: The preferred namespace alias for attribute exchange
Variable $ns_alias
Variable $ns_alias
Variable $ns_alias
Variable $ns_alias
Variable $ns_alias
Variable $ns_uri
Variable $ns_uri
ns_uri: The namespace to which to add the arguments for this
Variable $ns_uri
Variable $ns_uri
Method needsSigning
Method newObject
Method newObject
Method nextService
Return the next service
File Nonce.php
Nonce.php in Nonce.php
o
Variable $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.
File OpenID.php
OpenID.php in OpenID.php
Method openid_associate
The callback for 'associate' messages.
Method openid_check_authentication
The callback for 'check_authentication' messages.
Method openTag
p
File Parse.php
Parse.php in Parse.php
File PostgreSQLStore.php
PostgreSQLStore.php in PostgreSQLStore.php
File ParanoidHTTPFetcher.php
ParanoidHTTPFetcher.php in ParanoidHTTPFetcher.php
File ParseHTML.php
ParseHTML.php in ParseHTML.php
File PlainHTTPFetcher.php
PlainHTTPFetcher.php in PlainHTTPFetcher.php
Method parseExtensionArgs
Method parseExtensionArgs
Parse the unqualified simple registration request parameters and add them to this object.
Method parseExtensionArgs
Given attribute exchange arguments, populate this FetchRequest.
Method parseExtensionArgs
Parse attribute exchange key/value arguments into this object.
Method parseExtensionArgs
Parse the provider authentication policy arguments into the internal state of this object
Method parseExtensionArgs
Set the state of this request to be that expressed in these PAPE arguments
Method parseLinkAttrs
Find all link tags in a string representing a HTML document and return a list of their attributes.
Method parseXRDS
Parse an XML string (XRDS document) and return either a Auth_Yadis_XRDS object or null, depending on whether the XRDS XML is valid.
Method post
Auth_Yadis_PlainHTTPFetcher::post() in PlainHTTPFetcher.php
Method post
Auth_Yadis_ParanoidHTTPFetcher::post() in ParanoidHTTPFetcher.php
Method preferredTypes
Given a list of authentication policy URIs that a provider supports, this method returns the subsequence of those types that are preferred by the relying party.
Method prepareForLoad
Method prepareForSave
q
Method query
Auth_OpenID_DatabaseConnection::query() in DatabaseConnection.php
Run an SQL query with the specified parameters, if any.
r
Variable $request_uri
Variable $responseFactory
Variable $response_text
Method randomString
Produce a string of length random bytes, chosen from chrs. If $chrs is null, the resulting string may contain any characters.
Method redirectURL
Method registerNamespace
Register a namespace with the XML parser. This should be overridden by subclasses.
Method registerNamespace
Method registerNamespace
Method relMatches
Method removeAssociation
This method removes the matching association if it's found, and returns whether the association was removed or not.
Method removeAssociation
Immediately delete association from memcache.
Method removeAssociation
Remove an association if it exists. Do nothing if it does not.
Method removeAssociation
This implementation always returns false.
Method removeAssociation
Method removeQuotes
Method renderAsForm
Method replaceEntities
Method requestField
Request the specified field from the OpenID user
Method requestFields
Add the given list of fields to the request
Method requiredKeys
Method requiredKeys
Method reset
Resets the store by removing all records from the store's tables.
Method reset
Removes all entries from the store; implementation is optional.
Method reset
Auth_Yadis_ParanoidHTTPFetcher::reset() in ParanoidHTTPFetcher.php
Method resultToBool
Converts a query result to a boolean. If the result is a database error according to $this->isError(), this returns false; otherwise, this returns true.
Method returnToVerified
Method rollback
Performs a rollback on this connection, if supported.
s
Variable $SECRET_LIFETIME
Variable $secret_size
Variable $secret_size
Variable $session_type
Variable $session_type
Variable $session_type
Variable $session_type
Variable $session_type
An object that knows how to handle association requests with the Diffie-Hellman session type.
Variable $session_type
An object that knows how to handle association requests with no session type.
Variable $status
Variable $status
Variable $status
Variable $status
Variable $status
Variable $store
This consumer's store object.
Variable $SUCCESS_MODE
File Server.php
Server.php in Server.php
File ServerRequest.php
ServerRequest.php in ServerRequest.php
File SQLiteStore.php
SQLiteStore.php in SQLiteStore.php
File SQLStore.php
SQLStore.php in SQLStore.php
File SReg.php
SReg.php in SReg.php
Method serialize
Convert an association to KV form.
Method services
Returns the list of service objects as described by the XRDS document, if this yadis object represents a successful Yadis discovery.
Method services
Returns a list of service objects which correspond to <Service> elements in the XRDS XML document for this object.
Constant SERVICES_YADIS_MATCH_ALL
This match mode means a given service must match ALL filters passed to the Auth_Yadis_XRDS::services() call.
Constant SERVICES_YADIS_MATCH_ANY
This match mode means a given service must match ANY filters (at least one) passed to the Auth_Yadis_XRDS::services() call.
Constant SERVICES_YADIS_MAX_PRIORITY
The priority value used for service elements with no priority specified.
Method set
Sets a key-value pair in the mapping. If the key already exists, its value is replaced with the new value.
Method set
Set a session key/value pair.
Method setAnonymous
Set whether this request should be made anonymously. If a request is anonymous, the identifier will not be sent in the request. This is only useful if you are making another kind of request with an extension in this request.
Method setArg
Method setEndpoint
Method setOpenIDNamespace
Method setSQL
This method should be overridden by subclasses. This method is called by the constructor to set values in $this->sql, which is an array keyed on sql name.
Method setSQL
Method setValues
Set the values for the given attribute type. This replaces any values that have already been set for this attribute.
Method setXML
Method setXML
Method setXML
Set this parser object's XML payload. This should be overridden by subclasses.
Method shouldSendRedirect
Method sign
Given a response, sign the fields in the response's 'signed' list, and insert the signature into the response.
Method storeAssociation
This implementation does nothing.
Method storeAssociation
Store an association in the association directory.
Method storeAssociation
Store association until its expiration time in memcached.
Method storeAssociation
Method storeAssociation
This method puts an Association object into storage, retrievable by server URL and handle.
Method succeeded
Was this response a success response?
Method supportsCleanup
Report that this storage doesn't support cleanup
Method supportsCleanup
Report whether this storage supports cleanup
Method supportsSSL
Does this fetcher support SSL URLs?
Method supportsSSL
Does this fetcher support SSL URLs?
t
Variable $trust_root
The trust_root value for this request.
File TrustRoot.php
TrustRoot.php in TrustRoot.php
Method tableExists
Method tagMatcher
Returns a regular expression that will match a given tag in an SGML string.
Method toArgs
Method toFormMarkup
Method toFormMarkup
Method toFormMarkup
Method toHTML
Method toHTML
Method toKVForm
Method toMessage
Method toMessage
Add the arguments from this extension to the provided message.
Method toPostArgs
Method toString
Method toString
Method toString
Returns this error message.
Method toString
Method toURL
Method toURLEncoded
Method trustRootValid
u
File URINorm.php
URINorm.php in URINorm.php
Method updateArgs
Method usedYadisLocation
Method useNonce
Method useNonce
Create nonce for server and salt, expiring after $Auth_OpenID_SKEW seconds.
Method useNonce
Return whether this nonce is present. As a side effect, mark it as no longer present.
Method useNonce
Called when using a nonce.
Method useNonce
In a system truly limited to dumb mode, nonces must all be accepted. This therefore always returns true, which makes replay attacks feasible.
v
Variable $verifyReturnTo
Return-to verification callback. Default is Auth_OpenID_verifyReturnTo from TrustRoot.php.
Method values
Returns an array of values in the mapping.
Method verify
Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request.
w
Method wantsUnlimitedValues
When processing a request for this attribute, the OP should
Method wereFieldsRequested
Have any simple registration fields been requested?
Method whichEncoding
Returns one of Auth_OpenID_ENCODE_URL, Auth_OpenID_ENCODE_KVFORM, or null, depending on the type of encoding expected for this error's payload.
Method whichEncoding
x
Variable $xrds
Variable $xrds_uri
File XML.php
XML.php in XML.php
File XRDS.php
XRDS.php in XRDS.php
File XRI.php
XRI.php in XRI.php
y
File Yadis.php
Yadis.php in Yadis.php
a b c d e f g h i k l m n o p q r s t u v w x y _

Documentation generated on Sat, 14 Nov 2009 11:10:08 +0000 by phpDocumentor 1.3.1