[OpenID] element index

All elements
a b c d e f g h i k l m n o p q r s t u v w x y
a
top
$allowed_assoc_types
$allowed_assoc_types
$allowed_assoc_types
$allowed_assoc_types
$allowed_assoc_types
$allowed_assoc_types
add
add
Add an attribute to this attribute exchange request.
addAlias
addExtension
addExtension
Add an extension to this checkid request.
addExtensionArg
Add an extension argument to this OpenID authentication request.
addPolicyURI
Add an acceptable authentication policy URI to this request
addPolicyURI
Add a authentication policy to this response
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.
allRequestedFields
A list of all of the simple registration fields that were requested, whether they were required or optional.
answer
answer
answer
Respond to this request. Return either an Auth_OpenID_ServerResponse or Auth_OpenID_ServerError.
answer
answer
answerUnsupported
associationKey
Memcache key is prefixed with 'openid_association_' string.
associationServerKey
Memcache key is prefixed with 'openid_association_' string.
attributes
Return the attributes of a specified node.
attributes
attributes
Association.php
Association.php in Association.php
AX.php
AX.php in AX.php
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_AssociateRequest
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.
Auth_OpenID_AuthRequest
Initialize an authentication request with the specified token, association, and endpoint.
Auth_OpenID_AuthRequest
Auth_OpenID_AuthRequest in Consumer.php
This class represents an authentication request from a consumer to an OpenID server.
Auth_OpenID_AX
Auth_OpenID_AX in AX.php
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_AttrInfo
Construct an attribute information object. Do not call this directly; call make(...) instead.
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_Error
Results from data that does not meet the attribute exchange 1.0 specification
Auth_OpenID_AX_Error
Auth_OpenID_AX_FetchRequest
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
Auth_OpenID_AX_FetchResponse
A fetch_response attribute exchange message.
Auth_OpenID_AX_KeyValueMessage
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_MINIMUM_SUPPORTED_ALIAS_LENGTH
Auth_OpenID_AX_NS_URI
Auth_OpenID_AX_StoreRequest
A store request attribute exchange message representation.
Auth_OpenID_AX_StoreResponse
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_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_AX_UNLIMITED_VALUES
Auth_OpenID_BARE_NS
Auth_OpenID_BARE_NS in Message.php
Auth_OpenID_CANCEL
Auth_OpenID_CANCEL in Consumer.php
Status to indicate cancellation of OpenID authentication.
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_CancelResponse
Auth_OpenID_CheckAuthRequest
Auth_OpenID_CheckAuthRequest
A request to verify the validity of a previous response.
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_CheckIDRequest
Auth_OpenID_CheckIDRequest
A request to confirm the identity of a user.
Auth_OpenID_checkSessionType
Auth_OpenID_checkTimestamp
Auth_OpenID_Consumer
Initialize a Consumer instance.
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.
Auth_OpenID_ConsumerResponse
The base class for responses from the Auth_OpenID_Consumer.
Auth_OpenID_DatabaseConnection
Auth_OpenID_DatabaseConnection in DatabaseConnection.php
An empty base class intended to emulate PEAR connection
Auth_OpenID_Decoder
Auth_OpenID_Decoder
Auth_OpenID_Decoder in Server.php
Decode an incoming query into an Auth_OpenID_Request.
Auth_OpenID_DiffieHellmanSHA1ConsumerSession
A class implementing HMAC/DH-SHA1 consumer sessions.
Auth_OpenID_DiffieHellmanSHA1ConsumerSession
Auth_OpenID_DiffieHellmanSHA1ServerSession
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_digits
Auth_OpenID_digits in OpenID.php
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.
Auth_OpenID_DO_AUTH
Auth_OpenID_DO_AUTH in OpenID.php
Status code returned when the caller needs to authenticate the
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.
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.
Auth_OpenID_Encoder
Auth_OpenID_Encoder in Server.php
Auth_OpenID_EncodingError
An error that indicates an encoding problem occurred.
Auth_OpenID_EncodingError
Auth_OpenID_Extension
Auth_OpenID_Extension in Extension.php
A base class for accessing extension request and response data for the OpenID 2 protocol.
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.
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_FailureResponse
Auth_OpenID_FileStore
Auth_OpenID_FileStore in FileStore.php
This is a filesystem-based store for OpenID associations and
Auth_OpenID_FileStore
Initializes a new Auth_OpenID_FileStore. This initializes the nonce and association directories, which are subdirectories of the directory passed in.
Auth_OpenID_GenericConsumer
This method initializes a new Auth_OpenID_Consumer instance to access the library.
Auth_OpenID_GenericConsumer
This class is the interface to the OpenID consumer logic.
Auth_OpenID_getAllAssociationTypes
Auth_OpenID_getAvailableSessionTypes
Returns available session types.
Auth_OpenID_getDefaultAssociationOrder
Auth_OpenID_getDefaultNegotiator
Auth_OpenID_getEncryptedNegotiator
Auth_OpenID_getOnlyEncryptedOrder
Auth_OpenID_getSecretSize
Auth_OpenID_getSecretSize() in Association.php
Auth_OpenID_getSessionTypes
Auth_OpenID_getSupportedAssociationTypes
AUTH_OPENID_HTTP_ERROR
AUTH_OPENID_HTTP_OK
AUTH_OPENID_HTTP_OK in Server.php
AUTH_OPENID_HTTP_REDIRECT
Auth_OpenID_IDENTIFIER_SELECT
Auth_OpenID_isOpenID1
Auth_OpenID_letters
Auth_OpenID_letters in OpenID.php
Defines for regexes and format checking.
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.
Auth_OpenID_MalformedReturnURL
Auth_OpenID_MalformedReturnURL
An error indicating that the return_to URL is malformed.
Auth_OpenID_MalformedTrustRoot
Auth_OpenID_MalformedTrustRoot
This error is returned when the trust_root value is malformed.
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.)
Auth_OpenID_Mapping
Initialize a mapping. If $classic_array is specified, its keys and values are used to populate the mapping.
Auth_OpenID_MemcachedStore
Initializes a new Auth_OpenID_MemcachedStore instance.
Auth_OpenID_MemcachedStore
Auth_OpenID_MemcachedStore in MemcachedStore.php
This is a memcached-based store for OpenID associations and nonces.
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.
Auth_OpenID_Message
Auth_OpenID_mkNonce
Auth_OpenID_MySQLStore
Auth_OpenID_MySQLStore in MySQLStore.php
An SQL store that uses MySQL as its backend.
Auth_OpenID_NamespaceMap
Maintains a bijective map between namespace uris and aliases.
Auth_OpenID_NamespaceMap
Auth_OpenID_Nonce_CHRS
This is the characters that the nonces are made from.
Auth_OpenID_Nonce_REGEX
Auth_OpenID_Nonce_TIME_FMT
Auth_OpenID_NoReturnToError
Auth_OpenID_NoReturnToError
Error returned by the server code when a return_to is absent from a request.
Auth_OpenID_NO_DEFAULT
Auth_OpenID_NO_DEFAULT in Message.php
Auth_OpenID_NULL_NAMESPACE
Auth_OpenID_OPENID1_NS
Auth_OpenID_OPENID1_NS in Message.php
Auth_OpenID_OPENID1_URL_LIMIT
Auth_OpenID_OPENID2_NS
Auth_OpenID_OPENID2_NS in Message.php
Auth_OpenID_OpenIDStore
Auth_OpenID_OpenIDStore in Interface.php
This is the interface for the store objects the OpenID library
Auth_OpenID_OPENID_NS
Auth_OpenID_OPENID_NS in Message.php
Auth_OpenID_PAPE_NS_URI
Auth_OpenID_PAPE_Request
A Provider Authentication Policy request, sent from a relying party to a provider
Auth_OpenID_PAPE_Request
Auth_OpenID_PAPE_Response
Auth_OpenID_PAPE_Response
A Provider Authentication Policy response, sent from a provider to
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.
Auth_OpenID_PlainTextConsumerSession
A class implementing plaintext consumer sessions.
Auth_OpenID_PlainTextServerSession
A class implementing plaintext server sessions.
Auth_OpenID_PostgreSQLStore
Auth_OpenID_PostgreSQLStore in PostgreSQLStore.php
An SQL store that uses PostgreSQL as its backend.
Auth_OpenID_punct
Auth_OpenID_punct in OpenID.php
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.
Auth_OpenID_registerNamespaceAlias
Registers a (namespace URI, alias) mapping in a global namespace
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.
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.
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_Request
Auth_OpenID_Request in Server.php
The base class for all server request classes.
Auth_OpenID_Server
Auth_OpenID_Server in Server.php
I handle requests for an OpenID server.
Auth_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_ServerErrorContainer
Auth_OpenID_ServerRequest
Auth_OpenID_ServerRequest in ServerRequest.php
Object that holds the state of a request to the OpenID server
Auth_OpenID_ServerRequest
Auth_OpenID_ServerResponse
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
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.
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_SetupNeededResponse
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.
Auth_OpenID_Signatory
Create a new signatory using a given store.
Auth_OpenID_Signatory
Auth_OpenID_Signatory in Server.php
Responsible for the signature of query data and the verification of OpenID signature values.
Auth_OpenID_SigningEncoder
Auth_OpenID_SigningEncoder
An encoder which also takes care of signing fields when required.
Auth_OpenID_splitNonce
Auth_OpenID_SQLiteStore
Auth_OpenID_SQLiteStore in SQLiteStore.php
An SQL store that uses SQLite as its backend.
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.
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.
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
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_SREG_NS_URI
Auth_OpenID_SREG_NS_URI_1_0
Auth_OpenID_SREG_NS_URI_1_1
Auth_OpenID_SREG_URI
Auth_OpenID_SREG_URI in Message.php
Auth_OpenID_SUCCESS
Auth_OpenID_SUCCESS in Consumer.php
This is the status code returned when the complete method returns successfully.
Auth_OpenID_SuccessResponse
A response with a status of Auth_OpenID_SUCCESS. Indicates that
Auth_OpenID_supportsSReg
Does the given endpoint advertise support for simple registration?
Auth_OpenID_THE_OTHER_OPENID1_NS
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_UntrustedReturnURL
Auth_OpenID_VERSION
Auth_OpenID_VERSION in OpenID.php
The library version string
Auth_OpenID_WebResponse
Auth_OpenID_WebResponse
A web-capable response object which you can use to generate a user-agent response.
Auth_Yadis_CONTENT_TYPE
XRDS (yadis) content type
Auth_Yadis_Discovery
Initialize a discovery object.
Auth_Yadis_Discovery
Auth_Yadis_Discovery in Manager.php
State management for discovery.
Auth_Yadis_DiscoveryResult
Auth_Yadis_DiscoveryResult
Contains the result of performing Yadis discovery on a URI.
Auth_Yadis_dom
Auth_Yadis_dom
Auth_Yadis_dom in XML.php
This concrete implementation of Auth_Yadis_XMLParser implements
Auth_Yadis_domxml
Auth_Yadis_domxml
This concrete implementation of Auth_Yadis_XMLParser implements
Auth_Yadis_getNSMap
Auth_Yadis_getServiceEndpoints
Perform the Yadis protocol on the input URL and return an iterable of resulting endpoint objects.
Auth_Yadis_getSupportedExtensions
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_HEADER_NAME
Yadis header
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.
Auth_Yadis_ManagerLoader
A concrete loader implementation for Auth_Yadis_Managers.
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.
Auth_Yadis_Service
Auth_Yadis_Service in XRDS.php
This class represents a <Service> element in an XRDS document.
Auth_Yadis_Service
Creates an empty service object.
Auth_Yadis_SessionLoader
A session helper class designed to translate between arrays and
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_XMLNS_XRDS
XRDS XML namespace
Auth_Yadis_XMLNS_XRD_2_0
XRD XML namespace
Auth_Yadis_XMLParser
The base class for wrappers for available PHP XML-parsing
Auth_Yadis_XRDS
Auth_Yadis_XRDS in XRDS.php
This class performs parsing of XRDS documents.
Auth_Yadis_XRDS
Instantiate a Auth_Yadis_XRDS object. Requires an XPath instance which has been used to parse a valid XRDS document.
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.
autoCommit
Sets auto-commit mode on this database connection.
b
top
$body
begin
Auth_OpenID_DatabaseConnection::begin() in DatabaseConnection.php
Starts a transaction on this connection, if supported.
begin
Start the OpenID authentication process. See steps 1-2 in the overview at the top of this file.
beginWithoutDiscovery
Start OpenID verification without doing OpenID server
blobDecode
blobEncode
build
Initialize an empty simple registration request.
c
top
$code
$content_type
Consumer.php
Consumer.php in Consumer.php
check
check
clean
cleanup
Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists.
cleanup
cleanupAssociations
cleanupAssociations
cleanupAssociations
cleanupNonces
cleanupNonces
cleanupNonces
commit
Commits a transaction on this connection, if supported.
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.
contains
Was this field in the request?
contains
Returns true if the specified value has a key in the mapping; false if not.
contains
contains
Is the given type URI present in this fetch_request?
content
content
Return the textual content of a specified node.
content
contents
Return the contents of the session in array form.
contents
copy
count
Get the number of responses for a particular attribute in this fetch_response message.
createAssociation
Make a new association.
createTables
create_assoc_table
create_nonce_table
curlPresent
d
top
$dumb_key
DatabaseConnection.php
DatabaseConnection.php in DatabaseConnection.php
DumbStore.php
DumbStore.php in DumbStore.php
decode
Given an HTTP query in an array (key-value pairs), decode it into an Auth_OpenID_Request object.
decodeRequest
Decodes a query args array into the appropriate Auth_OpenID_Request object.
defaultDecoder
del
Deletes a key-value pair from the mapping with the specified key.
del
Remove a key/value pair from the session.
delArg
deserialize
Parse an association as stored by serialize(). This is the inverse of serialize.
destroy
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.
e
top
Extension.php
Extension.php in Extension.php
encode
encode
encodeResponse
Encodes as response in the appropriate format suitable for sending to the user agent.
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.
encodeToKVForm
encodeToURL
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.
encodeToURL
equal
This checks to see if two Auth_OpenID_Association instances represent the same association.
equals
evalXPath
evalXPath
Evaluate an XPath expression and return the resulting node list. This should be overridden by subclasses.
evalXPath
extensionResponse
Extract signed extension data from the server's response.
extractResponse
Take a C{L{SRegRequest}} and a dictionary of simple registration values and create a C{L{SRegResponse}} object containing that data.
extractSecret
extractSecret
f
top
$failed
$FAILURE_MODE
FileStore.php
FileStore.php in FileStore.php
fail
formMarkup
Get html for a form to submit this request to the IDP.
fromKVForm
fromMessage
fromMessage
fromMessage
fromMessage
fromMessage
fromMessage
fromOpenIDArgs
fromOpenIDRequest
Create a simple registration request that contains the fields that were requested in the OpenID request with the given arguments
fromOpenIDRequest
Instantiate a Request object from the arguments in a checkid_*
fromOpenIDRequest
Extract a FetchRequest from an OpenID message
fromPostArgs
fromSuccessResponse
Create an Auth_OpenID_PAPE_Response object from a successful OpenID library response.
fromSuccessResponse
Construct a FetchResponse object from an OpenID library SuccessResponse object.
fromSuccessResponse
Create a C{L{SRegResponse}} object from a successful OpenID
g
top
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.
get
get
Get the list of values for this attribute in the fetch_response.
get
Get a key's value from the session.
getAlias
getAliasedArg
getAll
Run an SQL query with the specified parameters, if any.
getAllowedType
Get a pair of assocation type and session type that are supported.
getArg
getArgs
getAssociation
Given an association handle, get the association from the store, or return a ServerError or null if something goes wrong.
getAssociation
Retrieve an association. If no handle is specified, return the association with the most recent issue time.
getAssociation
getAssociation
This implementation always returns null.
getAssociation
Read association from memcached. If no handle given
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.
getAssociationFilename
Create a unique filename for a given server url and
getAuthKey
This method returns the auth key generated by the constructor.
getCancelURL
getDH
getDisplayIdentifier
Return the display identifier for this response.
getElements
Used to get XML elements from this object's <Service> element.
getExpiresIn
This returns the number of seconds this association is still valid for, or 0 if the association is no longer valid.
getExtensionArgs
Serialize this object into arguments in the attribute exchange namespace
getExtensionArgs
Get the serialized form of this attribute fetch request.
getExtensionArgs
getExtensionArgs
getExtensionArgs
getExtensionArgs
getExtensionArgs
getExtensionArgs
Get the string arguments that should be added to an OpenID message for this extension.
getExtensionArgs
Get a dictionary of unqualified simple registration arguments representing this request.
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.
getKey
getMessage
Produce a Auth_OpenID_Message representing this request.
getNamespaceURI
getNextService
Return the next authentication service for the pair of user_input and session. This function handles fallback.
getOne
Run an SQL query and return the first column of the first row of the result set, if any.
getOpenIDNamespace
getPriority
Returns the "priority" attribute value of this <Service> element, if the attribute is present. Returns null if not.
getRequest
getRequest
getRequiredAttrs
Get the type URIs for all attributes that have been marked as required.
getReturnTo
Get the openid.return_to argument from this response.
getReturnTo
getRow
Run an SQL query and return the first row of the result set, if any.
getSessionClasses
getSigned
getSignedNS
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.
getTypes
Return the URIs in the "Type" elements, if any, of this Service element.
getURIs
Return the URIs in the "URI" elements, if any, of this Service element. The URIs are returned sorted in priority order.
h
top
$hash_func
$hash_func
$hash_func
$hash_func
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.
hasKey
hasReturnTo
Returns the return_to URL for the request which caused this error.
htmlMarkup
Get a complete html document that will autosubmit the request to the IDP.
i
top
$immediate
Whether this request is for immediate mode.
$invalidate_handle
Interface.php
Interface.php in Interface.php
idSelect
init
Initialize an instance of Auth_Yadis_XMLParser with some XML and namespaces. This SHOULD NOT be overridden by subclasses.
invalidate
Invalidate a given association handle.
isA
Returns true if $thing is an Auth_OpenID_Mapping object; false if not.
isAllowed
isDefined
isError
isError
Returns true if $value constitutes a database error; returns false otherwise.
isFailure
isImplicit
isOpenID1
isOpenID1
isOpenID2
isSigned
isXRDS
items
Returns an array of (key, value) pairs in the mapping.
iterAliases
iterAttrs
Iterate over the AttrInfo objects that are contained in this fetch_request.
iteritems
iterNamespaceURIs
iterTypes
k
top
keys
Returns an array of the keys in the mapping.
l
top
len
Returns the "length" of the mapping, or the number of keys.
m
top
$mode
$mode
The mode of this request.
$mode
$mode
$mode
mode: The type of this attribute exchange message. This must be overridden in subclasses.
$mode
$mode
$mode
MemcachedStore.php
MemcachedStore.php in MemcachedStore.php
Message.php
Message.php in Message.php
MySQLStore.php
MySQLStore.php in MySQLStore.php
Manager.php
Manager.php in Manager.php
make
Returns Auth_OpenID_AX_Error on error or an Auth_OpenID_AX_StoreResponse object on success.
make
make
Construct an attribute information object. For parameter details, see the constructor.
matchTypes
n
top
$namespace
The OpenID namespace for this request.
$needs_math
$needs_math
$normalized_uri
$normal_key
$ns_alias
ns_alias: The preferred namespace alias for attribute exchange
$ns_alias
$ns_alias
$ns_alias
$ns_alias
$ns_alias
$ns_uri
$ns_uri
$ns_uri
ns_uri: The namespace to which to add the arguments for this
$ns_uri
Nonce.php
Nonce.php in Nonce.php
needsSigning
newObject
newObject
nextService
Return the next service
o
top
$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.
OpenID.php
OpenID.php in OpenID.php
openid_associate
The callback for 'associate' messages.
openid_check_authentication
The callback for 'check_authentication' messages.
p
top
PAPE.php
PAPE.php in PAPE.php
PostgreSQLStore.php
PostgreSQLStore.php in PostgreSQLStore.php
PAPE_AUTH_MULTI_FACTOR
PAPE_AUTH_MULTI_FACTOR_PHYSICAL
PAPE_AUTH_PHISHING_RESISTANT
PAPE_TIME_VALIDATOR
parseExtensionArgs
Parse the provider authentication policy arguments into the internal state of this object
parseExtensionArgs
parseExtensionArgs
Parse the unqualified simple registration request parameters and add them to this object.
parseExtensionArgs
Parse attribute exchange key/value arguments into this object.
parseExtensionArgs
Set the state of this request to be that expressed in these PAPE arguments
parseExtensionArgs
Given attribute exchange arguments, populate this FetchRequest.
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.
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.
prepareForLoad
prepareForSave
q
top
query
Auth_OpenID_DatabaseConnection::query() in DatabaseConnection.php
Run an SQL query with the specified parameters, if any.
r
top
$request_uri
$responseFactory
$response_text
redirectURL
registerNamespace
registerNamespace
Register a namespace with the XML parser. This should be overridden by subclasses.
registerNamespace
removeAssociation
Remove an association if it exists. Do nothing if it does not.
removeAssociation
Immediately delete association from memcache.
removeAssociation
This method removes the matching association if it's found, and returns whether the association was removed or not.
removeAssociation
removeAssociation
This implementation always returns false.
renderAsForm
requestField
Request the specified field from the OpenID user
requestFields
Add the given list of fields to the request
requiredKeys
requiredKeys
reset
Removes all entries from the store; implementation is optional.
reset
Resets the store by removing all records from the store's tables.
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.
returnToVerified
rollback
Performs a rollback on this connection, if supported.
s
top
$SECRET_LIFETIME
$secret_size
$secret_size
$session_type
$session_type
$session_type
An object that knows how to handle association requests with the Diffie-Hellman session type.
$session_type
$session_type
An object that knows how to handle association requests with no session type.
$session_type
$status
$status
$status
$status
$status
$store
This consumer's store object.
$SUCCESS_MODE
Server.php
Server.php in Server.php
ServerRequest.php
ServerRequest.php in ServerRequest.php
SQLiteStore.php
SQLiteStore.php in SQLiteStore.php
SQLStore.php
SQLStore.php in SQLStore.php
SReg.php
SReg.php in SReg.php
serialize
Convert an association to KV form.
services
Returns a list of service objects which correspond to <Service> elements in the XRDS XML document for this object.
services
Returns the list of service objects as described by the XRDS document, if this yadis object represents a successful Yadis discovery.
SERVICES_YADIS_MATCH_ALL
This match mode means a given service must match ALL filters passed to the Auth_Yadis_XRDS::services() call.
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.
SERVICES_YADIS_MAX_PRIORITY
The priority value used for service elements with no priority specified.
set
Set a session key/value pair.
set
Sets a key-value pair in the mapping. If the key already exists, its value is replaced with the new value.
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.
setArg
setEndpoint
setOpenIDNamespace
setSQL
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.
setValues
Set the values for the given attribute type. This replaces any values that have already been set for this attribute.
setXML
setXML
Set this parser object's XML payload. This should be overridden by subclasses.
setXML
shouldSendRedirect
sign
Given a response, sign the fields in the response's 'signed' list, and insert the signature into the response.
storeAssociation
Store association until its expiration time in memcached.
storeAssociation
This implementation does nothing.
storeAssociation
storeAssociation
Store an association in the association directory.
storeAssociation
This method puts an Association object into storage, retrievable by server URL and handle.
succeeded
Was this response a success response?
supportsCleanup
Report that this storage doesn't support cleanup
supportsCleanup
Report whether this storage supports cleanup
t
top
$trust_root
The trust_root value for this request.
tableExists
toArgs
toFormMarkup
toFormMarkup
toFormMarkup
toHTML
toHTML
toKVForm
toMessage
toMessage
Add the arguments from this extension to the provided message.
toPostArgs
toString
toString
Returns this error message.
toString
toString
toURL
toURLEncoded
trustRootValid
u
top
updateArgs
usedYadisLocation
useNonce
useNonce
Create nonce for server and salt, expiring after $Auth_OpenID_SKEW seconds.
useNonce
Return whether this nonce is present. As a side effect, mark it as no longer present.
useNonce
Called when using a nonce.
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
top
$verifyReturnTo
Return-to verification callback. Default is Auth_OpenID_verifyReturnTo from TrustRoot.php.
values
Returns an array of values in the mapping.
verify
Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request.
w
top
wantsUnlimitedValues
When processing a request for this attribute, the OP should
wereFieldsRequested
Have any simple registration fields been requested?
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.
whichEncoding
x
top
$xrds
$xrds_uri
XML.php
XML.php in XML.php
XRDS.php
XRDS.php in XRDS.php
y
top
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