PHP 클래스 PhilipBrown\Signature\Guards\CheckTimestamp

상속: implements PhilipBrown\Signature\Guards\Guard
파일 보기 프로젝트 열기: philipbrown/signplz

공개 메소드들

메소드 설명
__construct ( integer $grace = 600 ) : void Create a new CheckTimestamp Guard
check ( array $auth, array $signature, string $prefix ) : boolean Check to ensure the auth parameters satisfy the rule of the guard

메소드 상세

__construct() 공개 메소드

Create a new CheckTimestamp Guard
public __construct ( integer $grace = 600 ) : void
$grace integer
리턴 void

check() 공개 메소드

Check to ensure the auth parameters satisfy the rule of the guard
public check ( array $auth, array $signature, string $prefix ) : boolean
$auth array
$signature array
$prefix string
리턴 boolean