lib/index.js
function middleware(req, res, next) {
  req.security.csrf.exclude = true;
  next();
}
function middleware(req, res, next) {
  req.security.csrf.exclude = true;
  next();
}
function middleware ( req , res , next ) { req . security . csrf . exclude = true ; next ( ) ; }
Default exclusion middleware.

@type {ExpressMiddlware}

@param {Object} req Express' request object.
@param {Object} res Express' response object.
@param {Function} next Express' next middleware callback.
Default exclusion middleware .