PHP 클래스 Emarref\Jwt\Algorithm\Hmac

상속: implements Emarref\Jwt\Algorithm\SymmetricInterface
파일 보기 프로젝트 열기: emarref/jwt

공개 메소드들

메소드 설명
__construct ( string $secret )
compute ( string $value ) : string

보호된 메소드들

메소드 설명
getAlgorithm ( ) : string
getSupportedAlgorithms ( ) : array

비공개 메소드들

메소드 설명
ensureSupport ( )

메소드 상세

__construct() 공개 메소드

public __construct ( string $secret )
$secret string

compute() 공개 메소드

public compute ( string $value ) : string
$value string
리턴 string

getAlgorithm() 추상적인 보호된 메소드

abstract protected getAlgorithm ( ) : string
리턴 string

getSupportedAlgorithms() 보호된 메소드

protected getSupportedAlgorithms ( ) : array
리턴 array