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
public
ExecutionResult|array
process(Schema $schema, string $query, array $context, array $vars, callable $next)
No description
Details
ExecutionResult|array
process(Schema $schema, string $query, array $context, array $vars, callable $next)
No description