You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TAATP/src/AntiCSRFInterface.php

24 lines
431 B

<?php declare(strict_types=1);
namespace BradyMcD\TAATP;
/**
*
*/
interface AntiCSRFInterface
{
public function __construct(
SessionInterface $session,
\Psr\Clock\ClockInterface $clock
);
public function match(): bool;
public function expired(): bool;
public function display();
public function emitStr(): string;
public function generate();
public function regenerate();
}
?>