PHP Класс Auth_OpenID_Server

Use this object by calling getOpenIDResponse when you get any request for the server URL.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )