class DefaultApiSignProvider extends DefaultBaseApiSign

后台用户认证

Traits

AppTrait

Properties

protected Resp $error error from  AppTrait
protected Resp $success success from  AppTrait

Methods

getError()

获取错误

from  AppTrait
bool
setError(string|MessageBag $error)

设置错误

from  AppTrait
getSuccess()

Get success messages;

from  AppTrait
bool
setSuccess(Resp|string $success)

No description

from  AppTrait
static int
timestamp()

默认时间戳

static string
js()

js 计算

bool
check(Request $request)

检测签名

array
except($params)

No description

string
sign(array $params)

获取Sign

Details

in AppTrait at line 30
Resp getError()

获取错误

Return Value

Resp

in AppTrait at line 43
bool setError(string|MessageBag $error)

设置错误

Parameters

string|MessageBag $error error

Return Value

bool

in AppTrait at line 72
Resp getSuccess()

Get success messages;

Return Value

Resp

in AppTrait at line 90
bool setSuccess(Resp|string $success)

No description

Parameters

Resp|string $success 设置的成功信息

Return Value

bool

in DefaultBaseApiSign at line 24
static int timestamp()

默认时间戳

Return Value

int

in DefaultBaseApiSign at line 33
static string js()

js 计算

Return Value

string

in DefaultBaseApiSign at line 71
bool check(Request $request)

检测签名

Parameters

Request $request

Return Value

bool

in DefaultBaseApiSign at line 97
protected array except($params)

No description

Parameters

$params

Return Value

array

at line 17
string sign(array $params)

获取Sign

Parameters

array $params 参数

Return Value

string