PHP Class PhilipBrown\Signature\Guards\CheckTimestamp

Inheritance: implements PhilipBrown\Signature\Guards\Guard
Afficher le fichier Open project: philipbrown/signplz

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

Create a new CheckTimestamp Guard
public __construct ( integer $grace = 600 ) : void
$grace integer
Résultat void

check() public méthode

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
Résultat boolean