PHP 클래스 Auth_OpenID_ServerError

파일 보기 프로젝트 열기: openid/php-openid 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $message = null, $text = null, $reference = null, $contact = null )
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.
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.
getReturnTo ( )
hasReturnTo ( ) Returns the return_to URL for the request which caused this error.
toFormMarkup ( $form_tag_attrs = null )
toHTML ( $form_tag_attrs = null )
toMessage ( )
toString ( ) Returns this error message.
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.

메소드 상세

__construct() 공개 메소드

public __construct ( $message = null, $text = null, $reference = null, $contact = null )

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

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

getReturnTo() 공개 메소드

public getReturnTo ( )

hasReturnTo() 공개 메소드

Returns the return_to URL for the request which caused this error.
public hasReturnTo ( )

toFormMarkup() 공개 메소드

public toFormMarkup ( $form_tag_attrs = null )

toHTML() 공개 메소드

public toHTML ( $form_tag_attrs = null )

toMessage() 공개 메소드

public toMessage ( )

toString() 공개 메소드

Returns this error message.
public toString ( )

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