PHP 7.0.6 Released

OAuthProvider::addRequiredParameter

(PECL OAuth >= 1.0.0)

OAuthProvider::addRequiredParameterAdd required parameters

Description

final public bool OAuthProvider::addRequiredParameter ( string $req_params )

Add required oauth provider parameters.

Warning

This function is currently not documented; only its argument list is available.

Parameters

req_params

The required parameters.

Return Values

Returns TRUE on success or FALSE on failure.

See Also

User Contributed Notes

me at thomashunter dot name
2 years ago
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");
To Top