(PECL OAuth >= 0.99.8)
OAuth::setCAPath — Set CA path and info
public OAuth::setCAPath ([ string $ca_path [, string $ca_info ]] ) : mixed
Sets the Certificate Authority (CA), both for path and info.
This function is currently not documented; only its argument list is available.
ca_path
The CA Path being set.
ca_info
The CA Info being set.
Returns true
on success, or false
if either ca_path
or ca_info
are considered invalid.
Version | Description |
---|---|
PECL oauth 1.0.0 | Previously returned null on failure, instead of false . |
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/oauth.setcapath.php