Table of Contents
-
$hmacAlg
: string
-
$secret
: mixed
-
algorithm()
: string
-
getSecret()
: mixed
-
setSecret()
: void
-
sign()
: mixed
$hmacAlg
protected
string
$hmacAlg
= 'sha256'
$secret
private
mixed
$secret
algorithm()
public
algorithm() : string
-
inheritDoc
-
Return values
string
—
getSecret()
public
getSecret() : mixed
Return values
mixed
—
setSecret()
public
setSecret(mixed $secret) : void
Parameters
-
$secret
: mixed
-
Return values
void
—
sign()
public
abstract sign(string $header, string $payload) : mixed
Parameters
-
$header
: string
-
-
$payload
: string
-
Return values
mixed
—