You are here

function nodejs_is_valid_service_key in Node.js integration 6

Same name and namespace in other branches
  1. 8 nodejs.module \nodejs_is_valid_service_key()
  2. 7 nodejs.module \nodejs_is_valid_service_key()

Check if the given service key is valid.

1 call to nodejs_is_valid_service_key()
nodejs_message_handler in ./nodejs.module
Menu callback: handles all messages from Node.js server.

File

./nodejs.module, line 393

Code

function nodejs_is_valid_service_key($service_key) {
  return $service_key == variable_get('nodejs_config_serviceKey', '');
}