php8.5
Home/ Manual/ oauth / oauth/ OAuth::setCAPath

OAuth::setCAPath

PHP function Edit on GitHub ✎

(PECL OAuth >= 0.99.8)

Set CA path and info

Description

OAuth::setCAPath([string $ca_path], [string $ca_info]): mixed

Sets the Certificate Authority (CA), both for path and info.

Func

Parameters

ca_path

The CA Path being set.

ca_info

The CA Info being set.

Return Values

Returns true on success, or false if either ca_path or ca_info are considered invalid.

Changelog

VersionDescription
PECL oauth 1.0.0Null

See Also

  • OAuth::getCaPath

Source: reference/oauth/oauth/setcapath.xml · from the official PHP manual (php/doc-en)