src/net/sec.js
function token(value) {
		if ( !arguments.length ) return cred.token;
		cred.token = (value && value.length > 0 ? value : undefined);
		return that;
	}
function token(value) {
		if ( !arguments.length ) return cred.token;
		cred.token = (value && value.length > 0 ? value : undefined);
		return that;
	}
function token ( value ) { if ( ! arguments . length ) return cred . token ; cred . token = ( value && value . length > 0 ? value : undefined ) ; return that ; }
Get or set the in-memory security token to use.

@param {String} [value] The value to set, or <code>null</code> to clear.
@returs When used as a getter, the current token value, otherwise this object.
@preserve
Get or set the in - memory security token to use .