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");
(PECL OAuth >= 1.0.0)
OAuthProvider::addRequiredParameter — 添加必需的参数
$req_params
) : bool添加必需的 oauth 提供者参数。
本函数还未编写文档,仅有参数列表。
req_params
必需的参数。
成功时返回 true
, 或者在失败时返回 false
。
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");