Tutorial: system.registerExternalConnection

system.registerExternalConnection

This function call will register a unique id and produce a token. The token can be used to broker an external connection

Example

fin.desktop.System.registerExternalConnection("remote-connection-uuid", function() {
    console.log(arguments);
});

/*
 
object comes back with 
    token: "0489EAC5-6404-4F0D-993B-92BB8EAB445D", // this will be unique each time
    uuid: "remote-connection-uuid"

*/