synchronized String registerHandle ( AbstractAppHandle handle ) { String secret = createSecret ( ) ; secretToPendingApps . put ( secret , handle ) ; return secret ; }
Registers a handle with the server and returns the secret the child app needs to connect back .