TYPO3 CMS  TYPO3_6-2
Auth_OpenID_ServerError Class Reference
Inheritance diagram for Auth_OpenID_ServerError:
Auth_OpenID_MalformedReturnURL Auth_OpenID_MalformedTrustRoot Auth_OpenID_NoReturnToError Auth_OpenID_UntrustedReturnURL

Public Member Functions

 Auth_OpenID_ServerError ($message=null, $text=null, $reference=null, $contact=null)
 
 getReturnTo ()
 
 hasReturnTo ()
 
 encodeToURL ()
 
 encodeToKVForm ()
 
 toFormMarkup ($form_tag_attrs=null)
 
 toHTML ($form_tag_attrs=null)
 
 toMessage ()
 
 whichEncoding ()
 
 toString ()
 

Detailed Description

Definition at line 147 of file Server.php.

Member Function Documentation

◆ Auth_OpenID_ServerError()

◆ encodeToKVForm()

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().

◆ encodeToURL()

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(), and Auth_OpenID_ServerResponse\whichEncoding().

◆ getReturnTo()

Auth_OpenID_ServerError::getReturnTo ( )

Definition at line 160 of file Server.php.

References Auth_OpenID_OPENID_NS.

Referenced by encodeToURL(), hasReturnTo(), and toFormMarkup().

◆ hasReturnTo()

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().

◆ toFormMarkup()

Auth_OpenID_ServerError::toFormMarkup (   $form_tag_attrs = null)

Definition at line 208 of file Server.php.

References getReturnTo(), and toMessage().

Referenced by toHTML(), and Auth_OpenID_ServerResponse\toHTML().

◆ toHTML()

Auth_OpenID_ServerError::toHTML (   $form_tag_attrs = null)

Definition at line 214 of file Server.php.

References Auth_OpenID\autoSubmitHTML(), and toFormMarkup().

◆ toMessage()

Auth_OpenID_ServerError::toMessage ( )

Definition at line 220 of file Server.php.

References Auth_OpenID_OPENID_NS, and toString().

Referenced by encodeToURL(), and toFormMarkup().

◆ toString()

Auth_OpenID_ServerError::toString ( )

Returns this error message.

Definition at line 278 of file Server.php.

Referenced by encodeToKVForm(), and toMessage().

◆ whichEncoding()

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().

Referenced by Auth_OpenID_ServerResponse\renderAsForm().