CSRFMiddleware
class CSRFMiddleware implements QueryMiddleware (View source)
Adds functionality that checks a request for a token before allowing a mutation to happen. Protects against CSRF attacks
Methods
ExecutionResult|array
process(Schema $schema, string $query, array $context, array $vars, callable $next)
No description