\App\MiddlewareOssCallbackMiddleware

OssCallbackMiddleware oss文件上传后回调

Summary

Methods
Properties
Constants
__construct()
process()
checkSign()
getPubKey()
getAuthStr()
No public properties found
No constants found
No protected methods found
$container
$request
N/A
getAuthorization()
getPubKeyUrl()
$config
$client
N/A

Properties

$container

$container : \Psr\Container\ContainerInterface

Type

\Psr\Container\ContainerInterface

$request

$request : \Psr\Http\Message\ServerRequestInterface

Type

\Psr\Http\Message\ServerRequestInterface

$config

$config : \Hyperf\Contract\ConfigInterface

Type

\Hyperf\Contract\ConfigInterface

$client

$client : \App\Middleware\Closure

Type

\App\Middleware\Closure

Methods

__construct()

__construct(\Psr\Container\ContainerInterface  $container, \Psr\Http\Message\ServerRequestInterface  $request) 

Parameters

\Psr\Container\ContainerInterface $container
\Psr\Http\Message\ServerRequestInterface $request

process()

process(\Psr\Http\Message\ServerRequestInterface  $request, \Psr\Http\Server\RequestHandlerInterface  $handler) 

Parameters

\Psr\Http\Message\ServerRequestInterface $request
\Psr\Http\Server\RequestHandlerInterface $handler

checkSign()

checkSign() : boolean

checkSign 验证签名 函数的含义说明 User:YM Date:2020/2/7 Time:下午10:00

Returns

boolean

getPubKey()

getPubKey(  $pubKeyUrl) : boolean|\Psr\Http\Message\ResponseInterface

getPubKey 获取公钥 User:YM Date:2020/2/7 Time:下午9:46

Parameters

$pubKeyUrl

Returns

boolean|\Psr\Http\Message\ResponseInterface

getAuthStr()

getAuthStr() : string

getAuthStr 获取签名字符串 User:YM Date:2020/2/7 Time:下午9:56

Returns

string

getAuthorization()

getAuthorization() : boolean|string

getAuthorization 获取授权信息 User:YM Date:2020/2/7 Time:下午9:13

Returns

boolean|string

getPubKeyUrl()

getPubKeyUrl() : boolean|string

getPubKeyUrl 获取秘钥地址 User:YM Date:2020/2/7 Time:下午9:23

Returns

boolean|string