index.js
function verifyConfiguration (req, sessionKey, cookie) {
  if (!getSecretBag(req, sessionKey, cookie)) {
    return false
  }

  if (cookie && cookie.signed && !req.secret) {
    return false
  }

  return true
}
function verifyConfiguration (req, sessionKey, cookie) {
  if (!getSecretBag(req, sessionKey, cookie)) {
    return false
  }

  if (cookie && cookie.signed && !req.secret) {
    return false
  }

  return true
}
function verifyConfiguration ( req , sessionKey , cookie ) { if ( ! getSecretBag ( req , sessionKey , cookie ) ) { return false } if ( cookie && cookie . signed && ! req . secret ) { return false } return true }
Verify the configuration against the request.
@private
Verify the configuration against the request .