Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Larabros
Elogram
Http
Middleware
SecureRequestMiddleware
PHP Class Larabros\Elogram\Http\Middleware\SecureRequestMiddleware
See link:
https://github.com/larabros/elogram
Author:
Hassan Khan (
[email protected]
)
Inheritance:
extends
AbstractMiddleware
,
use trait
CreateMiddlewareTrait
,
use trait
Larabros\Elogram\Http\UrlParserTrait
Datei anzeigen
Open project: larabros/elogram
Public Methods
Method
Description
__invoke
(
Psr\Http\Message\RequestInterface
$request
,
array
$options
)
{@inheritDoc}
Protected Methods
Method
Description
generateSig
(
string
$endpoint
,
array
$params
,
string
$secret
) :
string
Generates a
sig
value for a request.
Method Details
__invoke()
public
method
{@inheritDoc}
public
__invoke
(
Psr\Http\Message\RequestInterface
$request
,
array
$options
)
$request
Psr\Http\Message\RequestInterface
$options
array
generateSig()
protected
method
Generates a
sig
value for a request.
protected
generateSig
(
string
$endpoint
,
array
$params
,
string
$secret
) :
string
$endpoint
string
$params
array
$secret
string
return
string