stdiscosrv and secure token?

I know that strelaysrv has a token function to restrict access with a secret token. Is there a way to implement this as well with stdiscosrv?

I don’t think so, there’s no inbuilt authentication in the discovery server.