PHP 8.1.0 Beta 1 available for testing

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