首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

OAuth::setCAPath

(PECL OAuth >= 0.99.8)

OAuth::setCAPath — Set CA path and info

Description

代码语言:javascript
复制
public mixed OAuth::setCAPath ([ string $ca_path [, string $ca_info ]] )

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

1.0.0

Previously returned NULL on failure, instead of FALSE.

See Also

  • OAuth::getCaPath() - Gets CA information

← OAuth::setAuthType

OAuth::setNonce →

代码语言:txt
复制
 ? 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com