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 — Add required parameters
Add required oauth provider parameters.
This function is currently not documented; only its argument list is available.
req_params
The required parameters.
Returns true
on success or false
on failure.
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");