Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Emarref
Jwt
Algorithm
Hmac
PHP Class Emarref\Jwt\Algorithm\Hmac
Inheritance:
implements
Emarref\Jwt\Algorithm\SymmetricInterface
显示文件
Open project: emarref/jwt
Public Methods
Method
Description
__construct
(
string
$secret
)
compute
(
string
$value
) :
string
Protected Methods
Method
Description
getAlgorithm
( ) :
string
getSupportedAlgorithms
( ) :
array
Private Methods
Method
Description
ensureSupport
( )
Method Details
__construct()
public
method
public
__construct
(
string
$secret
)
$secret
string
compute()
public
method
public
compute
(
string
$value
) :
string
$value
string
return
string
getAlgorithm()
abstract
protected
method
abstract
protected
getAlgorithm
( ) :
string
return
string
getSupportedAlgorithms()
protected
method
protected
getSupportedAlgorithms
( ) :
array
return
array