ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
Auth_OpenID_ServerError ($message=null, $text=null, $reference=null, $contact=null) | |
private | |
getReturnTo () | |
hasReturnTo () | |
Returns the return_to URL for the request which caused this error. | |
encodeToURL () | |
Encodes this error's response as a URL suitable for redirection. | |
encodeToKVForm () | |
Encodes the response to key-value form. | |
toFormMarkup ($form_tag_attrs=null) | |
toHTML ($form_tag_attrs=null) | |
toMessage () | |
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. | |
toString () | |
Returns this error message. |
Definition at line 147 of file Server.php.
Auth_OpenID_ServerError::Auth_OpenID_ServerError | ( | $message = null , |
|
$text = null , |
|||
$reference = null , |
|||
$contact = null |
|||
) |
private
Definition at line 151 of file Server.php.
Referenced by Auth_OpenID_MalformedReturnURL\Auth_OpenID_MalformedReturnURL(), Auth_OpenID_MalformedTrustRoot\Auth_OpenID_MalformedTrustRoot(), Auth_OpenID_NoReturnToError\Auth_OpenID_NoReturnToError(), and Auth_OpenID_UntrustedReturnURL\Auth_OpenID_UntrustedReturnURL().
Auth_OpenID_ServerError::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.
Definition at line 201 of file Server.php.
References Auth_OpenID_KVForm\fromArray(), and toString().
Auth_OpenID_ServerError::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.
Definition at line 185 of file Server.php.
References getReturnTo(), and toMessage().
Referenced by whichEncoding().
Auth_OpenID_ServerError::getReturnTo | ( | ) |
Definition at line 160 of file Server.php.
References Auth_OpenID_OPENID_NS.
Referenced by encodeToURL(), hasReturnTo(), and toFormMarkup().
Auth_OpenID_ServerError::hasReturnTo | ( | ) |
Returns the return_to URL for the request which caused this error.
Definition at line 175 of file Server.php.
References getReturnTo().
Referenced by whichEncoding().
Auth_OpenID_ServerError::toFormMarkup | ( | $form_tag_attrs = null | ) |
Definition at line 208 of file Server.php.
References getReturnTo(), and toMessage().
Referenced by toHTML().
Auth_OpenID_ServerError::toHTML | ( | $form_tag_attrs = null | ) |
Definition at line 214 of file Server.php.
References Auth_OpenID\autoSubmitHTML(), and toFormMarkup().
Auth_OpenID_ServerError::toMessage | ( | ) |
Definition at line 220 of file Server.php.
References $namespace, Auth_OpenID_OPENID_NS, and toString().
Referenced by encodeToURL(), and toFormMarkup().
Auth_OpenID_ServerError::toString | ( | ) |
Returns this error message.
Reimplemented in Auth_OpenID_UntrustedReturnURL, Auth_OpenID_MalformedTrustRoot, and Auth_OpenID_NoReturnToError.
Definition at line 278 of file Server.php.
Referenced by encodeToKVForm(), and toMessage().
Auth_OpenID_ServerError::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.
Definition at line 246 of file Server.php.
References $_Auth_OpenID_Request_Modes, Auth_OpenID_ENCODE_HTML_FORM, Auth_OpenID_ENCODE_KVFORM, Auth_OpenID_ENCODE_URL, Auth_OpenID_OPENID1_URL_LIMIT, Auth_OpenID_OPENID_NS, encodeToURL(), and hasReturnTo().