Skip to content
Simon Urbanek edited this page Dec 27, 2018 · 1 revision

RCloud session startup

  1. oc.init - returns oc.init.authenticate() ocap
  2. oc.init.authenticate() (when called by JS) processes authentication tokens, sets mode and calls (and returns result) one of *authenticated.ocaps() or list() depending on the authentication result
  3. unauthenticated.ocaps or authenticated.ocaps generate ocaps - if compute separation is enabled, the first step is to fork off the compute (in .setup.compute via Rserve:::Rserve_fork_compute) and then return the list of ocaps which come from both processes
  4. JS side does ... then calls rcloud.setup.js.installer and compute.init ocaps