International PHP Conference Munich 2025

OAuth::setCAPath

(PECL OAuth >= 0.99.8)

OAuth::setCAPathSet CA path and info

Description

public OAuth::setCAPath(string $ca_path = ?, string $ca_info = ?): mixed

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

Warning

This function is currently not documented; only its argument list is available.

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

Version Description
PECL oauth 1.0.0 Previously returned null on failure, instead of false.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant