20 lines
292 B
PHP
20 lines
292 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Lcobucci\JWT\Signer\Hmac;
|
||
|
|
||
|
use Lcobucci\JWT\Signer\Hmac;
|
||
|
|
||
|
final class Sha256 extends Hmac
|
||
|
{
|
||
|
public function algorithmId(): string
|
||
|
{
|
||
|
return 'HS256';
|
||
|
}
|
||
|
|
||
|
public function algorithm(): string
|
||
|
{
|
||
|
return 'sha256';
|
||
|
}
|
||
|
}
|