SYMBOL INDEX (79 symbols across 24 files) FILE: examples/index.php method __construct (line 64) | public function __construct(TokenGeneratorInterface $tokenGenerator) method handle (line 69) | public function handle(ServerRequestInterface $request) : ResponseInterface method __construct (line 104) | public function __construct(RequestHandlerInterface $action, MiddlewareI... method handle (line 110) | public function handle(ServerRequestInterface $request) : ResponseInterface FILE: src/PSR7Csrf/CSRFCheckerMiddleware.php class CSRFCheckerMiddleware (line 21) | final class CSRFCheckerMiddleware implements \Psr\Http\Server\Middleware... method __construct (line 58) | public function __construct( method process (line 76) | public function process( method getSession (line 104) | private function getSession(ServerRequestInterface $request) : Session... FILE: src/PSR7Csrf/Exception/ExceptionInterface.php type ExceptionInterface (line 9) | interface ExceptionInterface extends Throwable FILE: src/PSR7Csrf/Exception/InvalidExpirationTimeException.php class InvalidExpirationTimeException (line 9) | class InvalidExpirationTimeException extends InvalidArgumentException im... method fromInvalidExpirationTime (line 11) | public static function fromInvalidExpirationTime(int $expirationTime) ... FILE: src/PSR7Csrf/Exception/InvalidRequestParameterNameException.php class InvalidRequestParameterNameException (line 9) | class InvalidRequestParameterNameException extends InvalidArgumentExcept... method fromEmptyRequestParameterName (line 11) | public static function fromEmptyRequestParameterName() : self FILE: src/PSR7Csrf/Exception/SessionAttributeNotFoundException.php class SessionAttributeNotFoundException (line 10) | class SessionAttributeNotFoundException extends UnexpectedValueException... method fromAttributeNameAndRequest (line 12) | public static function fromAttributeNameAndRequest(string $attributeNa... FILE: src/PSR7Csrf/Factory.php class Factory (line 15) | final class Factory method createDefaultCSRFCheckerMiddleware (line 23) | public static function createDefaultCSRFCheckerMiddleware( method createDefaultTokenGenerator (line 37) | public static function createDefaultTokenGenerator() : TokenGeneratorI... FILE: src/PSR7Csrf/HttpMethod/IsSafeHttpRequest.php class IsSafeHttpRequest (line 10) | final class IsSafeHttpRequest implements IsSafeHttpRequestInterface method __construct (line 19) | public function __construct(string ...$safeMethods) method fromDefaultSafeMethods (line 24) | public static function fromDefaultSafeMethods() : self method __invoke (line 29) | public function __invoke(RequestInterface $request) : bool FILE: src/PSR7Csrf/HttpMethod/IsSafeHttpRequestInterface.php type IsSafeHttpRequestInterface (line 10) | interface IsSafeHttpRequestInterface method __invoke (line 12) | public function __invoke(RequestInterface $request) : bool; FILE: src/PSR7Csrf/RequestParameter/ExtractCSRFParameter.php class ExtractCSRFParameter (line 10) | final class ExtractCSRFParameter implements ExtractCSRFParameterInterface method __construct (line 17) | public function __construct(string $csrfDataKey) method __invoke (line 26) | public function __invoke(ServerRequestInterface $request) : string method ensureThatTheValueIsAString (line 44) | private function ensureThatTheValueIsAString($value) : string FILE: src/PSR7Csrf/RequestParameter/ExtractCSRFParameterInterface.php type ExtractCSRFParameterInterface (line 9) | interface ExtractCSRFParameterInterface method __invoke (line 11) | public function __invoke(ServerRequestInterface $request) : string; FILE: src/PSR7Csrf/Session/ExtractUniqueKeyFromSession.php class ExtractUniqueKeyFromSession (line 9) | final class ExtractUniqueKeyFromSession implements ExtractUniqueKeyFromS... method __construct (line 18) | public function __construct(string $uniqueIdKey) method __invoke (line 23) | public function __invoke(SessionInterface $session) : string FILE: src/PSR7Csrf/Session/ExtractUniqueKeyFromSessionInterface.php type ExtractUniqueKeyFromSessionInterface (line 9) | interface ExtractUniqueKeyFromSessionInterface method __invoke (line 11) | public function __invoke(SessionInterface $session) : string; FILE: src/PSR7Csrf/TokenGenerator.php class TokenGenerator (line 16) | final class TokenGenerator implements TokenGeneratorInterface method __construct (line 46) | public function __construct( method __invoke (line 62) | public function __invoke(ServerRequestInterface $request) : Token FILE: src/PSR7Csrf/TokenGeneratorInterface.php type TokenGeneratorInterface (line 11) | interface TokenGeneratorInterface method __invoke (line 13) | public function __invoke(ServerRequestInterface $request) : Token; FILE: test/PSR7CsrfTest/CSRFCheckerMiddlewareTest.php class CSRFCheckerMiddlewareTest (line 25) | final class CSRFCheckerMiddlewareTest extends TestCase method setUp (line 90) | protected function setUp() method testWillIgnoreSafeRequestsWithNoNextMiddleware (line 116) | public function testWillIgnoreSafeRequestsWithNoNextMiddleware() method testWillSucceedIfANonSafeRequestIsProvidedWithAValidTokenWithNextMiddleware (line 130) | public function testWillSucceedIfANonSafeRequestIsProvidedWithAValidTo... method testNonMatchingSignedTokensAreRejected (line 169) | public function testNonMatchingSignedTokensAreRejected() method testUnsignedTokensAreRejected (line 199) | public function testUnsignedTokensAreRejected() method testExpiredSignedTokensAreRejected (line 227) | public function testExpiredSignedTokensAreRejected() method testMalformedTokensShouldBeRejected (line 258) | public function testMalformedTokensShouldBeRejected() method testWillFailIfARequestDoesNotIncludeASession (line 283) | public function testWillFailIfARequestDoesNotIncludeASession() method assertFaultyResponse (line 309) | private function assertFaultyResponse() : void FILE: test/PSR7CsrfTest/Exception/InvalidExpirationTimeExceptionTest.php class InvalidExpirationTimeExceptionTest (line 15) | final class InvalidExpirationTimeExceptionTest extends TestCase method testFromInvalidExpirationTime (line 17) | public function testFromInvalidExpirationTime() FILE: test/PSR7CsrfTest/Exception/InvalidRequestParameterNameExceptionTest.php class InvalidRequestParameterNameExceptionTest (line 15) | final class InvalidRequestParameterNameExceptionTest extends TestCase method testFromEmptyRequestParameterName (line 17) | public function testFromEmptyRequestParameterName() FILE: test/PSR7CsrfTest/Exception/SessionAttributeNotFoundExceptionTest.php class SessionAttributeNotFoundExceptionTest (line 16) | final class SessionAttributeNotFoundExceptionTest extends TestCase method testFromInvalidExpirationTime (line 18) | public function testFromInvalidExpirationTime() FILE: test/PSR7CsrfTest/FactoryTest.php class FactoryTest (line 18) | final class FactoryTest extends TestCase method testCreateDefaultCSRFCheckerMiddleware (line 20) | public function testCreateDefaultCSRFCheckerMiddleware() method testCreateDefaultTokenGenerator (line 45) | public function testCreateDefaultTokenGenerator() FILE: test/PSR7CsrfTest/HttpMethod/IsSafeHttpRequestTest.php class IsSafeHttpRequestTest (line 14) | final class IsSafeHttpRequestTest extends TestCase method testSafeMethods (line 23) | public function testSafeMethods(array $safeMethods, string $httpMethod... method httpMethodsProvider (line 33) | public function httpMethodsProvider() : array method testSafeMethodsWithDefaults (line 75) | public function testSafeMethodsWithDefaults(string $httpMethod, bool $... method safeDefaultsMatchingProvider (line 85) | public function safeDefaultsMatchingProvider() : array FILE: test/PSR7CsrfTest/RequestParameter/ExtractCSRFParameterTest.php class ExtractCSRFParameterTest (line 15) | final class ExtractCSRFParameterTest extends TestCase method testRejectsEmptyRequestParameterName (line 17) | public function testRejectsEmptyRequestParameterName() method testExtraction (line 33) | public function testExtraction(string $requestParameter, $body, string... method requestBodyProvider (line 43) | public function requestBodyProvider() FILE: test/PSR7CsrfTest/Session/ExtractUniqueKeyFromSessionTest.php class ExtractUniqueKeyFromSessionTest (line 14) | final class ExtractUniqueKeyFromSessionTest extends TestCase method testExtractionWithExistingKey (line 21) | public function testExtractionWithExistingKey(string $key) method testExtractionWithEmptyExistingKey (line 38) | public function testExtractionWithEmptyExistingKey(string $key) method testExtractionWithNonStringExistingKey (line 72) | public function testExtractionWithNonStringExistingKey(string $key) method keysProvider (line 101) | public function keysProvider() : array FILE: test/PSR7CsrfTest/TokenGeneratorTest.php class TokenGeneratorTest (line 21) | final class TokenGeneratorTest extends TestCase method testWillRejectInvalidExpirationTime (line 29) | public function testWillRejectInvalidExpirationTime(int $invalidExpira... method invalidExpirationTimeProvider (line 46) | public function invalidExpirationTimeProvider() : array method testWillGenerateAValidJWTToken (line 62) | public function testWillGenerateAValidJWTToken(int $validExpirationTime) method validExpirationTimeProvider (line 86) | public function validExpirationTimeProvider() : array method testWillFailIfTheSessionAttributeIsNotASession (line 94) | public function testWillFailIfTheSessionAttributeIsNotASession()