Метод | Описание | |
---|---|---|
createHash ( string $payload, Lcobucci\JWT\Signer\Key $key ) : string | ||
doVerify ( string $expected, string $payload, Lcobucci\JWT\Signer\Key $key ) : boolean | ||
getAlgorithm ( ) : integer | Returns the algorithm name |
Метод | Описание | |
---|---|---|
validateKey ( resource $key ) | Raise an exception when the key type is not the expected type |
public createHash ( string $payload, Lcobucci\JWT\Signer\Key $key ) : string | ||
$payload | string | |
$key | Lcobucci\JWT\Signer\Key | |
Результат | string |
abstract public getAlgorithm ( ) : integer | ||
Результат | integer |