\app\service\apiCheckSign

Api验证签名服务实现者 Class CheckSign

Summary

Methods
Properties
Constants
getError()
setError()
setNoNeedCheckSign()
getNoNeedCheckSign()
needCheckSign()
check()
No public properties found
No constants found
No protected methods found
$_error
$_noNeedCheckSign
N/A
No private methods found
No private properties found
N/A

Properties

$_error

$_error : 

Type

$_noNeedCheckSign

$_noNeedCheckSign : 

Type

Methods

getError()

getError() 

setError()

setError(  $error) 

Parameters

$error

setNoNeedCheckSign()

setNoNeedCheckSign(array  $noNeedCheckSign = array()) 

设置无需验证签名的方法名数组

Parameters

array $noNeedCheckSign

getNoNeedCheckSign()

getNoNeedCheckSign() : array

获取无需验证签名的方法名数组

Returns

array

needCheckSign()

needCheckSign(boolean  $noNeedCheckSign = false) : boolean

当前节点是否需要验证签名

Parameters

boolean $noNeedCheckSign

Returns

boolean —

true:需要验证签名,false:不需要验证签名

check()

check() 

验证签名