(PECL OAuth >= 1.0.0)
OAuthProvider::addRequiredParameter — Add required parameters
$req_params
)Add required oauth provider parameters.
本函数还未编写文档,仅有参数列表。
req_params
The required parameters.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
me at thomashunter dot name (2013-06-06 15:03:05)
This method can be used for adding non-standard parameters required by your application, as well as parameters within the spec.
<?php
$Provider->addRequiredParameter("permissions");
$Provider->addRequiredParameter("oauth_callback");