If not provided, client is not authenticated and server might reject the connection depending on configuration.
No type checks performed on the object passed. Deprecated, please, use the auth option instead.
-
auth: {kid: string, d: string} - Authentication details, `kid` is the username, `d` is the user's private key
+
auth: {kid: string, d: string} - Authentication details, `kid` is the username, `d` is the user's private key.
If not provided, client is not authenticated and server might reject the connection depending on configuration.
log: (level: 'error'|'warn'|'info'|'debug', message: string) => void - logging function.
If not provided, default logging is used which writes to the console with logging level info.
@@ -2523,7 +2523,7 @@
auth: {kid: string, d: string} - Authentication details, `kid` is the username, `d` is the user's private key
+ *
auth: {kid: string, d: string} - Authentication details, `kid` is the username, `d` is the user's private key.
* If not provided, client is not authenticated and server might reject the connection depending on configuration.
*
log: (level: 'error'|'warn'|'info'|'debug', message: string) => void - logging function.
* If not provided, default logging is used which writes to the console with logging level info.