Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: OpenID

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class Auth_OpenID_ServerError

Description

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.

Located in /openid/Auth/OpenID/Server.php (line 148)

Class Auth_OpenID_ServerError
Direct descendents
Class Description
ClassAuth_OpenID_MalformedReturnURL An error indicating that the return_to URL is malformed.
ClassAuth_OpenID_MalformedTrustRoot This error is returned when the trust_root value is malformed.
ClassAuth_OpenID_UntrustedReturnURL An error that indicates that the given return_to is not under the given trust_root.
Method Summary
Method void encodeToKVForm ()
Method void encodeToURL ()
Method void hasReturnTo ()
Method void toString ()
Method void whichEncoding ()
Methods
encodeToKVForm (line 199)

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.

void encodeToKVForm ()
encodeToURL (line 178)

Encodes this error's response as a URL suitable for redirection. If the response has no return_to, another Auth_OpenID_ServerError is returned.

void encodeToURL ()
hasReturnTo (line 162)

Returns the return_to URL for the request which caused this error.

void hasReturnTo ()
toString (line 234)

Returns this error message.

void toString ()

Redefined in descendants as:
whichEncoding (line 211)

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.

void whichEncoding ()

Documentation generated on Mon, 05 Mar 2007 21:21:15 +0000 by phpDocumentor 1.3.1