PHP 8.1.28 Released!

OAuthProvider::addRequiredParameter

(PECL OAuth >= 1.0.0)

OAuthProvider::addRequiredParameter添加必需的参数

说明

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

添加必需的 oauth 提供者参数。

警告

本函数还未编写文档,仅有参数列表。

参数

req_params

必需的参数。

返回值

成功时返回 true, 或者在失败时返回 false

参见

add a note

User Contributed Notes 1 note

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