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

add a note add a note

User Contributed Notes 1 note

up
0
me at thomashunter dot name
1 year 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