JanRain OpenID Library

Auth_OpenID_UntrustedReturnURL extends Auth_OpenID_ServerError
in package

An error that indicates that the given return_to is not under the given trust_root.

Table of Contents

$contact  : null|string
$message  : Auth_OpenID_Message|null
$reference  : null|string
$return_to  : mixed
$text  : null|string
$trust_root  : mixed
__construct()  : mixed
Auth_OpenID_UntrustedReturnURL constructor.
encodeToKVForm()  : mixed
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.
encodeToURL()  : mixed
Encodes this error's response as a URL suitable for redirection. If the response has no return_to, another Auth_OpenID_ServerError is returned.
getReturnTo()  : mixed
hasReturnTo()  : mixed
Returns the return_to URL for the request which caused this error.
toFormMarkup()  : mixed
toHTML()  : mixed
toMessage()  : mixed
toString()  : mixed
Returns this error message.
whichEncoding()  : mixed
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.

Properties

$contact

private null|string $contact

$reference

private null|string $reference

$return_to

private mixed $return_to = ''

$text

private null|string $text

$trust_root

private mixed $trust_root = ''

Methods

__construct()

Auth_OpenID_UntrustedReturnURL constructor.

public __construct(Auth_OpenID_Message|null $message, null|string $return_to, null|string $trust_root) : mixed
Parameters
$message : Auth_OpenID_Message|null
$return_to : null|string
$trust_root : null|string
Return values
mixed

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.

public encodeToKVForm() : mixed
Return values
mixed

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.

public encodeToURL() : mixed
Return values
mixed

getReturnTo()

public getReturnTo() : mixed
Return values
mixed

hasReturnTo()

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

public hasReturnTo() : mixed
Return values
mixed

toFormMarkup()

public toFormMarkup([mixed $form_tag_attrs = null ]) : mixed
Parameters
$form_tag_attrs : mixed = null
Return values
mixed

toHTML()

public toHTML([mixed $form_tag_attrs = null ]) : mixed
Parameters
$form_tag_attrs : mixed = null
Return values
mixed

toMessage()

public toMessage() : mixed
Return values
mixed

toString()

Returns this error message.

public toString() : mixed
Return values
mixed

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.

public whichEncoding() : mixed
Return values
mixed

Search results