OAuthProvider::addRequiredParameter

(PECL OAuth >= 1.0.0)

OAuthProvider::addRequiredParameterAdd required parameters

Description

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

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
-2
me at thomashunter dot name
11 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