PHP 클래스 Auth_OpenID_Server

Use this object by calling getOpenIDResponse when you get any request for the server URL.
파일 보기 프로젝트 열기: openid/php-openid 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $store, $op_endpoint = null )
decodeRequest ( $query = null ) Decodes a query args array into the appropriate {@link Auth_OpenID_Request} object.
encodeResponse ( $response ) Encodes as response in the appropriate format suitable for sending to the user agent.
handleRequest ( Auth_OpenID_Request $request ) : Auth_OpenID_ServerResponse Handle a request. Given an {@link Auth_OpenID_Request} object, call the appropriate {@link Auth_OpenID_Server} method to process the request and generate a response.
openid_associate ( $request ) The callback for 'associate' messages.
openid_check_authentication ( $request ) The callback for 'check_authentication' messages.

메소드 상세

__construct() 공개 메소드

public __construct ( $store, $op_endpoint = null )

decodeRequest() 공개 메소드

Decodes a query args array into the appropriate {@link Auth_OpenID_Request} object.
public decodeRequest ( $query = null )

encodeResponse() 공개 메소드

Encodes as response in the appropriate format suitable for sending to the user agent.
public encodeResponse ( $response )

handleRequest() 공개 메소드

Handle a request. Given an {@link Auth_OpenID_Request} object, call the appropriate {@link Auth_OpenID_Server} method to process the request and generate a response.
public handleRequest ( Auth_OpenID_Request $request ) : Auth_OpenID_ServerResponse
$request Auth_OpenID_Request An {@link Auth_OpenID_Request} returned by {@link Auth_OpenID_Server::decodeRequest()}.
리턴 Auth_OpenID_ServerResponse $response A response object capable of generating a user-agent reply.

openid_associate() 공개 메소드

The callback for 'associate' messages.
public openid_associate ( $request )

openid_check_authentication() 공개 메소드

The callback for 'check_authentication' messages.
public openid_check_authentication ( $request )