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.

 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 150)

Class Auth_OpenID_ServerError
Direct descendents
Class Description
ClassAuth_OpenID_NoReturnToError Error returned by the server code when a return_to is absent from a request.
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 getReturnTo ()
Method void hasReturnTo ()
Method void toFormMarkup ([ $form_tag_attrs = null])
Method void toHTML ([ $form_tag_attrs = null])
Method void toMessage ()
Method void toString ()
Method void whichEncoding ()
Methods
encodeToKVForm (line 204)

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 188)

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 ()
getReturnTo (line 163)
void getReturnTo ()
hasReturnTo (line 178)

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

void hasReturnTo ()
toFormMarkup (line 211)
void toFormMarkup ([ $form_tag_attrs = null])
  • $form_tag_attrs
toHTML (line 217)
void toHTML ([ $form_tag_attrs = null])
  • $form_tag_attrs
toMessage (line 223)
void toMessage ()
toString (line 281)

Returns this error message.

void toString ()

Redefined in descendants as:
whichEncoding (line 249)

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 Sat, 14 Nov 2009 11:18:50 +0000 by phpDocumentor 1.3.1