API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
Auth_OpenID_CheckIDRequest::answer | ( | $ | allow, |
$ | server_url = null , |
||
$ | identity = null , |
||
$ | claimed_id = null |
||
) |
Respond to this request. Return either an Auth_OpenID_ServerResponse or Auth_OpenID_ServerError.
bool | $allow | Allow this user to claim this identity, and allow the consumer to have this information? |
string | $server_url | DEPRECATED. Passing $op_endpoint to the Auth_OpenID_Server constructor makes this optional. |
When an OpenID 1.x immediate mode request does not succeed, it gets back a URL where the request may be carried out in a not-so-immediate fashion. Pass my URL in here (the fully qualified address of this server's endpoint, i.e. http://example.com/server), and I will use it as a base for the URL for a new request.
Optional for requests where $immediate is false or $allow is true.
string | $identity | The OP-local identifier to answer with. Only for use when the relying party requested identifier selection. |
string | $claimed_id | The claimed identifier to answer with, for use with identifier selection in the case where the claimed identifier and the OP-local identifier differ, i.e. when the claimed_id uses delegation. |
If $identity is provided but this is not, $claimed_id will default to the value of $identity. When answering requests that did not ask for identifier selection, the response $claimed_id will default to that of the request.
This parameter is new in OpenID 2.0.
Références $mode, Auth_OpenID_CheckIDRequest(), Auth_OpenID_mkNonce(), et trustRootValid().
Auth_OpenID_CheckIDRequest::Auth_OpenID_CheckIDRequest | ( | $ | identity, |
$ | return_to, | ||
$ | trust_root = null , |
||
$ | immediate = false , |
||
$ | assoc_handle = null , |
||
$ | server = null , |
||
$ | claimed_id = null |
||
) |
Références $immediate, et $trust_root.
Référencé par answer(), et make().
Auth_OpenID_CheckIDRequest::encodeToURL | ( | $ | server_url | ) |
Auth_OpenID_CheckIDRequest::equals | ( | $ | other | ) |
Auth_OpenID_CheckIDRequest::fromMessage | ( | &$ | message, |
$ | server | ||
) |
Auth_OpenID_CheckIDRequest::getCancelURL | ( | ) |
Auth_OpenID_CheckIDRequest::idSelect | ( | ) |
Auth_OpenID_CheckIDRequest::make | ( | &$ | message, |
$ | identity, | ||
$ | return_to, | ||
$ | trust_root = null , |
||
$ | immediate = false , |
||
$ | assoc_handle = null , |
||
$ | server = null |
||
) |
Références $immediate, $trust_root, Auth_OpenID_TrustRoot::_parse(), et Auth_OpenID_CheckIDRequest().
Référencé par fromMessage().
Auth_OpenID_CheckIDRequest::returnToVerified | ( | ) |
Auth_OpenID_CheckIDRequest::trustRootValid | ( | ) |
Références Auth_OpenID_TrustRoot::_parse(), et Auth_OpenID_TrustRoot::match().
Référencé par answer().
Auth_OpenID_CheckIDRequest::$immediate = false |
Whether this request is for immediate mode.
Référencé par Auth_OpenID_CheckIDRequest(), fromMessage(), et make().
Auth_OpenID_CheckIDRequest::$mode = "checkid_setup" |
The mode of this request.
Réimplémentée à partir de Auth_OpenID_Request.
Référencé par answer(), et fromMessage().
Auth_OpenID_CheckIDRequest::$namespace |
The OpenID namespace for this request. deprecated since version 2.0.2
Auth_OpenID_CheckIDRequest::$trust_root = null |
The trust_root value for this request.
Référencé par Auth_OpenID_CheckIDRequest(), fromMessage(), et make().
Auth_OpenID_CheckIDRequest::$verifyReturnTo = 'Auth_OpenID_verifyReturnTo' |
Return-to verification callback. Default is Auth_OpenID_verifyReturnTo from TrustRoot.php.